121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly/**************************************************************************** 221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly **************************************************************************** 321baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** 421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** This header was automatically generated from a Linux kernel header 521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** of the same name, to make information necessary for userspace to 621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** call into the kernel available to libc. It contains only constants, 721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** structures, and macros generated from the original header, and thus, 821baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** contains no copyrightable information. 921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly *** 10654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** To edit the content of this header, modify the corresponding 11654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** source file (e.g. under external/kernel-headers/original/) then 12654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** run bionic/libc/kernel/tools/update_all.py 13654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** 14654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** Any manual change here will be lost the next time this script will 15654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** be run. You've been warned! 16654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng *** 1721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly **************************************************************************** 1821baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly ****************************************************************************/ 1921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#ifndef _MSM_VIDC_ENC_H_ 2021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define _MSM_VIDC_ENC_H_ 2121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#include <linux/types.h> 2221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#include <linux/ioctl.h> 23654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_BASE 0x00000000 2521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_SUCCESS (VEN_S_BASE) 2621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EFAIL (VEN_S_BASE+1) 2721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EFATAL (VEN_S_BASE+2) 28654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EBADPARAM (VEN_S_BASE+3) 3021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EINVALSTATE (VEN_S_BASE+4) 3121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOSWRES (VEN_S_BASE+5) 3221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOHWRES (VEN_S_BASE+6) 33654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EBUFFREQ (VEN_S_BASE+7) 3521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EINVALCMD (VEN_S_BASE+8) 3621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ETIMEOUT (VEN_S_BASE+9) 3721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOREATMPT (VEN_S_BASE+10) 38654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOPREREQ (VEN_S_BASE+11) 4021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ECMDQFULL (VEN_S_BASE+12) 4121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOTSUPP (VEN_S_BASE+13) 4221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOTIMPL (VEN_S_BASE+14) 43654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ENOTPMEM (VEN_S_BASE+15) 4521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EFLUSHED (VEN_S_BASE+16) 4621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EINSUFBUF (VEN_S_BASE+17) 4721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_ESAMESTATE (VEN_S_BASE+18) 48654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_S_EINVALTRANS (VEN_S_BASE+19) 5021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_INTF_VER 1 5121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_INDICATION 0 5221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_INPUT_BUFFER_DONE 1 53654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 5421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_OUTPUT_BUFFER_DONE 2 5521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_NEED_OUTPUT_BUFFER 3 5621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_FLUSH_INPUT_DONE 4 5721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_FLUSH_OUPUT_DONE 5 58654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 5921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_START 6 6021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_STOP 7 6121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_PAUSE 8 6221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_RESUME 9 63654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 6421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSG_STOP_READING_MSG 10 6521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_BUFFLAG_EOS 0x00000001 6621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_BUFFLAG_ENDOFFRAME 0x00000010 6721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_BUFFLAG_SYNCFRAME 0x00000020 68654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 6921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_BUFFLAG_EXTRADATA 0x00000040 7021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_BUFFLAG_CODECCONFIG 0x00000080 713fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_EXTRADATA_NONE 0x001 723fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_EXTRADATA_QCOMFILLER 0x002 733fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 743fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_EXTRADATA_SLICEINFO 0x100 7521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FRAME_TYPE_I 1 7621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FRAME_TYPE_P 2 7721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FRAME_TYPE_B 3 783fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 7921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_CODEC_MPEG4 1 8021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_CODEC_H264 2 8121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_CODEC_H263 3 8221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_MPEG4_SP 1 833fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 8421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_MPEG4_ASP 2 8521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_H264_BASELINE 3 8621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_H264_MAIN 4 8721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_H264_HIGH 5 883fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 8921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_PROFILE_H263_BASELINE 6 9021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_0 0x1 9121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_1 0x2 9221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_2 0x3 933fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 9421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_3 0x4 9521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_4 0x5 9621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_5 0x6 9721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_3b 0x7 983fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 9921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_MPEG4_6 0x8 10021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_1 0x9 10121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_1b 0xA 10221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_1p1 0xB 1033fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 10421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_1p2 0xC 10521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_1p3 0xD 10621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_2 0xE 10721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_2p1 0xF 1083fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 10921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_2p2 0x10 11021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_3 0x11 11121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_LEVEL_H264_3p1 0x12 1123fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H264_3p2 0x13 113654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1143fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H264_4 0x14 1153fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_10 0x15 1163fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_20 0x16 1173fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_30 0x17 118654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1193fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_40 0x18 1203fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_45 0x19 1213fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_50 0x1A 1223fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_60 0x1B 123654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1243fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_LEVEL_H263_70 0x1C 12521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ENTROPY_MODEL_CAVLC 1 12621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ENTROPY_MODEL_CABAC 2 12721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_CABAC_MODEL_0 1 128654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1293fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_CABAC_MODEL_1 2 13021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_CABAC_MODEL_2 3 13121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_DB_DISABLE 1 13221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_DB_ALL_BLKG_BNDRY 2 133654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1343fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_DB_SKIP_SLICE_BNDRY 3 13521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSLICE_OFF 1 13621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSLICE_CNT_MB 2 13721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_MSLICE_CNT_BYTE 3 138654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1393fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_MSLICE_GOB 4 14021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_RC_OFF 1 14121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_RC_VBR_VFR 2 14221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_RC_VBR_CFR 3 143654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1443fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_RC_CBR_VFR 4 1453fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_RC_CBR_CFR 5 14621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FLUSH_INPUT 1 14721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FLUSH_OUTPUT 2 1483fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 14921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_FLUSH_ALL 3 15021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_INPUTFMT_NV12 1 15121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_INPUTFMT_NV21 2 1523fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_INPUTFMT_NV12_16M2KA 3 1533fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 15421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ROTATION_0 1 15521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ROTATION_90 2 15621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ROTATION_180 3 15721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_ROTATION_270 4 1583fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 15921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_TIMEOUT_INFINITE 0xffffffff 16021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IR_OFF 1 16121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IR_CYCLIC 2 16221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IR_RANDOM 3 1633fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 16421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTLBASE_NENC 0x800 16521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTLBASE_ENC 0x850 16621baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_ioctl_msg{ 1673fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George void __user *in; 168654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1693fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George void __user *out; 17021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 17121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_INTF_VERSION _IOW(VEN_IOCTLBASE_NENC, 0, struct venc_ioctl_msg) 17221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_READ_NEXT_MSG _IOWR(VEN_IOCTLBASE_NENC, 1, struct venc_ioctl_msg) 1733fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 17421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_STOP_READ_MSG _IO(VEN_IOCTLBASE_NENC, 2) 17521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_INPUT_BUFFER_REQ _IOW(VEN_IOCTLBASE_NENC, 3, struct venc_ioctl_msg) 17621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_INPUT_BUFFER_REQ _IOR(VEN_IOCTLBASE_NENC, 4, struct venc_ioctl_msg) 17721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_ALLOC_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 5, struct venc_ioctl_msg) 1783fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 17921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 6, struct venc_ioctl_msg) 18021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_FREE_INPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 7, struct venc_ioctl_msg) 18121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_OUTPUT_BUFFER_REQ _IOW(VEN_IOCTLBASE_NENC, 8, struct venc_ioctl_msg) 18221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_OUTPUT_BUFFER_REQ _IOR(VEN_IOCTLBASE_NENC, 9, struct venc_ioctl_msg) 1833fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 18421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_ALLOC_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 10, struct venc_ioctl_msg) 18521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 11, struct venc_ioctl_msg) 18621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_FREE_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 12, struct venc_ioctl_msg) 18721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_START _IO(VEN_IOCTLBASE_NENC, 13) 1883fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 18921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_ENCODE_FRAME _IOW(VEN_IOCTLBASE_NENC, 14, struct venc_ioctl_msg) 19021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_FILL_OUTPUT_BUFFER _IOW(VEN_IOCTLBASE_NENC, 15, struct venc_ioctl_msg) 19121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_FLUSH _IOW(VEN_IOCTLBASE_NENC, 16, struct venc_ioctl_msg) 19221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_PAUSE _IO(VEN_IOCTLBASE_NENC, 17) 1933fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 19421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_RESUME _IO(VEN_IOCTLBASE_NENC, 18) 19521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_STOP _IO(VEN_IOCTLBASE_NENC, 19) 1963fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_SET_RECON_BUFFER _IOW(VEN_IOCTLBASE_NENC, 20, struct venc_ioctl_msg) 1973fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_FREE_RECON_BUFFER _IOW(VEN_IOCTLBASE_NENC, 21, struct venc_ioctl_msg) 198654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 1993fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_GET_RECON_BUFFER_SIZE _IOW(VEN_IOCTLBASE_NENC, 22, struct venc_ioctl_msg) 2003fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_SET_BASE_CFG _IOW(VEN_IOCTLBASE_ENC, 1, struct venc_ioctl_msg) 20121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_BASE_CFG _IOR(VEN_IOCTLBASE_ENC, 2, struct venc_ioctl_msg) 20221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_LIVE_MODE _IOW(VEN_IOCTLBASE_ENC, 3, struct venc_ioctl_msg) 2033fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 20421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_LIVE_MODE _IOR(VEN_IOCTLBASE_ENC, 4, struct venc_ioctl_msg) 20521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_CODEC_PROFILE _IOW(VEN_IOCTLBASE_ENC, 5, struct venc_ioctl_msg) 20621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_CODEC_PROFILE _IOR(VEN_IOCTLBASE_ENC, 6, struct venc_ioctl_msg) 20721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_PROFILE_LEVEL _IOW(VEN_IOCTLBASE_ENC, 7, struct venc_ioctl_msg) 2083fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 20921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_PROFILE_LEVEL _IOR(VEN_IOCTLBASE_ENC, 8, struct venc_ioctl_msg) 21021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_SHORT_HDR _IOW(VEN_IOCTLBASE_ENC, 9, struct venc_ioctl_msg) 21121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_SHORT_HDR _IOR(VEN_IOCTLBASE_ENC, 10, struct venc_ioctl_msg) 21221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_SESSION_QP _IOW(VEN_IOCTLBASE_ENC, 11, struct venc_ioctl_msg) 2133fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 21421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_SESSION_QP _IOR(VEN_IOCTLBASE_ENC, 12, struct venc_ioctl_msg) 21521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_INTRA_PERIOD _IOW(VEN_IOCTLBASE_ENC, 13, struct venc_ioctl_msg) 21621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_INTRA_PERIOD _IOR(VEN_IOCTLBASE_ENC, 14, struct venc_ioctl_msg) 21721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_CMD_REQUEST_IFRAME _IO(VEN_IOCTLBASE_ENC, 15) 2183fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 21921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_CAPABILITY _IOR(VEN_IOCTLBASE_ENC, 16, struct venc_ioctl_msg) 22021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_SEQUENCE_HDR _IOR(VEN_IOCTLBASE_ENC, 17, struct venc_ioctl_msg) 22121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_ENTROPY_CFG _IOW(VEN_IOCTLBASE_ENC, 18, struct venc_ioctl_msg) 22221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_ENTROPY_CFG _IOR(VEN_IOCTLBASE_ENC, 19, struct venc_ioctl_msg) 2233fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 22421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_DEBLOCKING_CFG _IOW(VEN_IOCTLBASE_ENC, 20, struct venc_ioctl_msg) 22521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_DEBLOCKING_CFG _IOR(VEN_IOCTLBASE_ENC, 21, struct venc_ioctl_msg) 22621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_INTRA_REFRESH _IOW(VEN_IOCTLBASE_ENC, 22, struct venc_ioctl_msg) 22721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_INTRA_REFRESH _IOR(VEN_IOCTLBASE_ENC, 23, struct venc_ioctl_msg) 2283fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 22921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_MULTI_SLICE_CFG _IOW(VEN_IOCTLBASE_ENC, 24, struct venc_ioctl_msg) 23021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_MULTI_SLICE_CFG _IOR(VEN_IOCTLBASE_ENC, 25, struct venc_ioctl_msg) 23121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_RATE_CTRL_CFG _IOW(VEN_IOCTLBASE_ENC, 26, struct venc_ioctl_msg) 23221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_RATE_CTRL_CFG _IOR(VEN_IOCTLBASE_ENC, 27, struct venc_ioctl_msg) 2333fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 23421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_VOP_TIMING_CFG _IOW(VEN_IOCTLBASE_ENC, 28, struct venc_ioctl_msg) 23521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_VOP_TIMING_CFG _IOR(VEN_IOCTLBASE_ENC, 29, struct venc_ioctl_msg) 23621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_FRAME_RATE _IOW(VEN_IOCTLBASE_ENC, 30, struct venc_ioctl_msg) 23721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_FRAME_RATE _IOR(VEN_IOCTLBASE_ENC, 31, struct venc_ioctl_msg) 2383fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 23921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_TARGET_BITRATE _IOW(VEN_IOCTLBASE_ENC, 32, struct venc_ioctl_msg) 24021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_TARGET_BITRATE _IOR(VEN_IOCTLBASE_ENC, 33, struct venc_ioctl_msg) 24121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_ROTATION _IOW(VEN_IOCTLBASE_ENC, 34, struct venc_ioctl_msg) 24221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_ROTATION _IOR(VEN_IOCTLBASE_ENC, 35, struct venc_ioctl_msg) 2433fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_HEC _IOW(VEN_IOCTLBASE_ENC, 36, struct venc_ioctl_msg) 24521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_HEC _IOR(VEN_IOCTLBASE_ENC, 37, struct venc_ioctl_msg) 24621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_DATA_PARTITION _IOW(VEN_IOCTLBASE_ENC, 38, struct venc_ioctl_msg) 24721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_DATA_PARTITION _IOR(VEN_IOCTLBASE_ENC, 39, struct venc_ioctl_msg) 2483fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24921baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_RVLC _IOW(VEN_IOCTLBASE_ENC, 40, struct venc_ioctl_msg) 25021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_RVLC _IOR(VEN_IOCTLBASE_ENC, 41, struct venc_ioctl_msg) 25121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_AC_PREDICTION _IOW(VEN_IOCTLBASE_ENC, 42, struct venc_ioctl_msg) 25221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_AC_PREDICTION _IOR(VEN_IOCTLBASE_ENC, 43, struct venc_ioctl_msg) 2533fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 25421baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_SET_QP_RANGE _IOW(VEN_IOCTLBASE_ENC, 44, struct venc_ioctl_msg) 25521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly#define VEN_IOCTL_GET_QP_RANGE _IOR(VEN_IOCTLBASE_ENC, 45, struct venc_ioctl_msg) 2563fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_GET_NUMBER_INSTANCES _IOR(VEN_IOCTLBASE_ENC, 46, struct venc_ioctl_msg) 2573fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_SET_METABUFFER_MODE _IOW(VEN_IOCTLBASE_ENC, 47, struct venc_ioctl_msg) 258654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2593fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_SET_EXTRADATA _IOW(VEN_IOCTLBASE_ENC, 48, struct venc_ioctl_msg) 2603fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_GET_EXTRADATA _IOR(VEN_IOCTLBASE_ENC, 49, struct venc_ioctl_msg) 2613fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George#define VEN_IOCTL_SET_SLICE_DELIVERY_MODE _IO(VEN_IOCTLBASE_ENC, 50) 2622e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber#define VEN_IOCTL_SET_SPS_PPS_FOR_IDR _IOW(VEN_IOCTLBASE_ENC, 51, struct venc_ioctl_msg) 2633fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2642e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_switch{ 26521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned char status; 26621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 26721baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_allocatorproperty{ 2683fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2692e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long mincount; 27021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long maxcount; 27121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long actualcount; 27221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long datasize; 2733fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2742e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long suffixsize; 27521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long alignment; 27621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long bufpoolid; 27721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 2783fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2792e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_bufferpayload{ 28021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned char *pbuffer; 2813fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George size_t sz; 28221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly int fd; 2833fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2842e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned int offset; 28521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned int maped_size; 28621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long filled_len; 28721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 2883fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2892e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_buffer{ 29021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned char *ptrbuffer; 2913fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George unsigned long sz; 29221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long len; 2933fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2942e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long offset; 29521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly long long timestamp; 29621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long flags; 29721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly void *clientdata; 2983fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2992e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber}; 30021baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_basecfg{ 30121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long input_width; 30221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long input_height; 3033fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3042e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long dvs_width; 30521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long dvs_height; 30621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long codectype; 30721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long fps_num; 3083fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3092e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long fps_den; 31021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long targetbitrate; 31121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long inputformat; 31221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 3133fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3142e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_profile{ 31521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long profile; 31621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 31721baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct ven_profilelevel{ 3183fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3192e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long level; 32021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 32121baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_sessionqp{ 32221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long iframeqp; 3233fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3242e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long pframqp; 32521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 32621baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_qprange{ 32721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long maxqp; 3283fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3292e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long minqp; 33021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 33121baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_intraperiod{ 33221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long num_pframes; 333654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3342e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long num_bframes; 33521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 33621baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_seqheader{ 33721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned char *hdrbufptr; 338654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3392e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long bufsize; 34021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long hdrlen; 34121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 34221baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_capability{ 343654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3442e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long codec_types; 34521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long maxframe_width; 34621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long maxframe_height; 34721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long maxtarget_bitrate; 348654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3492e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long maxframe_rate; 35021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long input_formats; 35121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned char dvs; 35221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 353654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3542e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_entropycfg{ 35521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned longentropysel; 35621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long cabacmodel; 35721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 358654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3592e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_dbcfg{ 36021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long db_mode; 36121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long slicealpha_offset; 36221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long slicebeta_offset; 363654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3642e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber}; 36521baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_intrarefresh{ 36621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long irmode; 36721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long mbcount; 368654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3692e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber}; 37021baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_multiclicecfg{ 37121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long mslice_mode; 37221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long mslice_size; 373654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3742e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber}; 37521baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_bufferflush{ 37621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long flush_mode; 37721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 378654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3792e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_ratectrlcfg{ 38021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long rcmode; 38121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 38221baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_voptimingcfg{ 383654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3842e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long voptime_resolution; 38521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 38621baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_framerate{ 38721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long fps_denominator; 388654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3892e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long fps_numerator; 39021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 39121baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_targetbitrate{ 39221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long target_bitrate; 393654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3942e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber}; 39521baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_rotation{ 39621baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long rotation; 39721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 398654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3992e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_timeout{ 40021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long millisec; 40121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 40221baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_headerextension{ 403654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4042e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long header_extension; 40521baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 40621baae3d710df1ea85bf21552a7528e8994cad06Nick Pellystruct venc_msg{ 40721baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long statuscode; 408654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4092e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long msgcode; 41021baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly struct venc_buffer buf; 41121baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly unsigned long msgdata_size; 41221baae3d710df1ea85bf21552a7528e8994cad06Nick Pelly}; 4133fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4142e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huberstruct venc_recon_addr{ 4153fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George unsigned char *pbuffer; 4163fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George unsigned long buffer_size; 4173fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George unsigned long pmem_fd; 4183fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4192e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber unsigned long offset; 4203fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George}; 4213fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew Georgestruct venc_recon_buff_size{ 4223fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George int width; 4233fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4242e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber int height; 4253fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George int size; 4263fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George int alignment; 4273fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George}; 428654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 4292e0452cbd1f5b981fbadb4021198d2c27ec1cde3Andreas Huber#endif 4303fad2b17b9492188672381c42450a7bd3755c4afHaynes Mathew George 431