summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco A Vital Yep <mvital@codeaurora.org>2010-11-16 17:35:12 -0800
committerLinux Build Service Account <lnxbuild@localhost>2010-12-07 02:50:13 -0700
commit9ec3dfdf8f051df532e65227c8a063a2828f5bb4 (patch)
treeb6182e835e0e48957ff232bd89f6b46122657683
parentc1fb906afb4e627ca8cf49b177380d082ae52e26 (diff)
downloadbionic-M76XXTSNCJNLYA7040.zip
bionic-M76XXTSNCJNLYA7040.tar.gz
bionic-M76XXTSNCJNLYA7040.tar.bz2
bionic: Add IOCTL to get number of encoder instancesM8260AAABQNLZA2510M76XXTSNCJNLYA7040
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: Id46bf45bd163b55105dc72c87c8d5e624b0574ec 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 36bf741..f6c6d38 100644
--- a/libc/kernel/common/linux/msm_vidc_enc.h
+++ b/libc/kernel/common/linux/msm_vidc_enc.h
@@ -268,6 +268,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;
};