diff options
author | Rajesh Sastrula <vrajesh@quicinc.com> | 2010-02-03 12:47:04 -0800 |
---|---|---|
committer | Rajesh Sastrula <vrajesh@quicinc.com> | 2010-02-03 12:47:04 -0800 |
commit | 151016edece0d6b5d8b09514abe80f9148588838 (patch) | |
tree | 06a83a47ebabd8587678b92a5960e2017c6267d4 | |
parent | 3355c75947958edcdfb8889e249020e7aeae9e76 (diff) | |
download | bionic-151016edece0d6b5d8b09514abe80f9148588838.zip bionic-151016edece0d6b5d8b09514abe80f9148588838.tar.gz bionic-151016edece0d6b5d8b09514abe80f9148588838.tar.bz2 |
8x50: vdec: Implement new Scorpion/QDSP6 interface
Minor version updates from version 0 to version 1.
-rw-r--r-- | libc/kernel/common/linux/msm_q6vdec.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/libc/kernel/common/linux/msm_q6vdec.h b/libc/kernel/common/linux/msm_q6vdec.h index 1a3626a..ebcfc1b 100644 --- a/libc/kernel/common/linux/msm_q6vdec.h +++ b/libc/kernel/common/linux/msm_q6vdec.h @@ -57,7 +57,9 @@ enum { VDEC_BUFFER_TYPE_OUTPUT, VDEC_BUFFER_TYPE_INTERNAL1, VDEC_BUFFER_TYPE_INTERNAL2, - VDEC_BUFFER_TYPE_INTERNAL + VDEC_BUFFER_TYPE_INTERNAL = VDEC_BUFFER_TYPE_INTERNAL1, + VDEC_BUFFER_TYPE_LUMA, + VDEC_BUFFER_TYPE_CHROMA }; enum { @@ -73,9 +75,15 @@ enum { VDEC_PROPERTY_DIMENSION, VDEC_PROPERTY_CWIN, VDEC_PROPERTY_INPUT_BUF_REQ, - VDEC_PROPERTY_OUTPUT_BUF_REQ + VDEC_PROPERTY_OUTPUT_BUF_REQ, + VDEC_LUMA_CHROMA_STRIDE }; +enum{ + VDEC_COLOR_FORMAT_NV21 = 0x01, + VDEC_COLOR_FORMAT_NV21_YAMOTO = 0x02 + }; + struct vdec_input_buf_info { u32 offset; u32 data; @@ -164,6 +172,11 @@ struct vdec_rectangle { u32 height; }; +struct vdec_stridetype { + u32 luma; + u32 chroma; +}; + struct vdec_frame_info { u32 status; u32 offset; @@ -190,6 +203,9 @@ struct vdec_frame_info { u32 flags; u32 performance_stats; u32 data3; + u32 chroma_addr; + struct vdec_stridetype stride; + u32 reserved; }; struct vdec_buf_info { @@ -295,6 +311,7 @@ union vdec_property { struct vdec_cropping_window cwin; struct vdec_buf_desc input; struct vdec_buf_desc output; + struct vdec_stridetype stride; u32 def_type; }; |