diff options
author | Vasantha Kumar <vasant@codeaurora.org> | 2010-08-05 16:54:25 -0700 |
---|---|---|
committer | Vasantha Kumar <vasant@codeaurora.org> | 2010-08-05 16:54:25 -0700 |
commit | 9e2e42a805e422d0bc034d85a27b4b9acdfe28d1 (patch) | |
tree | 3632fa0278542b45b2a4b33565a55c42ce2c8aac | |
parent | f6af0af50dbdbd938d2c6769c69ff63db2ca0066 (diff) | |
download | bionic-M76XXTSNCJNLYA53404005.zip bionic-M76XXTSNCJNLYA53404005.tar.gz bionic-M76XXTSNCJNLYA53404005.tar.bz2 |
libc:kernel-headers:Adding IOCTL to change Q6 clock.Q8650BSDCANLYA407715M76XXTSNCJNLYA53404008M76XXTSNCJNLYA53404006M76XXTSNCJNLYA53404005
Added ioctl to change Q6 clock dynamically
while video decoding. Client can use this
ioctl to increase/decrease Q6 clock depending
on requirement. Once the instance who
requested the increase/decrease closes, Q6
clock adjusts itself depending on new
requirement.
Conflicts:
libc/kernel/common/linux/msm_q6vdec.h
Change-Id: I13450e0988eaa2b8ac0c334792053e495ec6c79e
-rw-r--r-- | libc/kernel/common/linux/msm_q6vdec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_q6vdec.h b/libc/kernel/common/linux/msm_q6vdec.h index ec2175c..55991a5 100644 --- a/libc/kernel/common/linux/msm_q6vdec.h +++ b/libc/kernel/common/linux/msm_q6vdec.h @@ -27,6 +27,7 @@ #define VDEC_IOCTL_FREEBUFFERS _IOW(VDEC_IOCTL_MAGIC, 9, struct vdec_buf_info) #define VDEC_IOCTL_GETDECATTRIBUTES _IOR(VDEC_IOCTL_MAGIC, 10, struct vdec_dec_attributes) #define VDEC_IOCTL_GETVERSION _IOR(VDEC_IOCTL_MAGIC, 11, struct vdec_version) +#define VDEC_IOCTL_PERFORMANCE_CHANGE_REQ _IOW(VDEC_IOCTL_MAGIC, 14, unsigned int) enum { VDEC_FRAME_DECODE_OK, @@ -64,6 +65,13 @@ enum { VDEC_COLOR_FORMAT_NV21_YAMOTO = 0x02 }; +enum { + PERF_REQUEST_SET_MIN = 0, + PERF_REQUEST_LOWER, + PERF_REQUEST_RAISE, + PERF_REQUEST_SET_MAX +}; + struct vdec_input_buf_info { u32 offset; u32 data; |