diff options
author | Vasantha Kumar <vasant@codeaurora.org> | 2010-08-05 16:54:25 -0700 |
---|---|---|
committer | Vasantha Kumar <vasant@codeaurora.org> | 2010-08-05 20:06:59 -0700 |
commit | 6af2c015839a2cbcf73d8942a20da1c0ea8ef57f (patch) | |
tree | 3632fa0278542b45b2a4b33565a55c42ce2c8aac | |
parent | f6af0af50dbdbd938d2c6769c69ff63db2ca0066 (diff) | |
download | bionic-6af2c015839a2cbcf73d8942a20da1c0ea8ef57f.zip bionic-6af2c015839a2cbcf73d8942a20da1c0ea8ef57f.tar.gz bionic-6af2c015839a2cbcf73d8942a20da1c0ea8ef57f.tar.bz2 |
libc:kernel-headers:Adding IOCTL to change Q6 clock.Q8650BSDCANLYA40770502Q8650BSDCANLYA40770501
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.
Change-Id: Icaba3509e6645c64794711c8a1c5933633c042c4
-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; |