summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGopikrishnaiah Anandan <gopikr@codeaurora.org>2010-08-09 15:50:25 -0700
committerGopikrishnaiah Anandan <gopikr@codeaurora.org>2010-08-12 16:31:49 -0700
commit50ba036b4b1b820397e9426130476a0087faf66f (patch)
treeec175d03aaff8c02783805b140913315eb5f3398
parentac51a6183c4388dab525a5f943fce571ab8bf697 (diff)
downloadbionic-50ba036b4b1b820397e9426130476a0087faf66f.zip
bionic-50ba036b4b1b820397e9426130476a0087faf66f.tar.gz
bionic-50ba036b4b1b820397e9426130476a0087faf66f.tar.bz2
bionic: Added support for NV12_2K aligned.
8660 driver supports NV12 2K aligned format. Added support for NV12 2K format. Change-Id: Ide41057acc446fe21eb81d5680548eda648d83e1
-rw-r--r--libc/kernel/common/linux/msm_vidc_enc.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/libc/kernel/common/linux/msm_vidc_enc.h b/libc/kernel/common/linux/msm_vidc_enc.h
index 9de4953..e5b8d8a 100644
--- a/libc/kernel/common/linux/msm_vidc_enc.h
+++ b/libc/kernel/common/linux/msm_vidc_enc.h
@@ -74,35 +74,35 @@
#define VEN_PROFILE_H264_HIGH 5
#define VEN_PROFILE_H263_BASELINE 6
-#define VEN_LEVEL_MPEG4_0 0x1
-#define VEN_LEVEL_MPEG4_1 0x2
-#define VEN_LEVEL_MPEG4_2 0x3
-#define VEN_LEVEL_MPEG4_3 0x4
-#define VEN_LEVEL_MPEG4_4 0x5
-#define VEN_LEVEL_MPEG4_5 0x6
-#define VEN_LEVEL_MPEG4_3b 0x7
-#define VEN_LEVEL_MPEG4_6 0x8
-
-#define VEN_LEVEL_H264_1 0x9
-#define VEN_LEVEL_H264_1b 0xA
-#define VEN_LEVEL_H264_1p1 0xB
-#define VEN_LEVEL_H264_1p2 0xC
-#define VEN_LEVEL_H264_1p3 0xD
-#define VEN_LEVEL_H264_2 0xE
-#define VEN_LEVEL_H264_2p1 0xF
-#define VEN_LEVEL_H264_2p2 0x10
-#define VEN_LEVEL_H264_3 0x11
-#define VEN_LEVEL_H264_3p1 0x12
-#define VEN_LEVEL_H264_4 0x13
-
-#define VEN_LEVEL_H263_10 0x14
-#define VEN_LEVEL_H263_20 0x15
-#define VEN_LEVEL_H263_30 0x16
-#define VEN_LEVEL_H263_40 0x17
-#define VEN_LEVEL_H263_45 0x18
-#define VEN_LEVEL_H263_50 0x19
-#define VEN_LEVEL_H263_60 0x1A
-#define VEN_LEVEL_H263_70 0x1B
+#define VEN_LEVEL_MPEG4_0 0x1
+#define VEN_LEVEL_MPEG4_1 0x2
+#define VEN_LEVEL_MPEG4_2 0x3
+#define VEN_LEVEL_MPEG4_3 0x4
+#define VEN_LEVEL_MPEG4_4 0x5
+#define VEN_LEVEL_MPEG4_5 0x6
+#define VEN_LEVEL_MPEG4_3b 0x7
+#define VEN_LEVEL_MPEG4_6 0x8
+
+#define VEN_LEVEL_H264_1 0x9
+#define VEN_LEVEL_H264_1b 0xA
+#define VEN_LEVEL_H264_1p1 0xB
+#define VEN_LEVEL_H264_1p2 0xC
+#define VEN_LEVEL_H264_1p3 0xD
+#define VEN_LEVEL_H264_2 0xE
+#define VEN_LEVEL_H264_2p1 0xF
+#define VEN_LEVEL_H264_2p2 0x10
+#define VEN_LEVEL_H264_3 0x11
+#define VEN_LEVEL_H264_3p1 0x12
+#define VEN_LEVEL_H264_4 0x13
+
+#define VEN_LEVEL_H263_10 0x14
+#define VEN_LEVEL_H263_20 0x15
+#define VEN_LEVEL_H263_30 0x16
+#define VEN_LEVEL_H263_40 0x17
+#define VEN_LEVEL_H263_45 0x18
+#define VEN_LEVEL_H263_50 0x19
+#define VEN_LEVEL_H263_60 0x1A
+#define VEN_LEVEL_H263_70 0x1B
#define VEN_ENTROPY_MODEL_CAVLC 1
#define VEN_ENTROPY_MODEL_CABAC 2
@@ -131,6 +131,7 @@
#define VEN_INPUTFMT_NV12 1
#define VEN_INPUTFMT_NV21 2
+#define VEN_INPUTFMT_NV12_16M2KA 3
#define VEN_ROTATION_0 1
#define VEN_ROTATION_90 2
@@ -400,4 +401,3 @@ struct venc_msg{
unsigned long msgdata_size;
};
#endif
-