summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco A Vital Yep <mvital@codeaurora.org>2010-11-16 17:35:12 -0800
committerMansoor Aftab <maftab@codeaurora.org>2010-12-07 14:40:44 -0800
commitb7bc08e97cc13ee9f4095a229ca53705156600bd (patch)
tree34846f8a0439668bc24a87c0197613f832a284b4
parentd48b697a130055571bba1a9996d9be8756187ebd (diff)
downloadbionic-b7bc08e97cc13ee9f4095a229ca53705156600bd.zip
bionic-b7bc08e97cc13ee9f4095a229ca53705156600bd.tar.gz
bionic-b7bc08e97cc13ee9f4095a229ca53705156600bd.tar.bz2
bionic: Add IOCTL to get number of encoder instances
Add IOCTL to read the number of current encoder instances and allow create new instances based on client requirements to support single or multiple instances. Change-Id: I39df16d14fc705d3100b23c364396b9131cd3129 CRs-fixed: 263431
-rw-r--r--libc/kernel/common/linux/msm_vidc_enc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_vidc_enc.h b/libc/kernel/common/linux/msm_vidc_enc.h
index 9183b70..973e9d5 100644
--- a/libc/kernel/common/linux/msm_vidc_enc.h
+++ b/libc/kernel/common/linux/msm_vidc_enc.h
@@ -261,6 +261,8 @@ struct venc_ioctl_msg{
#define VEN_IOCTL_SET_QP_RANGE _IOW(VEN_IOCTLBASE_ENC, 44, struct venc_ioctl_msg)
#define VEN_IOCTL_GET_QP_RANGE _IOR(VEN_IOCTLBASE_ENC, 45, struct venc_ioctl_msg)
+#define VEN_IOCTL_GET_NUMBER_INSTANCES _IOR(VEN_IOCTLBASE_ENC, 46, struct venc_ioctl_msg)
+
struct venc_switch{
unsigned char status;
};