summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGopikrishnaiah Anandan <c_gopikr@quicinc.com>2010-04-21 13:47:53 -0700
committerSandeep Gupta <c_sandee@quicinc.com>2010-04-22 14:31:24 -0700
commit44a1521ccc85fa6d54fd2c15cdad80bd39a27d98 (patch)
treec5ed21b076865a62f9f99ab3c0e3f82345774d1b
parent5c3d83a1d3ffff3ec8e21735a40a52b8f945cf70 (diff)
downloadbionic-44a1521ccc85fa6d54fd2c15cdad80bd39a27d98.zip
bionic-44a1521ccc85fa6d54fd2c15cdad80bd39a27d98.tar.gz
bionic-44a1521ccc85fa6d54fd2c15cdad80bd39a27d98.tar.bz2
7x30: vdec: ioctl support to query decoder instances.M7630AABBQMLZA1220
Added ioctl for 7x30 video driver to query number of video decoder instances. Change-Id: I85f0db58f15052e113e367b7fb42787cf50da4eb
-rw-r--r--libc/kernel/common/linux/msm_vidc_dec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_vidc_dec.h b/libc/kernel/common/linux/msm_vidc_dec.h
index e7d46b7..5242065 100644
--- a/libc/kernel/common/linux/msm_vidc_dec.h
+++ b/libc/kernel/common/linux/msm_vidc_dec.h
@@ -131,6 +131,9 @@ struct vdec_ioctl_msg {
#define VDEC_IOCTL_GET_NEXT_MSG _IOR(VDEC_IOCTL_MAGIC, 25, struct vdec_ioctl_msg)
#define VDEC_IOCTL_STOP_NEXT_MSG _IO(VDEC_IOCTL_MAGIC, 26)
+#define VDEC_IOCTL_GET_NUMBER_INSTANCES _IOR(VDEC_IOCTL_MAGIC, 27, struct vdec_ioctl_msg)
+
+
enum vdec_picture {
PICTURE_TYPE_I,
PICTURE_TYPE_P,