From 9ec3dfdf8f051df532e65227c8a063a2828f5bb4 Mon Sep 17 00:00:00 2001 From: Marco A Vital Yep Date: Tue, 16 Nov 2010 17:35:12 -0800 Subject: 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: Id46bf45bd163b55105dc72c87c8d5e624b0574ec CRs-fixed: 263431 --- libc/kernel/common/linux/msm_vidc_enc.h | 2 ++ 1 file changed, 2 insertions(+) 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; }; -- cgit v1.1