diff options
author | Marco A Vital Yep <mvital@codeaurora.org> | 2010-10-25 12:57:27 -0700 |
---|---|---|
committer | Marco A Vital Yep <mvital@codeaurora.org> | 2010-10-25 12:58:32 -0700 |
commit | 8a61586c0c2f315ae7de4fbfefe2dbbed7a5ed82 (patch) | |
tree | 2d262f7afb89701c7396e69a047a7a7cb2fd1acf | |
parent | 30fdd981209108ac87f0e313eedabcd7a2ac0698 (diff) | |
download | bionic-8a61586c0c2f315ae7de4fbfefe2dbbed7a5ed82.zip bionic-8a61586c0c2f315ae7de4fbfefe2dbbed7a5ed82.tar.gz bionic-8a61586c0c2f315ae7de4fbfefe2dbbed7a5ed82.tar.bz2 |
bionic: vidc: Fix for extradata enumeration
Fix to align extradata enumeration with driver and propagate
picture type data to client.
Change-Id: I1a15fb4c74a60fbe6c87749636522ef41a99a3f8
CRs-fixed: 258603
-rwxr-xr-x | libc/kernel/common/linux/msm_vidc_dec.h | 11 |
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; |