Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _MSM_VIDC_ENC_H_ |
| 20 | #define _MSM_VIDC_ENC_H_ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 21 | #include <linux/types.h> |
| 22 | #include <linux/ioctl.h> |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 24 | #define VEN_S_BASE 0x00000000 |
| 25 | #define VEN_S_SUCCESS (VEN_S_BASE) |
| 26 | #define VEN_S_EFAIL (VEN_S_BASE+1) |
| 27 | #define VEN_S_EFATAL (VEN_S_BASE+2) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 29 | #define VEN_S_EBADPARAM (VEN_S_BASE+3) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 30 | #define VEN_S_EINVALSTATE (VEN_S_BASE+4) |
| 31 | #define VEN_S_ENOSWRES (VEN_S_BASE+5) |
| 32 | #define VEN_S_ENOHWRES (VEN_S_BASE+6) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 34 | #define VEN_S_EBUFFREQ (VEN_S_BASE+7) |
| 35 | #define VEN_S_EINVALCMD (VEN_S_BASE+8) |
| 36 | #define VEN_S_ETIMEOUT (VEN_S_BASE+9) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 37 | #define VEN_S_ENOREATMPT (VEN_S_BASE+10) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 39 | #define VEN_S_ENOPREREQ (VEN_S_BASE+11) |
| 40 | #define VEN_S_ECMDQFULL (VEN_S_BASE+12) |
| 41 | #define VEN_S_ENOTSUPP (VEN_S_BASE+13) |
| 42 | #define VEN_S_ENOTIMPL (VEN_S_BASE+14) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 44 | #define VEN_S_ENOTPMEM (VEN_S_BASE+15) |
| 45 | #define VEN_S_EFLUSHED (VEN_S_BASE+16) |
| 46 | #define VEN_S_EINSUFBUF (VEN_S_BASE+17) |
| 47 | #define VEN_S_ESAMESTATE (VEN_S_BASE+18) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 49 | #define VEN_S_EINVALTRANS (VEN_S_BASE+19) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 50 | #define VEN_INTF_VER 1 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 51 | #define VEN_MSG_INDICATION 0 |
| 52 | #define VEN_MSG_INPUT_BUFFER_DONE 1 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 54 | #define VEN_MSG_OUTPUT_BUFFER_DONE 2 |
| 55 | #define VEN_MSG_NEED_OUTPUT_BUFFER 3 |
| 56 | #define VEN_MSG_FLUSH_INPUT_DONE 4 |
| 57 | #define VEN_MSG_FLUSH_OUPUT_DONE 5 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 59 | #define VEN_MSG_START 6 |
| 60 | #define VEN_MSG_STOP 7 |
| 61 | #define VEN_MSG_PAUSE 8 |
| 62 | #define VEN_MSG_RESUME 9 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 64 | #define VEN_MSG_STOP_READING_MSG 10 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 65 | #define VEN_BUFFLAG_EOS 0x00000001 |
| 66 | #define VEN_BUFFLAG_ENDOFFRAME 0x00000010 |
| 67 | #define VEN_BUFFLAG_SYNCFRAME 0x00000020 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 69 | #define VEN_BUFFLAG_EXTRADATA 0x00000040 |
| 70 | #define VEN_BUFFLAG_CODECCONFIG 0x00000080 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 71 | #define VEN_EXTRADATA_NONE 0x001 |
| 72 | #define VEN_EXTRADATA_QCOMFILLER 0x002 |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | #define VEN_EXTRADATA_SLICEINFO 0x100 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 75 | #define VEN_FRAME_TYPE_I 1 |
| 76 | #define VEN_FRAME_TYPE_P 2 |
| 77 | #define VEN_FRAME_TYPE_B 3 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 79 | #define VEN_CODEC_MPEG4 1 |
| 80 | #define VEN_CODEC_H264 2 |
| 81 | #define VEN_CODEC_H263 3 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 82 | #define VEN_PROFILE_MPEG4_SP 1 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 84 | #define VEN_PROFILE_MPEG4_ASP 2 |
| 85 | #define VEN_PROFILE_H264_BASELINE 3 |
| 86 | #define VEN_PROFILE_H264_MAIN 4 |
| 87 | #define VEN_PROFILE_H264_HIGH 5 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 89 | #define VEN_PROFILE_H263_BASELINE 6 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 90 | #define VEN_LEVEL_MPEG4_0 0x1 |
| 91 | #define VEN_LEVEL_MPEG4_1 0x2 |
| 92 | #define VEN_LEVEL_MPEG4_2 0x3 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 94 | #define VEN_LEVEL_MPEG4_3 0x4 |
| 95 | #define VEN_LEVEL_MPEG4_4 0x5 |
| 96 | #define VEN_LEVEL_MPEG4_5 0x6 |
| 97 | #define VEN_LEVEL_MPEG4_3b 0x7 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 99 | #define VEN_LEVEL_MPEG4_6 0x8 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 100 | #define VEN_LEVEL_H264_1 0x9 |
| 101 | #define VEN_LEVEL_H264_1b 0xA |
| 102 | #define VEN_LEVEL_H264_1p1 0xB |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 104 | #define VEN_LEVEL_H264_1p2 0xC |
| 105 | #define VEN_LEVEL_H264_1p3 0xD |
| 106 | #define VEN_LEVEL_H264_2 0xE |
| 107 | #define VEN_LEVEL_H264_2p1 0xF |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 109 | #define VEN_LEVEL_H264_2p2 0x10 |
| 110 | #define VEN_LEVEL_H264_3 0x11 |
| 111 | #define VEN_LEVEL_H264_3p1 0x12 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 112 | #define VEN_LEVEL_H264_3p2 0x13 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 114 | #define VEN_LEVEL_H264_4 0x14 |
| 115 | #define VEN_LEVEL_H263_10 0x15 |
| 116 | #define VEN_LEVEL_H263_20 0x16 |
| 117 | #define VEN_LEVEL_H263_30 0x17 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 119 | #define VEN_LEVEL_H263_40 0x18 |
| 120 | #define VEN_LEVEL_H263_45 0x19 |
| 121 | #define VEN_LEVEL_H263_50 0x1A |
| 122 | #define VEN_LEVEL_H263_60 0x1B |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 124 | #define VEN_LEVEL_H263_70 0x1C |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 125 | #define VEN_ENTROPY_MODEL_CAVLC 1 |
| 126 | #define VEN_ENTROPY_MODEL_CABAC 2 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 127 | #define VEN_CABAC_MODEL_0 1 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 129 | #define VEN_CABAC_MODEL_1 2 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 130 | #define VEN_CABAC_MODEL_2 3 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 131 | #define VEN_DB_DISABLE 1 |
| 132 | #define VEN_DB_ALL_BLKG_BNDRY 2 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 134 | #define VEN_DB_SKIP_SLICE_BNDRY 3 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 135 | #define VEN_MSLICE_OFF 1 |
| 136 | #define VEN_MSLICE_CNT_MB 2 |
| 137 | #define VEN_MSLICE_CNT_BYTE 3 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 139 | #define VEN_MSLICE_GOB 4 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 140 | #define VEN_RC_OFF 1 |
| 141 | #define VEN_RC_VBR_VFR 2 |
| 142 | #define VEN_RC_VBR_CFR 3 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 144 | #define VEN_RC_CBR_VFR 4 |
| 145 | #define VEN_RC_CBR_CFR 5 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 146 | #define VEN_FLUSH_INPUT 1 |
| 147 | #define VEN_FLUSH_OUTPUT 2 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 149 | #define VEN_FLUSH_ALL 3 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 150 | #define VEN_INPUTFMT_NV12 1 |
| 151 | #define VEN_INPUTFMT_NV21 2 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 152 | #define VEN_INPUTFMT_NV12_16M2KA 3 |
| 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 154 | #define VEN_ROTATION_0 1 |
| 155 | #define VEN_ROTATION_90 2 |
| 156 | #define VEN_ROTATION_180 3 |
| 157 | #define VEN_ROTATION_270 4 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 159 | #define VEN_TIMEOUT_INFINITE 0xffffffff |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 160 | #define VEN_IR_OFF 1 |
| 161 | #define VEN_IR_CYCLIC 2 |
| 162 | #define VEN_IR_RANDOM 3 |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 164 | #define VEN_IOCTLBASE_NENC 0x800 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 165 | #define VEN_IOCTLBASE_ENC 0x850 |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 166 | struct venc_ioctl_msg{ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 167 | void __user *in; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 169 | void __user *out; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 170 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 171 | #define VEN_IOCTL_SET_INTF_VERSION _IOW(VEN_IOCTLBASE_NENC, 0, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 172 | #define VEN_IOCTL_CMD_READ_NEXT_MSG _IOWR(VEN_IOCTLBASE_NENC, 1, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 174 | #define VEN_IOCTL_CMD_STOP_READ_MSG _IO(VEN_IOCTLBASE_NENC, 2) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 175 | #define VEN_IOCTL_SET_INPUT_BUFFER_REQ _IOW(VEN_IOCTLBASE_NENC, 3, struct venc_ioctl_msg) |
| 176 | #define VEN_IOCTL_GET_INPUT_BUFFER_REQ _IOR(VEN_IOCTLBASE_NENC, 4, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 177 | #define VEN_IOCTL_CMD_ALLOC_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 5, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 179 | #define VEN_IOCTL_SET_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 6, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 180 | #define VEN_IOCTL_CMD_FREE_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 7, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 181 | #define VEN_IOCTL_SET_OUTPUT_BUFFER_REQ _IOW(VEN_IOCTLBASE_NENC, 8, struct venc_ioctl_msg) |
| 182 | #define VEN_IOCTL_GET_OUTPUT_BUFFER_REQ _IOR(VEN_IOCTLBASE_NENC, 9, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 184 | #define VEN_IOCTL_CMD_ALLOC_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 10, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 185 | #define VEN_IOCTL_SET_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 11, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 186 | #define VEN_IOCTL_CMD_FREE_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 12, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 187 | #define VEN_IOCTL_CMD_START _IO(VEN_IOCTLBASE_NENC, 13) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 189 | #define VEN_IOCTL_CMD_ENCODE_FRAME _IOW(VEN_IOCTLBASE_NENC, 14, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 190 | #define VEN_IOCTL_CMD_FILL_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 15, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 191 | #define VEN_IOCTL_CMD_FLUSH _IOW(VEN_IOCTLBASE_NENC, 16, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 192 | #define VEN_IOCTL_CMD_PAUSE _IO(VEN_IOCTLBASE_NENC, 17) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 194 | #define VEN_IOCTL_CMD_RESUME _IO(VEN_IOCTLBASE_NENC, 18) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 195 | #define VEN_IOCTL_CMD_STOP _IO(VEN_IOCTLBASE_NENC, 19) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 196 | #define VEN_IOCTL_SET_RECON_BUFFER _IOW(VEN_IOCTLBASE_NENC, 20, struct venc_ioctl_msg) |
| 197 | #define VEN_IOCTL_FREE_RECON_BUFFER _IOW(VEN_IOCTLBASE_NENC, 21, struct venc_ioctl_msg) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 199 | #define VEN_IOCTL_GET_RECON_BUFFER_SIZE _IOW(VEN_IOCTLBASE_NENC, 22, struct venc_ioctl_msg) |
| 200 | #define VEN_IOCTL_SET_BASE_CFG _IOW(VEN_IOCTLBASE_ENC, 1, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 201 | #define VEN_IOCTL_GET_BASE_CFG _IOR(VEN_IOCTLBASE_ENC, 2, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 202 | #define VEN_IOCTL_SET_LIVE_MODE _IOW(VEN_IOCTLBASE_ENC, 3, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 204 | #define VEN_IOCTL_GET_LIVE_MODE _IOR(VEN_IOCTLBASE_ENC, 4, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 205 | #define VEN_IOCTL_SET_CODEC_PROFILE _IOW(VEN_IOCTLBASE_ENC, 5, struct venc_ioctl_msg) |
| 206 | #define VEN_IOCTL_GET_CODEC_PROFILE _IOR(VEN_IOCTLBASE_ENC, 6, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 207 | #define VEN_IOCTL_SET_PROFILE_LEVEL _IOW(VEN_IOCTLBASE_ENC, 7, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 209 | #define VEN_IOCTL_GET_PROFILE_LEVEL _IOR(VEN_IOCTLBASE_ENC, 8, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 210 | #define VEN_IOCTL_SET_SHORT_HDR _IOW(VEN_IOCTLBASE_ENC, 9, struct venc_ioctl_msg) |
| 211 | #define VEN_IOCTL_GET_SHORT_HDR _IOR(VEN_IOCTLBASE_ENC, 10, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 212 | #define VEN_IOCTL_SET_SESSION_QP _IOW(VEN_IOCTLBASE_ENC, 11, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 214 | #define VEN_IOCTL_GET_SESSION_QP _IOR(VEN_IOCTLBASE_ENC, 12, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 215 | #define VEN_IOCTL_SET_INTRA_PERIOD _IOW(VEN_IOCTLBASE_ENC, 13, struct venc_ioctl_msg) |
| 216 | #define VEN_IOCTL_GET_INTRA_PERIOD _IOR(VEN_IOCTLBASE_ENC, 14, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 217 | #define VEN_IOCTL_CMD_REQUEST_IFRAME _IO(VEN_IOCTLBASE_ENC, 15) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 219 | #define VEN_IOCTL_GET_CAPABILITY _IOR(VEN_IOCTLBASE_ENC, 16, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 220 | #define VEN_IOCTL_GET_SEQUENCE_HDR _IOR(VEN_IOCTLBASE_ENC, 17, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 221 | #define VEN_IOCTL_SET_ENTROPY_CFG _IOW(VEN_IOCTLBASE_ENC, 18, struct venc_ioctl_msg) |
| 222 | #define VEN_IOCTL_GET_ENTROPY_CFG _IOR(VEN_IOCTLBASE_ENC, 19, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 224 | #define VEN_IOCTL_SET_DEBLOCKING_CFG _IOW(VEN_IOCTLBASE_ENC, 20, struct venc_ioctl_msg) |
| 225 | #define VEN_IOCTL_GET_DEBLOCKING_CFG _IOR(VEN_IOCTLBASE_ENC, 21, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 226 | #define VEN_IOCTL_SET_INTRA_REFRESH _IOW(VEN_IOCTLBASE_ENC, 22, struct venc_ioctl_msg) |
| 227 | #define VEN_IOCTL_GET_INTRA_REFRESH _IOR(VEN_IOCTLBASE_ENC, 23, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 229 | #define VEN_IOCTL_SET_MULTI_SLICE_CFG _IOW(VEN_IOCTLBASE_ENC, 24, struct venc_ioctl_msg) |
| 230 | #define VEN_IOCTL_GET_MULTI_SLICE_CFG _IOR(VEN_IOCTLBASE_ENC, 25, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 231 | #define VEN_IOCTL_SET_RATE_CTRL_CFG _IOW(VEN_IOCTLBASE_ENC, 26, struct venc_ioctl_msg) |
| 232 | #define VEN_IOCTL_GET_RATE_CTRL_CFG _IOR(VEN_IOCTLBASE_ENC, 27, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 234 | #define VEN_IOCTL_SET_VOP_TIMING_CFG _IOW(VEN_IOCTLBASE_ENC, 28, struct venc_ioctl_msg) |
| 235 | #define VEN_IOCTL_GET_VOP_TIMING_CFG _IOR(VEN_IOCTLBASE_ENC, 29, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 236 | #define VEN_IOCTL_SET_FRAME_RATE _IOW(VEN_IOCTLBASE_ENC, 30, struct venc_ioctl_msg) |
| 237 | #define VEN_IOCTL_GET_FRAME_RATE _IOR(VEN_IOCTLBASE_ENC, 31, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 239 | #define VEN_IOCTL_SET_TARGET_BITRATE _IOW(VEN_IOCTLBASE_ENC, 32, struct venc_ioctl_msg) |
| 240 | #define VEN_IOCTL_GET_TARGET_BITRATE _IOR(VEN_IOCTLBASE_ENC, 33, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 241 | #define VEN_IOCTL_SET_ROTATION _IOW(VEN_IOCTLBASE_ENC, 34, struct venc_ioctl_msg) |
| 242 | #define VEN_IOCTL_GET_ROTATION _IOR(VEN_IOCTLBASE_ENC, 35, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 244 | #define VEN_IOCTL_SET_HEC _IOW(VEN_IOCTLBASE_ENC, 36, struct venc_ioctl_msg) |
| 245 | #define VEN_IOCTL_GET_HEC _IOR(VEN_IOCTLBASE_ENC, 37, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 246 | #define VEN_IOCTL_SET_DATA_PARTITION _IOW(VEN_IOCTLBASE_ENC, 38, struct venc_ioctl_msg) |
| 247 | #define VEN_IOCTL_GET_DATA_PARTITION _IOR(VEN_IOCTLBASE_ENC, 39, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 249 | #define VEN_IOCTL_SET_RVLC _IOW(VEN_IOCTLBASE_ENC, 40, struct venc_ioctl_msg) |
| 250 | #define VEN_IOCTL_GET_RVLC _IOR(VEN_IOCTLBASE_ENC, 41, struct venc_ioctl_msg) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 251 | #define VEN_IOCTL_SET_AC_PREDICTION _IOW(VEN_IOCTLBASE_ENC, 42, struct venc_ioctl_msg) |
| 252 | #define VEN_IOCTL_GET_AC_PREDICTION _IOR(VEN_IOCTLBASE_ENC, 43, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 254 | #define VEN_IOCTL_SET_QP_RANGE _IOW(VEN_IOCTLBASE_ENC, 44, struct venc_ioctl_msg) |
| 255 | #define VEN_IOCTL_GET_QP_RANGE _IOR(VEN_IOCTLBASE_ENC, 45, struct venc_ioctl_msg) |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 256 | #define VEN_IOCTL_GET_NUMBER_INSTANCES _IOR(VEN_IOCTLBASE_ENC, 46, struct venc_ioctl_msg) |
| 257 | #define VEN_IOCTL_SET_METABUFFER_MODE _IOW(VEN_IOCTLBASE_ENC, 47, struct venc_ioctl_msg) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 259 | #define VEN_IOCTL_SET_EXTRADATA _IOW(VEN_IOCTLBASE_ENC, 48, struct venc_ioctl_msg) |
| 260 | #define VEN_IOCTL_GET_EXTRADATA _IOR(VEN_IOCTLBASE_ENC, 49, struct venc_ioctl_msg) |
| 261 | #define VEN_IOCTL_SET_SLICE_DELIVERY_MODE _IO(VEN_IOCTLBASE_ENC, 50) |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 262 | struct venc_switch{ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 264 | unsigned char status; |
| 265 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 266 | struct venc_allocatorproperty{ |
| 267 | unsigned long mincount; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 269 | unsigned long maxcount; |
| 270 | unsigned long actualcount; |
| 271 | unsigned long datasize; |
| 272 | unsigned long suffixsize; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 274 | unsigned long alignment; |
| 275 | unsigned long bufpoolid; |
| 276 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 277 | struct venc_bufferpayload{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 279 | unsigned char *pbuffer; |
| 280 | size_t sz; |
| 281 | int fd; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 282 | unsigned int offset; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 284 | unsigned int maped_size; |
| 285 | unsigned long filled_len; |
| 286 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 287 | struct venc_buffer{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 289 | unsigned char *ptrbuffer; |
| 290 | unsigned long sz; |
| 291 | unsigned long len; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 292 | unsigned long offset; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 294 | long long timestamp; |
| 295 | unsigned long flags; |
| 296 | void *clientdata; |
| 297 | }; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 299 | struct venc_basecfg{ |
| 300 | unsigned long input_width; |
| 301 | unsigned long input_height; |
| 302 | unsigned long dvs_width; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 304 | unsigned long dvs_height; |
| 305 | unsigned long codectype; |
| 306 | unsigned long fps_num; |
| 307 | unsigned long fps_den; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 309 | unsigned long targetbitrate; |
| 310 | unsigned long inputformat; |
| 311 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 312 | struct venc_profile{ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 314 | unsigned long profile; |
| 315 | }; |
| 316 | struct ven_profilelevel{ |
| 317 | unsigned long level; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 319 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 320 | struct venc_sessionqp{ |
| 321 | unsigned long iframeqp; |
| 322 | unsigned long pframqp; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 324 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 325 | struct venc_qprange{ |
| 326 | unsigned long maxqp; |
| 327 | unsigned long minqp; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 329 | }; |
| 330 | struct venc_intraperiod{ |
| 331 | unsigned long num_pframes; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 332 | unsigned long num_bframes; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 333 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 334 | }; |
| 335 | struct venc_seqheader{ |
| 336 | unsigned char *hdrbufptr; |
| 337 | unsigned long bufsize; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 338 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 339 | unsigned long hdrlen; |
| 340 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 341 | struct venc_capability{ |
| 342 | unsigned long codec_types; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 343 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 344 | unsigned long maxframe_width; |
| 345 | unsigned long maxframe_height; |
| 346 | unsigned long maxtarget_bitrate; |
| 347 | unsigned long maxframe_rate; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 348 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 349 | unsigned long input_formats; |
| 350 | unsigned char dvs; |
| 351 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 352 | struct venc_entropycfg{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 353 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 354 | unsigned longentropysel; |
| 355 | unsigned long cabacmodel; |
| 356 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 357 | struct venc_dbcfg{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 358 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 359 | unsigned long db_mode; |
| 360 | unsigned long slicealpha_offset; |
| 361 | unsigned long slicebeta_offset; |
| 362 | }; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 363 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 364 | struct venc_intrarefresh{ |
| 365 | unsigned long irmode; |
| 366 | unsigned long mbcount; |
| 367 | }; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 368 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 369 | struct venc_multiclicecfg{ |
| 370 | unsigned long mslice_mode; |
| 371 | unsigned long mslice_size; |
| 372 | }; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 373 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 374 | struct venc_bufferflush{ |
| 375 | unsigned long flush_mode; |
| 376 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 377 | struct venc_ratectrlcfg{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 378 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 379 | unsigned long rcmode; |
| 380 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 381 | struct venc_voptimingcfg{ |
| 382 | unsigned long voptime_resolution; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 383 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 384 | }; |
| 385 | struct venc_framerate{ |
| 386 | unsigned long fps_denominator; |
| 387 | unsigned long fps_numerator; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 388 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 389 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 390 | struct venc_targetbitrate{ |
| 391 | unsigned long target_bitrate; |
| 392 | }; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 393 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 394 | struct venc_rotation{ |
| 395 | unsigned long rotation; |
| 396 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 397 | struct venc_timeout{ |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 398 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 399 | unsigned long millisec; |
| 400 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 401 | struct venc_headerextension{ |
| 402 | unsigned long header_extension; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 403 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 404 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 405 | struct venc_msg{ |
| 406 | unsigned long statuscode; |
| 407 | unsigned long msgcode; |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 408 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 409 | struct venc_buffer buf; |
| 410 | unsigned long msgdata_size; |
| 411 | }; |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 412 | struct venc_recon_addr{ |
| 413 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 414 | unsigned char *pbuffer; |
| 415 | unsigned long buffer_size; |
| 416 | unsigned long pmem_fd; |
| 417 | unsigned long offset; |
| 418 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 419 | }; |
| 420 | struct venc_recon_buff_size{ |
| 421 | int width; |
| 422 | int height; |
| 423 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 424 | int size; |
| 425 | int alignment; |
| 426 | }; |
Nick Pelly | 21baae3 | 2010-06-23 16:17:58 -0700 | [diff] [blame] | 427 | #endif |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame] | 428 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Haynes Mathew George | 3fad2b1 | 2012-06-19 21:50:38 -0700 | [diff] [blame] | 429 | |