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 *** 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 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef _MSM_VIDC_H_ 20#define _MSM_VIDC_H_ 21struct msm_vidc_interlace_payload { 22 unsigned int format; 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24}; 25struct msm_vidc_framerate_payload { 26 unsigned int frame_rate; 27}; 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29struct msm_vidc_ts_payload { 30 unsigned int timestamp_lo; 31 unsigned int timestamp_hi; 32}; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34struct msm_vidc_concealmb_payload { 35 unsigned int num_mbs; 36}; 37struct msm_vidc_recoverysei_payload { 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 unsigned int flags; 40}; 41struct msm_vidc_aspect_ratio_payload { 42 unsigned int size; 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 unsigned int version; 45 unsigned int port_index; 46 unsigned int aspect_width; 47 unsigned int aspect_height; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49}; 50struct msm_vidc_mpeg2_seqdisp_payload { 51 unsigned int video_format; 52 bool color_descp; 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 unsigned int color_primaries; 55 unsigned int transfer_char; 56 unsigned int matrix_coeffs; 57 unsigned int disp_width; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 unsigned int disp_height; 60}; 61struct msm_vidc_panscan_window { 62 unsigned int panscan_height_offset; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 unsigned int panscan_width_offset; 65 unsigned int panscan_window_width; 66 unsigned int panscan_window_height; 67}; 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69struct msm_vidc_panscan_window_payload { 70 unsigned int num_panscan_windows; 71 struct msm_vidc_panscan_window wnd[1]; 72}; 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74enum msm_vidc_extradata_type { 75 EXTRADATA_NONE = 0x00000000, 76 EXTRADATA_MB_QUANTIZATION = 0x00000001, 77 EXTRADATA_INTERLACE_VIDEO = 0x00000002, 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 EXTRADATA_VC1_FRAMEDISP = 0x00000003, 80 EXTRADATA_VC1_SEQDISP = 0x00000004, 81 EXTRADATA_TIMESTAMP = 0x00000005, 82 EXTRADATA_S3D_FRAME_PACKING = 0x00000006, 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 EXTRADATA_FRAME_RATE = 0x00000007, 85 EXTRADATA_PANSCAN_WINDOW = 0x00000008, 86 EXTRADATA_RECOVERY_POINT_SEI = 0x00000009, 87 EXTRADATA_MPEG2_SEQDISP = 0x0000000D, 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 EXTRADATA_MULTISLICE_INFO = 0x7F100000, 90 EXTRADATA_NUM_CONCEALED_MB = 0x7F100001, 91 EXTRADATA_INDEX = 0x7F100002, 92 EXTRADATA_ASPECT_RATIO = 0x7F100003, 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 EXTRADATA_METADATA_FILLER = 0x7FE00002, 95}; 96enum msm_vidc_interlace_type { 97 INTERLACE_FRAME_PROGRESSIVE = 0x01, 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 INTERLACE_INTERLEAVE_FRAME_TOPFIELDFIRST = 0x02, 100 INTERLACE_INTERLEAVE_FRAME_BOTTOMFIELDFIRST = 0x04, 101 INTERLACE_FRAME_TOPFIELDFIRST = 0x08, 102 INTERLACE_FRAME_BOTTOMFIELDFIRST = 0x10, 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104}; 105enum msm_vidc_recovery_sei { 106 FRAME_RECONSTRUCTION_INCORRECT = 0x0, 107 FRAME_RECONSTRUCTION_CORRECT = 0x01, 108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 FRAME_RECONSTRUCTION_APPROXIMATELY_CORRECT = 0x02, 110}; 111#endif 112