diff options
author | Marco A Vital Yep <mvital@codeaurora.org> | 2010-10-25 12:57:27 -0700 |
---|---|---|
committer | Jessica Gonzalez <jgaona@codeaurora.org> | 2010-11-09 12:56:25 -0800 |
commit | d48b697a130055571bba1a9996d9be8756187ebd (patch) | |
tree | 1266590597c861645166a02d355ef908edbd0099 | |
parent | a4be11514623d67b19794954d93ea4e9613ccfc9 (diff) | |
download | bionic-M7630AABBQVLZA303501.zip bionic-M7630AABBQVLZA303501.tar.gz bionic-M7630AABBQVLZA303501.tar.bz2 |
bionic: vidc: Fix for extradata enumerationM7630AABBQVLZA303520M7630AABBQVLZA30350310M7630AABBQVLZA303503M7630AABBQVLZA30350101M7630AABBQVLZA303501M7630AABBQMLZA203004M7630AABBQMLZA203003M7630AABBQMLZA203002
Fix to align extradata enumeration with driver and propagate
picture type data to client.
Change-Id: I3a44827f6983de84a9d8e93a651fc6bbc67a254a
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; |