diff options
author | Marco A Vital Yep <mvital@codeaurora.org> | 2010-11-16 17:35:12 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2010-12-07 02:50:13 -0700 |
commit | 9ec3dfdf8f051df532e65227c8a063a2828f5bb4 (patch) | |
tree | b6182e835e0e48957ff232bd89f6b46122657683 | |
parent | c1fb906afb4e627ca8cf49b177380d082ae52e26 (diff) | |
download | bionic-9ec3dfdf8f051df532e65227c8a063a2828f5bb4.zip bionic-9ec3dfdf8f051df532e65227c8a063a2828f5bb4.tar.gz bionic-9ec3dfdf8f051df532e65227c8a063a2828f5bb4.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.h | 2 |
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; }; |