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