--- a/mdfdevvideoextensions/nga_mdf_postprocessor/inc/common.h Wed Apr 14 17:32:53 2010 +0300
+++ b/mdfdevvideoextensions/nga_mdf_postprocessor/inc/common.h Tue Apr 27 18:12:22 2010 +0300
@@ -55,6 +55,31 @@
#define mIsSuccess(code) ((code)>=0)
#define mIsFailure(code) ((code)<0)
+/* These define the srcImageFormats */
+#define EYuv420Chroma1_Planar 0x01
+#define EYuv420Chroma2_Planar 0x02
+#define EYuv420Chroma3_Planar 0x03
+#define EYuv422Chroma1_LE 0x04
+#define EYuv422Chroma2_LE 0x05
+#define EYuv422Chroma1_BE 0x06
+#define EYuv422Chroma2_BE 0x07
+
+/* These define the dstImageFormats */
+#define EBitmapColor4k_DitherOrdered 0x01
+#define EBitmapColor4k_DitherErrDiff 0x02
+#define EBitmapColor64k_DitherOrdered 0x03
+#define EBitmapColor64k_DitherErrDiff 0x04
+#define EBitmapColor16M 0x05
+#define EBitmapColor16MU 0x06
+
+/* These define the various color conversion schemes */
+#define EITU601_5_FULLRANGE 0X01
+#define EITU601_5_REDUCEDRANGE 0X02
+#define EB709_FULLRANGE 0X03
+#define EB709_REDUCEDRANGE 0X04
+
+#define COLOR_CONV_PRECISION 14
+#define COLOR_CONV_ROUND 8192
/* This is the data structure for the output video frame buffer */
typedef struct BaseVideoFrame
{
@@ -69,4 +94,13 @@
typedef enum {YUV422INT_LE, YUV422INT_BE} EBufferLayout422;
+/* Crop window structure */
+typedef struct WndParam
+{
+ uint16 xOffset;
+ uint16 yOffset;
+ uint32 wndWidth;
+ uint32 wndHeight;
+}tWndParam;
+
#endif /* INCLUDE_COMMON */