diff options
author | Alok Tongaonkar <alokt@quicinc.com> | 2010-08-18 19:39:35 -0700 |
---|---|---|
committer | Alok Tongaonkar <alokt@quicinc.com> | 2010-08-18 19:39:35 -0700 |
commit | ed3dc38ed5f467604d41e4289f432128cb23d30a (patch) | |
tree | 11e157e4ddd5577226eec8fd490289ecc57d9e32 | |
parent | bd560c5f45d165d64dd5b666831b3f316eab510d (diff) | |
download | bionic-ed3dc38ed5f467604d41e4289f432128cb23d30a.zip bionic-ed3dc38ed5f467604d41e4289f432128cb23d30a.tar.gz bionic-ed3dc38ed5f467604d41e4289f432128cb23d30a.tar.bz2 |
Revert "bionic: msm video driver update."
This reverts commit 788bd916b090c6902c6980a8bb202833b4abe2f5.
-rw-r--r--[-rwxr-xr-x] | libc/kernel/common/linux/msm_vidc_dec.h | 50 | ||||
-rw-r--r-- | libc/kernel/common/linux/msm_vidc_enc.h | 8 |
2 files changed, 30 insertions, 28 deletions
diff --git a/libc/kernel/common/linux/msm_vidc_dec.h b/libc/kernel/common/linux/msm_vidc_dec.h index eaeb8b3..b4a8460 100755..100644 --- a/libc/kernel/common/linux/msm_vidc_dec.h +++ b/libc/kernel/common/linux/msm_vidc_dec.h @@ -83,8 +83,8 @@ #define VDEC_IOCTL_MAGIC 'v' struct vdec_ioctl_msg { - void __user *in; - void __user *out; + void *inputparam; + void *outputparam; }; #define VDEC_IOCTL_GET_PROFILE_LEVEL_SUPPORTED _IOWR(VDEC_IOCTL_MAGIC, 0, struct vdec_ioctl_msg) @@ -153,17 +153,17 @@ struct vdec_allocatorproperty { uint32_t mincount; uint32_t maxcount; uint32_t actualcount; - size_t buffer_size; + uint32_t buffer_size; uint32_t alignment; uint32_t buf_poolid; }; struct vdec_bufferpayload { - void __user *bufferaddr; - size_t buffer_len; + uint8_t *bufferaddr; + uint32_t buffer_len; int pmem_fd; - size_t offset; - size_t mmaped_size; + uint32_t offset; + uint32_t mmaped_size; }; struct vdec_setbuffer_cmd { @@ -404,39 +404,40 @@ struct vdec_picsize { }; struct vdec_seqheader { - void __user *ptr_seqheader; - size_t seq_header_len; + uint8_t *ptr_seqheader; + uint32_t seq_header_len; int pmem_fd; - size_t pmem_offset; + uint32_t pmem_offset; }; struct vdec_mberror { - void __user *ptr_errormap; - size_t err_mapsize; + uint8_t *ptr_errormap; + uint32_t err_mapsize; }; struct vdec_input_frameinfo { - void __user *bufferaddr; - size_t offset; - size_t datalen; + uint8_t *bufferaddr; + uint32_t offset; + uint32_t datalen; uint32_t flags; int64_t timestamp; void *client_data; int pmem_fd; - size_t pmem_offset; + uint32_t pmem_offset; }; struct vdec_framesize { - uint32_t left; - uint32_t top; - uint32_t right; - uint32_t bottom; + uint32_t n_left; + uint32_t n_top; + uint32_t n_right; + uint32_t n_bottom; }; struct vdec_output_frameinfo { - void __user *bufferaddr; - size_t offset; - size_t len; + uint8_t *phy_addr; + uint8_t *bufferaddr; + uint32_t offset; + uint32_t len; uint32_t flags; int64_t time_stamp; void *client_data; @@ -453,6 +454,7 @@ struct vdec_msginfo { uint32_t status_code; uint32_t msgcode; union vdec_msgdata msgdata; - size_t msgdatasize; + uint32_t msgdatasize; }; #endif + diff --git a/libc/kernel/common/linux/msm_vidc_enc.h b/libc/kernel/common/linux/msm_vidc_enc.h index 08b2d20..e5b8d8a 100644 --- a/libc/kernel/common/linux/msm_vidc_enc.h +++ b/libc/kernel/common/linux/msm_vidc_enc.h @@ -149,8 +149,8 @@ #define VEN_IOCTLBASE_ENC 0x850 struct venc_ioctl_msg{ - void __user *in; - void __user *out; + void *inputparam; + void *outputparam; }; #define VEN_IOCTL_SET_INTF_VERSION _IOW(VEN_IOCTLBASE_NENC, 0, struct venc_ioctl_msg) @@ -277,7 +277,7 @@ struct venc_allocatorproperty{ struct venc_bufferpayload{ unsigned char *pbuffer; - size_t sz; + unsigned long nsize; int fd; unsigned int offset; unsigned int maped_size; @@ -286,7 +286,7 @@ struct venc_bufferpayload{ struct venc_buffer{ unsigned char *ptrbuffer; - unsigned long sz; + unsigned long size; unsigned long len; unsigned long offset; long long timestamp; |