From b7bc08e97cc13ee9f4095a229ca53705156600bd 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: I39df16d14fc705d3100b23c364396b9131cd3129 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 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; }; -- cgit v1.1