From 8a61586c0c2f315ae7de4fbfefe2dbbed7a5ed82 Mon Sep 17 00:00:00 2001 From: Marco A Vital Yep Date: Mon, 25 Oct 2010 12:57:27 -0700 Subject: 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 --- libc/kernel/common/linux/msm_vidc_dec.h | 11 +++++++---- 1 file 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; -- cgit v1.1