summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco A Vital Yep <mvital@codeaurora.org>2010-10-25 12:57:27 -0700
committerJessica Gonzalez <jgaona@codeaurora.org>2010-11-09 12:56:25 -0800
commitd48b697a130055571bba1a9996d9be8756187ebd (patch)
tree1266590597c861645166a02d355ef908edbd0099
parenta4be11514623d67b19794954d93ea4e9613ccfc9 (diff)
downloadbionic-d48b697a130055571bba1a9996d9be8756187ebd.zip
bionic-d48b697a130055571bba1a9996d9be8756187ebd.tar.gz
bionic-d48b697a130055571bba1a9996d9be8756187ebd.tar.bz2
Fix to align extradata enumeration with driver and propagate picture type data to client. Change-Id: I3a44827f6983de84a9d8e93a651fc6bbc67a254a CRs-fixed: 258603
-rwxr-xr-xlibc/kernel/common/linux/msm_vidc_dec.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/kernel/common/linux/msm_vidc_dec.h b/libc/kernel/common/linux/msm_vidc_dec.h
index 29e0f28..c33cc80 100755
--- a/libc/kernel/common/linux/msm_vidc_dec.h
+++ b/libc/kernel/common/linux/msm_vidc_dec.h
@@ -72,10 +72,12 @@
#define VDEC_BUFFERFLAG_EXTRADATA 0x00000040
#define VDEC_BUFFERFLAG_CODECCONFIG 0x00000080
-#define VDEC_EXTRADATA_QP 0x00000001
-#define VDEC_EXTRADATA_SEI 0x00000002
-#define VDEC_EXTRADATA_VUI 0x00000004
-#define VDEC_EXTRADATA_MB_ERROR_MAP 0x00000008
+#define VDEC_EXTRADATA_NONE 0x001
+#define VDEC_EXTRADATA_QP 0x004
+#define VDEC_EXTRADATA_MB_ERROR_MAP 0x008
+#define VDEC_EXTRADATA_SEI 0x010
+#define VDEC_EXTRADATA_VUI 0x020
+#define VDEC_EXTRADATA_VC1 0x040
#define VDEC_CMDBASE 0x800
#define VDEC_CMD_SET_INTF_VERSION (VDEC_CMDBASE)
@@ -448,6 +450,7 @@ struct vdec_output_frameinfo {
size_t len;
uint32_t flags;
int64_t time_stamp;
+ enum vdec_picture pic_type;
void *client_data;
void *input_frame_clientdata;
struct vdec_framesize framesize;