diff options
author | Marco A Vital Yep <mvital@codeaurora.org> | 2010-10-25 12:57:27 -0700 |
---|---|---|
committer | Dominic Binks <dbinks@codeaurora.org> | 2010-11-11 11:22:59 -0800 |
commit | 4708593a94d9618566d495eeffc2f8dfe7adbcd4 (patch) | |
tree | 030ea036f39d7a48f7bb1aa9ef534e85adb388eb | |
parent | a540a151bdb6ef8d1b1308e94e118b469633c1d0 (diff) | |
download | bionic-M8660AAABQNLYA1057.zip bionic-M8660AAABQNLYA1057.tar.gz bionic-M8660AAABQNLYA1057.tar.bz2 |
bionic: vidc: Fix for extradata enumerationM8660AAABQNLYA1057
Fix to align extradata enumeration with driver and propagate
picture type data to client.
Change-Id: Ib85dce2db2bb78861bcd73de57123d8ae2569e85
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; |