[Y2R] SetOutputFormat

This commit is contained in:
wheremyfoodat 2023-04-24 01:37:49 +03:00
parent ba8a610e7b
commit 6c2cfaaa22
2 changed files with 26 additions and 0 deletions

View file

@ -30,7 +30,15 @@ class Y2RService {
YUV422_Batch = 4,
};
enum class OutputFormat : u32 {
RGB32 = 0,
RGB24 = 1,
RGB15 = 2,
RGB565 = 3
};
InputFormat inputFmt;
OutputFormat outputFmt;
// Service commands
void driverInitialize(u32 messagePointer);
@ -39,6 +47,7 @@ class Y2RService {
void setTransferEndInterrupt(u32 messagePointer);
void getTransferEndEvent(u32 messagePointer);
void setInputFormat(u32 messagePointer);
void setOutputFormat(u32 messagePointer);
void stopConversion(u32 messagePointer);
public: