diff options
author | Vinay Kalia <vkalia@codeaurora.org> | 2010-07-26 18:50:04 -0700 |
---|---|---|
committer | Jessica Gonzalez <jgaona@codeaurora.org> | 2010-08-04 16:24:27 -0700 |
commit | ec9855d04d33ca1dd1f2ddfe542ed92858e98336 (patch) | |
tree | 4a144b6d56a326778a748d9fd344868a5c8f13a3 /libc/kernel/common/linux/msm_q6vdec.h | |
parent | 7c17a76cf75d99995aa5a479b3725a072a6d25d8 (diff) | |
download | bionic-Q8650BSDCANLYA5035.zip bionic-Q8650BSDCANLYA5035.tar.gz bionic-Q8650BSDCANLYA5035.tar.bz2 |
libc:kernel-headers:Adding IOCTL to change Q6 clock.Q8650BSDCANLYA5035M76XXTSNCJNLYA6036M76XXTSNCJNLYA6034M76XXTSNCJNLYA6032M76XXTSNCJNLYA6030
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: Id60add327b371323c7a13915b770bdccf148a910
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; |