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__ 21 #include <linux/types.h> 22 #define MSM_VIDC_HAL_INTERLACE_COLOR_FORMAT_NV12 0x2 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define MSM_VIDC_HAL_INTERLACE_COLOR_FORMAT_NV12_UBWC 0x8002 25 struct msm_vidc_extradata_header { 26 unsigned int size; 27 unsigned int : 32; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 unsigned int : 32; 30 unsigned int type; 31 unsigned int data_size; 32 unsigned char data[1]; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 }; 35 struct msm_vidc_interlace_payload { 36 unsigned int format; 37 unsigned int color_format; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 }; 40 struct msm_vidc_framerate_payload { 41 unsigned int frame_rate; 42 }; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 struct msm_vidc_ts_payload { 45 unsigned int timestamp_lo; 46 unsigned int timestamp_hi; 47 }; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 struct msm_vidc_concealmb_payload { 50 unsigned int num_mbs; 51 }; 52 struct msm_vidc_recoverysei_payload { 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 unsigned int flags; 55 }; 56 struct msm_vidc_aspect_ratio_payload { 57 unsigned int size; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 unsigned int version; 60 unsigned int port_index; 61 unsigned int aspect_width; 62 unsigned int aspect_height; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 }; 65 struct msm_vidc_mpeg2_seqdisp_payload { 66 unsigned int video_format; 67 unsigned int color_descp; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 unsigned int color_primaries; 70 unsigned int transfer_char; 71 unsigned int matrix_coeffs; 72 unsigned int disp_width; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 unsigned int disp_height; 75 }; 76 struct msm_vidc_vc1_seqdisp_payload { 77 unsigned int prog_seg_format; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 unsigned int uv_sampl_fmt; 80 unsigned int color_format; 81 unsigned int color_primaries; 82 unsigned int transfer_char; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 unsigned int matrix_coeffs; 85 unsigned int aspect_ratio; 86 unsigned int aspect_horiz; 87 unsigned int aspect_vert; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 }; 90 struct msm_vidc_input_crop_payload { 91 unsigned int size; 92 unsigned int version; 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 unsigned int port_index; 95 unsigned int left; 96 unsigned int top; 97 unsigned int width; 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 unsigned int height; 100 }; 101 struct msm_vidc_output_crop_payload { 102 unsigned int size; 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 unsigned int version; 105 unsigned int port_index; 106 unsigned int left; 107 unsigned int top; 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 unsigned int display_width; 110 unsigned int display_height; 111 unsigned int width; 112 unsigned int height; 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 }; 115 struct msm_vidc_digital_zoom_payload { 116 unsigned int size; 117 unsigned int version; 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 unsigned int port_index; 120 unsigned int zoom_width; 121 unsigned int zoom_height; 122 }; 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 struct msm_vidc_extradata_index { 125 unsigned int type; 126 union { 127 struct msm_vidc_input_crop_payload input_crop; 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 struct msm_vidc_digital_zoom_payload digital_zoom; 130 struct msm_vidc_aspect_ratio_payload aspect_ratio; 131 }; 132 }; 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 struct msm_vidc_panscan_window { 135 unsigned int panscan_height_offset; 136 unsigned int panscan_width_offset; 137 unsigned int panscan_window_width; 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 unsigned int panscan_window_height; 140 }; 141 struct msm_vidc_panscan_window_payload { 142 unsigned int num_panscan_windows; 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 struct msm_vidc_panscan_window wnd[1]; 145 }; 146 struct msm_vidc_stream_userdata_payload { 147 unsigned int type; 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 unsigned int data[1]; 150 }; 151 struct msm_vidc_frame_qp_payload { 152 unsigned int frame_qp; 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 }; 155 struct msm_vidc_frame_bits_info_payload { 156 unsigned int frame_bits; 157 unsigned int header_bits; 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 }; 160 struct msm_vidc_s3d_frame_packing_payload { 161 unsigned int fpa_id; 162 unsigned int cancel_flag; 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 unsigned int fpa_type; 165 unsigned int quin_cunx_flag; 166 unsigned int content_interprtation_type; 167 unsigned int spatial_flipping_flag; 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 unsigned int frame0_flipped_flag; 170 unsigned int field_views_flag; 171 unsigned int current_frame_is_frame0_flag; 172 unsigned int frame0_self_contained_flag; 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 unsigned int frame1_self_contained_flag; 175 unsigned int frame0_graid_pos_x; 176 unsigned int frame0_graid_pos_y; 177 unsigned int frame1_graid_pos_x; 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 unsigned int frame1_graid_pos_y; 180 unsigned int fpa_reserved_byte; 181 unsigned int fpa_repetition_period; 182 unsigned int fpa_extension_flag; 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 }; 185 struct msm_vidc_vqzip_sei_payload { 186 unsigned int size; 187 unsigned int data[1]; 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 }; 190 struct msm_vidc_yuv_stats_payload { 191 unsigned int frame_qp; 192 unsigned int texture; 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 unsigned int luma_in_q16; 195 unsigned int frame_difference; 196 }; 197 struct msm_vidc_vpx_colorspace_payload { 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 unsigned int color_space; 200 unsigned int yuv_range_flag; 201 unsigned int sumsampling_x; 202 unsigned int sumsampling_y; 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 }; 205 struct msm_vidc_roi_qp_payload { 206 int upper_qp_offset; 207 int lower_qp_offset; 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 unsigned int b_roi_info; 210 int mbi_info_size; 211 unsigned int data[1]; 212 }; 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 struct msm_vidc_mastering_display_colour_sei_payload { 215 unsigned int nDisplayPrimariesX[3]; 216 unsigned int nDisplayPrimariesY[3]; 217 unsigned int nWhitePointX; 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 unsigned int nWhitePointY; 220 unsigned int nMaxDisplayMasteringLuminance; 221 unsigned int nMinDisplayMasteringLuminance; 222 }; 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 struct msm_vidc_content_light_level_sei_payload { 225 unsigned int nMaxContentLight; 226 unsigned int nMaxPicAverageLight; 227 }; 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 struct msm_vidc_vui_display_info_payload { 230 unsigned int video_signal_present_flag; 231 unsigned int video_format; 232 unsigned int bit_depth_y; 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 unsigned int bit_depth_c; 235 unsigned int video_full_range_flag; 236 unsigned int color_description_present_flag; 237 unsigned int color_primaries; 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 unsigned int transfer_characteristics; 240 unsigned int matrix_coefficients; 241 unsigned int chroma_location_info_present_flag; 242 unsigned int chroma_format_idc; 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 unsigned int separate_color_plane_flag; 245 unsigned int chroma_sample_loc_type_top_field; 246 unsigned int chroma_sample_loc_type_bottom_field; 247 }; 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 enum msm_vidc_extradata_type { 250 MSM_VIDC_EXTRADATA_NONE = 0x00000000, 251 MSM_VIDC_EXTRADATA_MB_QUANTIZATION = 0x00000001, 252 MSM_VIDC_EXTRADATA_INTERLACE_VIDEO = 0x00000002, 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 MSM_VIDC_EXTRADATA_VC1_FRAMEDISP = 0x00000003, 255 MSM_VIDC_EXTRADATA_VC1_SEQDISP = 0x00000004, 256 MSM_VIDC_EXTRADATA_TIMESTAMP = 0x00000005, 257 MSM_VIDC_EXTRADATA_S3D_FRAME_PACKING = 0x00000006, 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 MSM_VIDC_EXTRADATA_FRAME_RATE = 0x00000007, 260 MSM_VIDC_EXTRADATA_PANSCAN_WINDOW = 0x00000008, 261 MSM_VIDC_EXTRADATA_RECOVERY_POINT_SEI = 0x00000009, 262 MSM_VIDC_EXTRADATA_MPEG2_SEQDISP = 0x0000000D, 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 MSM_VIDC_EXTRADATA_STREAM_USERDATA = 0x0000000E, 265 MSM_VIDC_EXTRADATA_FRAME_QP = 0x0000000F, 266 MSM_VIDC_EXTRADATA_FRAME_BITS_INFO = 0x00000010, 267 MSM_VIDC_EXTRADATA_VQZIP_SEI = 0x00000011, 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 MSM_VIDC_EXTRADATA_ROI_QP = 0x00000013, 270 #define MSM_VIDC_EXTRADATA_MASTERING_DISPLAY_COLOUR_SEI MSM_VIDC_EXTRADATA_MASTERING_DISPLAY_COLOUR_SEI 271 MSM_VIDC_EXTRADATA_MASTERING_DISPLAY_COLOUR_SEI = 0x00000015, 272 #define MSM_VIDC_EXTRADATA_CONTENT_LIGHT_LEVEL_SEI MSM_VIDC_EXTRADATA_CONTENT_LIGHT_LEVEL_SEI 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 MSM_VIDC_EXTRADATA_CONTENT_LIGHT_LEVEL_SEI = 0x00000016, 275 MSM_VIDC_EXTRADATA_INPUT_CROP = 0x0700000E, 276 #define MSM_VIDC_EXTRADATA_OUTPUT_CROP MSM_VIDC_EXTRADATA_OUTPUT_CROP 277 MSM_VIDC_EXTRADATA_OUTPUT_CROP = 0x0700000F, 278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279 MSM_VIDC_EXTRADATA_DIGITAL_ZOOM = 0x07000010, 280 #define MSM_VIDC_EXTRADATA_VPX_COLORSPACE_INFO MSM_VIDC_EXTRADATA_VPX_COLORSPACE_INFO 281 MSM_VIDC_EXTRADATA_VPX_COLORSPACE_INFO = 0x070000011, 282 MSM_VIDC_EXTRADATA_MULTISLICE_INFO = 0x7F100000, 283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 MSM_VIDC_EXTRADATA_NUM_CONCEALED_MB = 0x7F100001, 285 MSM_VIDC_EXTRADATA_INDEX = 0x7F100002, 286 MSM_VIDC_EXTRADATA_ASPECT_RATIO = 0x7F100003, 287 MSM_VIDC_EXTRADATA_METADATA_LTR = 0x7F100004, 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 MSM_VIDC_EXTRADATA_METADATA_FILLER = 0x7FE00002, 290 MSM_VIDC_EXTRADATA_METADATA_MBI = 0x7F100005, 291 #define MSM_VIDC_EXTRADATA_VUI_DISPLAY_INFO MSM_VIDC_EXTRADATA_VUI_DISPLAY_INFO 292 MSM_VIDC_EXTRADATA_VUI_DISPLAY_INFO = 0x7F100006, 293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 MSM_VIDC_EXTRADATA_YUVSTATS_INFO = 0x7F100007, 295 }; 296 enum msm_vidc_interlace_type { 297 MSM_VIDC_INTERLACE_FRAME_PROGRESSIVE = 0x01, 298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299 MSM_VIDC_INTERLACE_INTERLEAVE_FRAME_TOPFIELDFIRST = 0x02, 300 MSM_VIDC_INTERLACE_INTERLEAVE_FRAME_BOTTOMFIELDFIRST = 0x04, 301 MSM_VIDC_INTERLACE_FRAME_TOPFIELDFIRST = 0x08, 302 MSM_VIDC_INTERLACE_FRAME_BOTTOMFIELDFIRST = 0x10, 303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304 }; 305 #define MSM_VIDC_FRAMEPACK_CHECKERBOARD 0x00 306 #define MSM_VIDC_FRAMEPACK_COLUMN_INTERLEAVE 0x01 307 #define MSM_VIDC_FRAMEPACK_ROW_INTERLEAVE 0x02 308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309 #define MSM_VIDC_FRAMEPACK_SIDE_BY_SIDE 0x03 310 #define MSM_VIDC_FRAMEPACK_TOP_BOTTOM 0x04 311 #define MSM_VIDC_FRAMEPACK_TEMPORAL_INTERLEAVE 0x05 312 enum msm_vidc_recovery_sei { 313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314 MSM_VIDC_FRAME_RECONSTRUCTION_INCORRECT = 0x0, 315 MSM_VIDC_FRAME_RECONSTRUCTION_CORRECT = 0x01, 316 MSM_VIDC_FRAME_RECONSTRUCTION_APPROXIMATELY_CORRECT = 0x02, 317 }; 318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319 enum msm_vidc_userdata_type { 320 MSM_VIDC_USERDATA_TYPE_FRAME = 0x1, 321 MSM_VIDC_USERDATA_TYPE_TOP_FIELD = 0x2, 322 MSM_VIDC_USERDATA_TYPE_BOTTOM_FIELD = 0x3, 323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324 }; 325 enum msm_vidc_h264_color_primaries_values { 326 MSM_VIDC_RESERVED_1 = 0, 327 MSM_VIDC_BT709_5 = 1, 328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329 MSM_VIDC_UNSPECIFIED = 2, 330 MSM_VIDC_RESERVED_2 = 3, 331 MSM_VIDC_BT470_6_M = 4, 332 MSM_VIDC_BT601_6_625 = 5, 333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 334 MSM_VIDC_BT470_6_BG = MSM_VIDC_BT601_6_625, 335 MSM_VIDC_BT601_6_525 = 6, 336 MSM_VIDC_SMPTE_240M = 7, 337 MSM_VIDC_GENERIC_FILM = 8, 338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 339 MSM_VIDC_BT2020 = 9, 340 }; 341 enum msm_vidc_vp9_color_primaries_values { 342 MSM_VIDC_CS_UNKNOWN, 343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 344 MSM_VIDC_CS_BT_601, 345 MSM_VIDC_CS_BT_709, 346 MSM_VIDC_CS_SMPTE_170, 347 MSM_VIDC_CS_SMPTE_240, 348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 349 MSM_VIDC_CS_BT_2020, 350 MSM_VIDC_CS_RESERVED, 351 MSM_VIDC_CS_RGB, 352 }; 353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 354 enum msm_vidc_h264_matrix_coeff_values { 355 MSM_VIDC_MATRIX_RGB = 0, 356 MSM_VIDC_MATRIX_BT_709_5 = 1, 357 MSM_VIDC_MATRIX_UNSPECIFIED = 2, 358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 359 MSM_VIDC_MATRIX_RESERVED = 3, 360 MSM_VIDC_MATRIX_FCC_47 = 4, 361 MSM_VIDC_MATRIX_601_6_625 = 5, 362 MSM_VIDC_MATRIX_BT470_BG = MSM_VIDC_MATRIX_601_6_625, 363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 364 MSM_VIDC_MATRIX_601_6_525 = 6, 365 MSM_VIDC_MATRIX_SMPTE_170M = MSM_VIDC_MATRIX_601_6_525, 366 MSM_VIDC_MATRIX_SMPTE_240M = 7, 367 MSM_VIDC_MATRIX_Y_CG_CO = 8, 368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 369 MSM_VIDC_MATRIX_BT_2020 = 9, 370 MSM_VIDC_MATRIX_BT_2020_CONST = 10, 371 }; 372 enum msm_vidc_h264_transfer_chars_values { 373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 374 MSM_VIDC_TRANSFER_RESERVED_1 = 0, 375 MSM_VIDC_TRANSFER_BT709_5 = 1, 376 MSM_VIDC_TRANSFER_UNSPECIFIED = 2, 377 MSM_VIDC_TRANSFER_RESERVED_2 = 3, 378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 379 MSM_VIDC_TRANSFER_BT_470_6_M = 4, 380 MSM_VIDC_TRANSFER_BT_470_6_BG = 5, 381 MSM_VIDC_TRANSFER_601_6_625 = 6, 382 MSM_VIDC_TRANSFER_601_6_525 = MSM_VIDC_TRANSFER_601_6_625, 383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 384 MSM_VIDC_TRANSFER_SMPTE_240M = 7, 385 MSM_VIDC_TRANSFER_LINEAR = 8, 386 MSM_VIDC_TRANSFER_LOG_100_1 = 9, 387 MSM_VIDC_TRANSFER_LOG_100_SQRT10_1 = 10, 388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 389 MSM_VIDC_TRANSFER_IEC_61966 = 11, 390 MSM_VIDC_TRANSFER_BT_1361 = 12, 391 MSM_VIDC_TRANSFER_SRGB = 13, 392 MSM_VIDC_TRANSFER_BT_2020_10 = 14, 393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 394 MSM_VIDC_TRANSFER_BT_2020_12 = 15, 395 }; 396 enum msm_vidc_pixel_depth { 397 MSM_VIDC_BIT_DEPTH_8, 398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 399 MSM_VIDC_BIT_DEPTH_10, 400 MSM_VIDC_BIT_DEPTH_UNSUPPORTED = 0XFFFFFFFF, 401 }; 402 enum msm_vidc_video_format { 403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 404 MSM_VIDC_COMPONENT, 405 MSM_VIDC_PAL, 406 MSM_VIDC_NTSC, 407 MSM_VIDC_SECAM, 408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 409 MSM_VIDC_MAC, 410 MSM_VIDC_UNSPECIFIED_FORMAT, 411 MSM_VIDC_RESERVED_1_FORMAT, 412 MSM_VIDC_RESERVED_2_FORMAT, 413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 414 }; 415 enum msm_vidc_color_desc_flag { 416 MSM_VIDC_COLOR_DESC_NOT_PRESENT, 417 MSM_VIDC_COLOR_DESC_PRESENT, 418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 419 }; 420 #define MSM_VIDC_PIC_STRUCT_MAYBE_INTERLACED 0x0 421 #define MSM_VIDC_PIC_STRUCT_PROGRESSIVE 0x1 422 #endif 423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 424 425