diff options
author | Vinay Kalia <vkalia@codeaurora.org> | 2010-07-26 18:50:04 -0700 |
---|---|---|
committer | Vinay Kalia <vkalia@codeaurora.org> | 2010-07-29 11:39:43 -0700 |
commit | 5fae4b89d7e905737fc6008d0cfbdb74150ce3e9 (patch) | |
tree | 0fd9a1c0ba520be35cb65ecbdc6864ffba6de4c7 /libc/kernel/common/linux/msm_q6vdec.h | |
parent | 4525d0d8b2d58a0920e18f46c2a6ef1a1b091ed9 (diff) | |
download | bionic-5fae4b89d7e905737fc6008d0cfbdb74150ce3e9.zip bionic-5fae4b89d7e905737fc6008d0cfbdb74150ce3e9.tar.gz bionic-5fae4b89d7e905737fc6008d0cfbdb74150ce3e9.tar.bz2 |
libc:kernel-headers:Adding IOCTL to change Q6 clock.
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: I4dbff233c473566590e386c2e9376282e7094727
Diffstat (limited to 'libc/kernel/common/linux/msm_q6vdec.h')
-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 dc1a388..b7b6ca4 100644 --- a/libc/kernel/common/linux/msm_q6vdec.h +++ b/libc/kernel/common/linux/msm_q6vdec.h @@ -29,6 +29,7 @@ #define VDEC_IOCTL_GETVERSION _IOR(VDEC_IOCTL_MAGIC, 11, struct vdec_version) #define VDEC_IOCTL_SETPROPERTY _IOW(VDEC_IOCTL_MAGIC, 12, struct vdec_property_info) #define VDEC_IOCTL_GETPROPERTY _IOR(VDEC_IOCTL_MAGIC, 13, struct vdec_property_info) +#define VDEC_IOCTL_PERFORMANCE_CHANGE_REQ _IOW(VDEC_IOCTL_MAGIC, 14, unsigned int) enum { VDEC_FRAME_DECODE_OK, @@ -80,6 +81,13 @@ enum vdec_property_id { VDEC_FRAME_ALIGNMENT }; +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; |