FFmpeg
Functions | Variables
mxf.c File Reference
#include "libavutil/common.h"
#include "libavcodec/codec_id.h"
#include "mxf.h"

Go to the source code of this file.

Functions

int ff_mxf_decode_pixel_layout (const char pixel_layout[16], enum AVPixelFormat *pix_fmt)
 
int ff_mxf_get_content_package_rate (AVRational time_base)
 

Variables

const uint8_t ff_mxf_random_index_pack_key [16] = { 0x06,0x0e,0x2b,0x34,0x02,0x05,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x11,0x01,0x00 }
 
const MXFCodecUL ff_mxf_data_definition_uls []
 SMPTE RP224 http://www.smpte-ra.org/mdd/index.html. More...
 
const MXFCodecUL ff_mxf_codec_uls []
 
const MXFCodecUL ff_mxf_pixel_format_uls []
 
const MXFCodecUL ff_mxf_codec_tag_uls []
 
const MXFCodecUL ff_mxf_color_primaries_uls []
 
const MXFCodecUL ff_mxf_color_trc_uls []
 
const MXFCodecUL ff_mxf_color_space_uls []
 
struct {
   enum AVPixelFormat   pix_fmt
 
   const char   data [16]
 
ff_mxf_pixel_layouts []
 
static const int num_pixel_layouts = FF_ARRAY_ELEMS(ff_mxf_pixel_layouts)
 
static const MXFContentPackageRate mxf_content_package_rates []
 See SMPTE 326M-2000 Section 7.2 Content package rate MXFContentPackageRate->rate is bits b5..b0. More...
 

Function Documentation

◆ ff_mxf_decode_pixel_layout()

int ff_mxf_decode_pixel_layout ( const char  pixel_layout[16],
enum AVPixelFormat pix_fmt 
)

Definition at line 178 of file mxf.c.

Referenced by mxf_read_pixel_layout().

◆ ff_mxf_get_content_package_rate()

int ff_mxf_get_content_package_rate ( AVRational  time_base)

Definition at line 220 of file mxf.c.

Referenced by mxf_init(), and mxf_init_timecode().

Variable Documentation

◆ ff_mxf_random_index_pack_key

const uint8_t ff_mxf_random_index_pack_key[16] = { 0x06,0x0e,0x2b,0x34,0x02,0x05,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x11,0x01,0x00 }

Definition at line 26 of file mxf.c.

Referenced by mxf_read_header(), mxf_read_random_index_pack(), and mxf_write_random_index_pack().

◆ ff_mxf_data_definition_uls

const MXFCodecUL ff_mxf_data_definition_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x01,0x00,0x00,0x00 }, 13, AVMEDIA_TYPE_VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x02,0x00,0x00,0x00 }, 13, AVMEDIA_TYPE_AUDIO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x03,0x00,0x00,0x00 }, 13, AVMEDIA_TYPE_DATA },
{ { 0x80,0x7D,0x00,0x60,0x08,0x14,0x3E,0x6F,0x6F,0x3C,0x8C,0xE1,0x6C,0xEF,0x11,0xD2 }, 16, AVMEDIA_TYPE_VIDEO },
{ { 0x80,0x7D,0x00,0x60,0x08,0x14,0x3E,0x6F,0x78,0xE1,0xEB,0xE1,0x6C,0xEF,0x11,0xD2 }, 16, AVMEDIA_TYPE_AUDIO },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AVMEDIA_TYPE_DATA },
}

SMPTE RP224 http://www.smpte-ra.org/mdd/index.html.

Definition at line 31 of file mxf.c.

Referenced by mxf_add_metadata_stream(), mxf_parse_structural_metadata(), and mxf_write_common_fields().

◆ ff_mxf_codec_uls

const MXFCodecUL ff_mxf_codec_uls[]

Definition at line 40 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

◆ ff_mxf_pixel_format_uls

const MXFCodecUL ff_mxf_pixel_format_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x01,0x01 }, 16, AV_PIX_FMT_UYVY422 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x01,0x02 }, 16, AV_PIX_FMT_YUYV422 },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_PIX_FMT_NONE },
}

Definition at line 87 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

◆ ff_mxf_codec_tag_uls

const MXFCodecUL ff_mxf_codec_tag_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0E,0x04,0x03,0x01,0x01,0x03,0x01,0x00 }, 15, MKTAG('A', 'V', 'u', 'p') },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, 0 },
}

Definition at line 93 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

◆ ff_mxf_color_primaries_uls

const MXFCodecUL ff_mxf_color_primaries_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x03,0x01,0x00,0x00 }, 14, AVCOL_PRI_SMPTE170M },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x03,0x02,0x00,0x00 }, 14, AVCOL_PRI_BT470BG },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x03,0x03,0x00,0x00 }, 14, AVCOL_PRI_BT709 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x03,0x04,0x00,0x00 }, 14, AVCOL_PRI_BT2020 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x03,0x05,0x00,0x00 }, 14, AVCOL_PRI_SMPTE428 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x03,0x06,0x00,0x00 }, 14, AVCOL_PRI_SMPTE432 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x03,0x08,0x00,0x00 }, 14, AVCOL_PRI_SMPTE428 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x03,0x0a,0x00,0x00 }, 14, AVCOL_PRI_SMPTE431 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x03,0x01,0x00,0x00 }, 14, AVCOL_PRI_SMPTE240M },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AVCOL_PRI_UNSPECIFIED },
}

Definition at line 98 of file mxf.c.

Referenced by mxf_parse_structural_metadata(), and mxf_write_cdci_common().

◆ ff_mxf_color_trc_uls

const MXFCodecUL ff_mxf_color_trc_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00 }, 14, AVCOL_TRC_GAMMA22 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x02,0x00,0x00 }, 14, AVCOL_TRC_BT709 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x03,0x00,0x00 }, 14, AVCOL_TRC_SMPTE240M },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x04,0x00,0x00 }, 14, AVCOL_TRC_BT709 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x05,0x00,0x00 }, 14, AVCOL_TRC_BT1361_ECG },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x06,0x00,0x00 }, 14, AVCOL_TRC_LINEAR },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x08,0x04,0x01,0x01,0x01,0x01,0x07,0x00,0x00 }, 14, AVCOL_TRC_SMPTE428 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x01,0x08,0x00,0x00 }, 14, AVCOL_TRC_IEC61966_2_4 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0E,0x04,0x01,0x01,0x01,0x01,0x09,0x00,0x00 }, 14, AVCOL_TRC_BT2020_10 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x01,0x0A,0x00,0x00 }, 14, AVCOL_TRC_SMPTE2084 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x01,0x0B,0x00,0x00 }, 14, AVCOL_TRC_ARIB_STD_B67 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00 }, 14, AVCOL_TRC_GAMMA28 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x02,0x00,0x00 }, 14, AVCOL_TRC_SMPTE170M },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0E,0x04,0x01,0x01,0x01,0x01,0x09,0x00,0x00 }, 14, AVCOL_TRC_BT2020_12 },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AVCOL_TRC_UNSPECIFIED },
}

Definition at line 113 of file mxf.c.

Referenced by mxf_parse_structural_metadata(), and mxf_write_cdci_common().

◆ ff_mxf_color_space_uls

const MXFCodecUL ff_mxf_color_space_uls[]
Initial value:
= {
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x02,0x01,0x00,0x00 }, 14, AVCOL_SPC_BT470BG },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x02,0x02,0x00,0x00 }, 14, AVCOL_SPC_BT709 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x02,0x03,0x00,0x00 }, 14, AVCOL_SPC_SMPTE240M },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x02,0x04,0x00,0x00 }, 14, AVCOL_SPC_YCGCO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x02,0x05,0x00,0x00 }, 14, AVCOL_SPC_RGB },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x01,0x01,0x02,0x06,0x00,0x00 }, 14, AVCOL_SPC_BT2020_NCL },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x02,0x01,0x00,0x00 }, 14, AVCOL_SPC_SMPTE170M },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AVCOL_SPC_UNSPECIFIED },
}

Definition at line 134 of file mxf.c.

Referenced by mxf_parse_structural_metadata(), and mxf_write_cdci_common().

◆ pix_fmt

enum AVPixelFormat pix_fmt

Definition at line 148 of file mxf.c.

Referenced by ff_mxf_decode_pixel_layout().

◆ data

const char data[16]
Examples
decode_audio.c, decode_video.c, filter_audio.c, and scale_video.c.

Definition at line 149 of file mxf.c.

Referenced by aac_parse_packet(), ac3_close_context(), ac3_handle_packet(), adaptive_cb_search(), add_side_data_from_buf_ext(), alloc_plane(), allocate_model(), amr_init(), amr_parse_fmtp(), amr_parse_sdp_line(), append_flv_data(), apply_film_grain(), apply_filter(), apply_grain_row(), apply_lut(), apply_param_change(), asf_deinterleave(), av1_parser_parse(), av_audio_fifo_peek(), av_audio_fifo_peek_at(), av_audio_fifo_read(), av_audio_fifo_write(), av_blowfish_init(), av_bprint_append_data(), av_buffer_alloc(), av_buffer_create(), av_buffer_default_free(), av_buffer_realloc(), av_dct_calc(), av_dovi_find_level(), av_dovi_get_color(), av_dovi_get_ext(), av_dovi_get_header(), av_dovi_get_mapping(), av_dynamic_hdr_plus_from_t35(), av_dynamic_hdr_plus_to_t35(), av_frame_get_plane_buffer(), av_hmac_calc(), av_hmac_update(), av_image_fill_pointers(), av_lfg_init_from_data(), av_opt_is_set_to_default(), av_packet_add_side_data(), av_packet_from_data(), av_packet_new_side_data(), av_packet_pack_dictionary(), av_packet_side_data_add(), av_packet_side_data_free(), av_packet_side_data_new(), av_packet_side_data_remove(), av_packet_unpack_dictionary(), av_rdft_calc(), av_read_image_line(), av_read_image_line2(), av_ripemd_update(), av_sha512_update(), av_sha_update(), av_write_image_line(), av_write_image_line2(), avc_h_loop_filter_luma_mbaff_msa(), avc_loopfilter_cb_or_cr_inter_edge_hor_msa(), avc_loopfilter_cb_or_cr_inter_edge_ver_msa(), avc_loopfilter_luma_inter_edge_hor_msa(), avc_loopfilter_luma_intra_edge_hor_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), avc_wgt_4x2_msa(), avc_wgt_4x4_msa(), avc_wgt_4x8_msa(), avc_wgt_8x16_msa(), avc_wgt_8x4_msa(), avc_wgt_8x8_msa(), avdevice_app_to_dev_control_message(), avdevice_dev_to_app_control_message(), avformat_find_stream_info(), avi_extract_stream_metadata(), bitplane_decoding(), blur(), bswap_buf24(), buffer_create(), calc_masking(), calc_power(), calc_rice_params(), calc_sum_top(), calculate_skip_errors(), cbcs_scheme_decrypt(), cbs_av1_split_fragment(), cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_write_slice_data(), cbs_insert_unit_data(), cbs_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_read_data(), cbs_vp9_assemble_fragment(), cdg_border_preset(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), cdtoons_render_sprite(), celt_denormalize(), celt_postfilter_apply_transition(), cens_scheme_decrypt(), cfhd_decode(), cfhd_encode_frame(), check_image_fill(), check_image_fill_black(), check_image_pointers(), check_multiply3x3(), check_pixfmt_descriptors(), cinepak_decode_codebook(), cinepak_decode_strip(), cinepak_decode_vectors(), cinepak_predecode_check(), close_context(), column_fidct_c(), compact_print_section_header(), concat_close(), concat_read(), concat_seek(), conv(), convert(), convert_frame_partial(), convert_mask_to_strength_mask(), convolve_sobel(), copy_bits(), copy_to_pbr(), copy_weights(), cover_rect(), crc32(), create_map(), cuda_buffer_free(), cuda_pool_alloc(), d3d12va_encode_free_buffer(), d3d12va_encode_get_buffer_size(), d3d12va_encode_hevc_write_access_unit(), d3d12va_encode_hevc_write_sequence_header(), d3d12va_encode_issue(), d3d12va_transfer_data(), dash_write_packet(), data_open(), deblocking_filter_CTB(), decode_13(), decode_audio_specific_config(), decode_data_free(), decode_delta_l(), decode_extradata(), decode_extradata_ps(), decode_frame(), decode_frame_header(), decode_huff(), decode_plane(), decode_short_horizontal_delta(), decode_text_chunk(), decode_tiles(), decode_v1_vector(), decode_v4_vector(), decode_zbuf(), decrypt_nal_unit(), decrypt_sync_frame(), describe_payload(), destroy_avvkbuf(), destroy_imageviews(), destroy_tmp_semaphores(), dnn_detect_post_proc_tf(), dnxhd_decode_row(), do_apply_filter(), do_denoise(), dss_sp_byte_swap(), dump_paramchange(), dv100_idct_put_last_row_field_chroma(), dv100_idct_put_last_row_field_luma(), dv_assemble_frame(), dv_close_context(), dv_guess_dct_mode(), dv_init_enc_block(), dv_revise_cnos(), dvdsub_parse_extradata(), dwt_decode97_float(), dwt_decode97_int(), dwt_haar(), ebml_writer_add_bin(), ebml_writer_elem_write(), ebml_writer_write_block(), encode(), encode_all_blocks(), encode_frame(), encode_line(), encode_make_refcounted(), error_callback(), estimate_best_b_count(), extract_extradata_av1(), extract_extradata_h2645(), extract_extradata_mpeg12(), extract_extradata_mpeg4(), extract_extradata_vc1(), fast_convolute(), fast_convolute_nonlinear(), ff_add_param_change(), ff_alloc_a53_sei(), ff_alloc_timecode_sei(), ff_AMediaFormat_getBuffer(), ff_AMediaFormat_setBuffer(), ff_amf_get_field_value(), ff_amf_match_string(), ff_amf_receive_packet(), ff_amf_tag_size(), ff_amr_bit_reorder(), ff_aom_apply_film_grain(), ff_asfcrypt_dec(), ff_calculate_bounding_box(), ff_cbs_append_unit_data(), ff_cbs_read(), ff_cuda_load_module(), ff_dca_core_parse(), ff_dca_core_parse_exss(), ff_dca_exss_parse(), ff_dca_lbr_parse(), ff_dca_xll_parse(), ff_dxva2_commit_buffer(), ff_faandct(), ff_faandct248(), ff_fdct248_islow(), ff_fdct_ifast(), ff_fdct_ifast248(), ff_flac_parse_picture(), ff_generate_avci_extradata(), ff_h264_decode_extradata(), ff_h264_h_lpf_chroma_inter_msa(), ff_h264_h_lpf_chroma_intra_msa(), ff_h264_h_lpf_luma_8_lasx(), ff_h264_h_lpf_luma_inter_msa(), ff_h264_h_lpf_luma_intra_8_lasx(), ff_h264_h_lpf_luma_intra_msa(), ff_h264_v_lpf_chroma_inter_msa(), ff_h264_v_lpf_chroma_intra_msa(), ff_h264_v_lpf_luma_8_lasx(), ff_h264_v_lpf_luma_inter_msa(), ff_h264_v_lpf_luma_intra_8_lasx(), ff_h264_v_lpf_luma_intra_msa(), ff_hevc_cabac_init(), ff_hevc_decode_extradata(), ff_hex_to_data(), ff_hwframe_unmap(), ff_irms(), ff_isom_get_vpcc_features(), ff_isom_write_avcc(), ff_isom_write_evcc(), ff_isom_write_hvcc(), ff_isom_write_lhvc(), ff_isom_write_vpcc(), ff_isom_write_vvcc(), ff_j_rev_dct(), ff_j_rev_dct1(), ff_j_rev_dct2(), ff_j_rev_dct4(), ff_jpeg_fdct_islow(), ff_load_image(), ff_mediacodec_dec_receive(), ff_mediacodec_dec_send(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mlp_pack_output(), ff_mxf_decode_pixel_layout(), ff_opus_rc_dec_init(), ff_parse_a53_cc(), ff_parse_fmtp(), ff_parse_itu_t_t35_to_dynamic_hdr_vivid(), ff_rms(), ff_sbc_crc8(), ff_side_data_update_matrix_encoding(), ff_vaapi_decode_make_param_buffer(), ff_vaapi_encode_init(), ff_vaapi_vpp_make_param_buffers(), ff_videotoolbox_alloc_frame(), ff_videotoolbox_av1c_extradata_create(), ff_videotoolbox_avcc_extradata_create(), ff_videotoolbox_hvcc_extradata_create(), ff_videotoolbox_vpcc_extradata_create(), ff_vk_decode_add_slice(), ff_vk_exec_get_query(), ff_vk_get_pooled_buffer(), ff_vulkan_write_global_header(), ff_vvc_lmcs_filter(), ff_wv_parse_header(), ffat_decode_callback(), ffat_encode_callback(), ffio_read_indirect(), ffmmal_add_packet(), ffmmal_release_frame(), fguv_32x32xn_c(), fgy_32x32xn_c(), fifo_consumer_thread(), fifo_overflow_drop_test(), fifo_test_packet(), fill_buf(), fill_texture_ptrs(), fill_yuv_image(), filter181(), filter_channel(), filter_command_free(), filter_frame(), filter_opt_apply(), filter_slice(), filter_slice_packed(), filter_slice_planar(), find_best_vect(), find_sample_match(), fixed_cb_search(), flac_read_timestamp(), flashsv2_prime(), flush_packet(), flv_write_codec_header(), flv_write_packet(), frame_block_to_cell(), frame_data_apply(), frame_data_free(), frame_hash(), free_buffer(), free_data_buf(), free_frame(), free_plane(), free_texture(), generate_grain_uv_c(), generate_grain_y_c(), get_bilinear_sample(), get_frame_side_data_type(), get_input(), get_match_score(), get_metadata(), get_packet_side_data_type(), get_pixel_format(), get_raw_string_type(), get_stream_group_type(), gif_parse_packet(), gif_read_header(), glslc_shader_compile(), h263_close_context(), h263_handle_packet(), h264_close_context(), h264_fill_mbaff_ref_list(), h264_handle_packet(), h264_metadata_handle_display_orientation(), h26x_prefix_aud(), handle_klv(), handle_packets(), hb_fir_filter(), hex_to_data(), hls_decode_entry_wpp(), hls_slice_data_wpp(), hwdevice_ctx_free(), hwframe_ctx_free(), id3v2_put_priv(), iec61883_callback(), ilbc_parse_sdp_line(), import_pem(), infer_completion_callback(), info_callback(), init_axis_color(), init_base_units(), init_ralf_vlc(), init_sec_buffer(), initializations(), inverse_channel_transform(), jpeg_put_comments(), kmsgrab_free_desc(), kmsgrab_free_frame(), latm_close_context(), latm_parse_packet(), latm_parse_sdp_line(), lavfi_free_frame(), libdav1d_picture_allocator(), libdav1d_receive_frame_internal(), libdav1d_user_data_free(), libjxl_encode_frame(), libopenjpeg_encode_frame(), libshine_encode_frame(), LLVMFuzzerTestOneInput(), loco_decode_plane(), loco_predict(), log_callback(), lpc_apply_welch_window_c(), lpc_compute_autocorr_c(), lut_packed_16bits(), lut_planar_16bits(), main(), mediacodec_wrap_sw_audio_buffer(), mediacodec_wrap_sw_buffer(), mediacodec_wrap_sw_video_buffer(), mediaformat_jni_getBuffer(), mediaformat_jni_setBuffer(), mediaformat_ndk_getBuffer(), mediaformat_ndk_setBuffer(), merge_superframe(), message(), mf_sample_to_avpacket(), mf_v_avframe_to_sample(), mjpeg_decode_scan(), mjpeg_idct_scan_progressive_ac(), mlp_encode_frame(), mov_create_timecode_track(), mov_read_iprp(), mov_write_string_data_tag(), mov_write_subtitle_end_packet(), mpa_robust_close_context(), mpa_robust_parse_packet(), mpegts_close_context(), mpegts_handle_packet(), mpegts_init(), mpegts_raw_read_packet(), mpegts_read_header(), mpegts_write_nit(), mpegts_write_packet_internal(), mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), multiswap_dec(), multiswap_enc(), nearest_sample_index(), nvdec_unmap_mapped_frame(), ogg_buffer_data(), old_flac_header(), opencl_pool_free(), opengl_control_message(), opengl_get_plane_pointer(), opus_decode_frame(), opus_decode_redundancy(), output_immediate(), p8idct(), packet_side_data_add(), parse(), parse_feedback_units(), parse_fmtp(), parse_frame(), parse_frame_no_pbr(), parse_frame_pbr(), parse_heatmaps(), parse_nal_units(), parse_packet(), parse_sdp_line(), png_write_row(), pointer_at(), postfilter_c(), postprocess(), precalc(), predict_slice(), pulse_control_message(), qcelp_parse_packet(), qdm2_packet_checksum(), qdm2_restore_block(), qsv_pool_release(), qtrle_encode_line(), quantize(), ra144_encode_subblock(), radix_count(), radix_sort(), radix_sort_pass(), rd_frame(), rd_strip(), read_binary(), read_ints(), read_packet(), read_var_byte(), read_weights(), receive_locked(), redspark_probe(), redspark_read_header(), remove_scep_3_bytes(), render_default_font(), render_freetype(), request_frame(), return_stored_frame(), rfc4175_finalize_packet(), rfc4175_handle_packet(), rfc4175_parse_fmtp(), rfc4175_parse_format(), rfc4175_parse_sdp_line(), rkmpp_release_frame(), rle(), rotate_faulty_loco(), row_fdct(), row_fdct_c(), rtp_parse_mp4_au(), sample_queue_push(), sbc_parse_header(), sbc_unpack_frame(), sdl2_write_packet(), seqvideo_decode(), set_bit(), set_extradata(), set_frame(), setup_roi(), shdc_shader_compile(), speex_decode_stereo(), speex_std_stereo(), store_icy(), store_packet(), subtitle_free(), sup_write_packet(), test(), test_encode_decode(), test_encrypt(), test_postfilter(), tls_read_cb(), tls_write(), tls_write_cb(), tm2_high_chroma(), tm2_low_chroma(), tq_receive(), tq_send(), uncoded_frame_free(), update_metadata(), v4l2_bufref_to_buf(), vaapi_buffer_free(), vaapi_encode_av1_write_extra_header(), vaapi_encode_av1_write_obu(), vaapi_encode_av1_write_picture_header(), vaapi_encode_av1_write_sequence_header(), vaapi_encode_h264_write_access_unit(), vaapi_encode_h264_write_extra_header(), vaapi_encode_h264_write_sequence_header(), vaapi_encode_h264_write_slice_header(), vaapi_encode_h265_write_access_unit(), vaapi_encode_h265_write_extra_header(), vaapi_encode_h265_write_sequence_header(), vaapi_encode_h265_write_slice_header(), vaapi_encode_issue(), vaapi_encode_make_misc_param_buffer(), vaapi_encode_make_packed_header(), vaapi_encode_make_param_buffer(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mjpeg_write_extra_buffer(), vaapi_encode_mjpeg_write_image_header(), vaapi_encode_mpeg2_write_fragment(), vaapi_encode_mpeg2_write_picture_header(), vaapi_encode_mpeg2_write_sequence_header(), vaapi_encode_vp8_write_quant_table(), vaapi_vp8_decode_slice(), vc2_subband_dwt_53(), vc2_subband_dwt_97(), vc2_subband_dwt_haar(), vc2_subband_dwt_haar_shift(), vdpau_buffer_free(), vdpau_transfer_data_from(), vdpau_transfer_data_to(), vertClassify_altivec(), video_audio_display(), video_frame_cksum(), videotoolbox_buffer_release(), vk_av1_decode_slice(), vk_av1_free_frame_priv(), vk_dbg_callback(), vk_decode_free_params(), vk_h264_decode_slice(), vk_h264_free_frame_priv(), vk_hevc_decode_slice(), vk_hevc_free_frame_priv(), vp9_decode_frame(), vulkan_frame_free_cb(), vulkan_transfer_frame(), warning_callback(), wavarc_read_header(), wrapped_avframe_encode(), wrapped_avframe_release_buffer(), write_absolute(), write_access_unit(), write_codec_attr(), write_configuration_record(), write_delta(), write_extra_headers(), write_filler(), write_hint_packets(), write_picture(), write_run(), write_sequence_headers(), write_sm_data(), write_yskip(), writeout(), writer_print_data(), writer_print_data_hash(), writer_print_integers(), writer_print_section_header(), ws_snd_decode_frame(), xcbgrab_frame(), xiph_close_context(), xiph_handle_packet(), xiph_parse_sdp_line(), xml_print_section_header(), xmv_fetch_video_packet(), xmv_process_packet_header(), xmv_read_extradata(), and xv_write_packet().

◆ ff_mxf_pixel_layouts

const { ... } ff_mxf_pixel_layouts[]
Initial value:
= {
{AV_PIX_FMT_ABGR, {'A', 8, 'B', 8, 'G', 8, 'R', 8 }},
{AV_PIX_FMT_ARGB, {'A', 8, 'R', 8, 'G', 8, 'B', 8 }},
{AV_PIX_FMT_BGR24, {'B', 8, 'G', 8, 'R', 8 }},
{AV_PIX_FMT_BGRA, {'B', 8, 'G', 8, 'R', 8, 'A', 8 }},
{AV_PIX_FMT_RGB24, {'R', 8, 'G', 8, 'B', 8 }},
{AV_PIX_FMT_RGB444BE,{'F', 4, 'R', 4, 'G', 4, 'B', 4 }},
{AV_PIX_FMT_RGB48BE, {'R', 8, 'r', 8, 'G', 8, 'g', 8, 'B', 8, 'b', 8 }},
{AV_PIX_FMT_RGB48BE, {'R', 16, 'G', 16, 'B', 16 }},
{AV_PIX_FMT_RGB48LE, {'r', 8, 'R', 8, 'g', 8, 'G', 8, 'b', 8, 'B', 8 }},
{AV_PIX_FMT_RGB555BE,{'F', 1, 'R', 5, 'G', 5, 'B', 5 }},
{AV_PIX_FMT_RGB565BE,{'R', 5, 'G', 6, 'B', 5 }},
{AV_PIX_FMT_RGBA, {'R', 8, 'G', 8, 'B', 8, 'A', 8 }},
{AV_PIX_FMT_PAL8, {'P', 8 }},
{AV_PIX_FMT_GRAY8, {'A', 8 }},
}

Referenced by ff_mxf_decode_pixel_layout().

◆ num_pixel_layouts

const int num_pixel_layouts = FF_ARRAY_ELEMS(ff_mxf_pixel_layouts)
static

Definition at line 176 of file mxf.c.

Referenced by ff_mxf_decode_pixel_layout().

◆ mxf_content_package_rates

const MXFContentPackageRate mxf_content_package_rates[]
static
Initial value:
= {
{ 2, { 1, 24 } },
{ 3, { 1001, 24000 } },
{ 4, { 1, 25 } },
{ 6, { 1, 30 } },
{ 7, { 1001, 30000 } },
{ 8, { 1 , 48 } },
{ 9, { 1001, 48000 } },
{ 10, { 1, 50 } },
{ 12, { 1, 60 } },
{ 13, { 1001, 60000 } },
{ 14, { 1, 72 } },
{ 15, { 1001, 72000 } },
{ 16, { 1, 75 } },
{ 18, { 1, 90 } },
{ 19, { 1001, 90000 } },
{ 20, { 1, 96 } },
{ 21, { 1001, 96000 } },
{ 22, { 1, 100 } },
{ 24, { 1, 120 } },
{ 25, { 1001, 120000} },
{0}
}

See SMPTE 326M-2000 Section 7.2 Content package rate MXFContentPackageRate->rate is bits b5..b0.

Definition at line 196 of file mxf.c.

Referenced by ff_mxf_get_content_package_rate().

AVCOL_TRC_LINEAR
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition: pixfmt.h:620
AVCOL_TRC_UNSPECIFIED
@ AVCOL_TRC_UNSPECIFIED
Definition: pixfmt.h:614
AVCOL_SPC_RGB
@ AVCOL_SPC_RGB
order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB), YZX and ST 428-1
Definition: pixfmt.h:641
AVCOL_TRC_BT2020_12
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:627
AV_PIX_FMT_BGR24
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:76
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:102
AV_PIX_FMT_RGB555BE
@ AV_PIX_FMT_RGB555BE
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined
Definition: pixfmt.h:114
AVCOL_SPC_BT470BG
@ AVCOL_SPC_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601
Definition: pixfmt.h:646
AVCOL_TRC_GAMMA28
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition: pixfmt.h:617
AVCOL_TRC_GAMMA22
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:616
AVCOL_TRC_BT1361_ECG
@ AVCOL_TRC_BT1361_ECG
ITU-R BT1361 Extended Colour Gamut.
Definition: pixfmt.h:624
AVCOL_SPC_SMPTE170M
@ AVCOL_SPC_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above
Definition: pixfmt.h:647
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
AVCOL_PRI_SMPTE428
@ AVCOL_PRI_SMPTE428
SMPTE ST 428-1 (CIE 1931 XYZ)
Definition: pixfmt.h:598
AVCOL_PRI_SMPTE240M
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
Definition: pixfmt.h:595
AVMEDIA_TYPE_DATA
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
Definition: avutil.h:203
AVCOL_PRI_UNSPECIFIED
@ AVCOL_PRI_UNSPECIFIED
Definition: pixfmt.h:589
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:100
AVCOL_PRI_BT470BG
@ AVCOL_PRI_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:593
AVCOL_PRI_SMPTE170M
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:594
AV_PIX_FMT_YUYV422
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:74
AVCOL_TRC_IEC61966_2_4
@ AVCOL_TRC_IEC61966_2_4
IEC 61966-2-4.
Definition: pixfmt.h:623
AV_PIX_FMT_RGB48LE
@ AV_PIX_FMT_RGB48LE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
Definition: pixfmt.h:110
AVCOL_PRI_BT709
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
Definition: pixfmt.h:588
AVCOL_TRC_BT2020_10
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
Definition: pixfmt.h:626
AVCOL_SPC_YCGCO
@ AVCOL_SPC_YCGCO
used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16
Definition: pixfmt.h:649
AV_PIX_FMT_GRAY8
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
Definition: pixfmt.h:81
AV_PIX_FMT_ABGR
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:101
AVCOL_PRI_BT2020
@ AVCOL_PRI_BT2020
ITU-R BT2020.
Definition: pixfmt.h:597
AVCOL_TRC_SMPTE2084
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:628
AVCOL_PRI_SMPTE431
@ AVCOL_PRI_SMPTE431
SMPTE ST 431-2 (2011) / DCI P3.
Definition: pixfmt.h:600
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:75
AVCOL_TRC_SMPTE240M
@ AVCOL_TRC_SMPTE240M
Definition: pixfmt.h:619
AV_PIX_FMT_RGB444BE
@ AV_PIX_FMT_RGB444BE
packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), big-endian, X=unused/undefined
Definition: pixfmt.h:137
AVCOL_TRC_BT709
@ AVCOL_TRC_BT709
also ITU-R BT1361
Definition: pixfmt.h:613
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:99
AVCOL_SPC_SMPTE240M
@ AVCOL_SPC_SMPTE240M
derived from 170M primaries and D65 white point, 170M is derived from BT470 System M's primaries
Definition: pixfmt.h:648
AV_PIX_FMT_RGB48BE
@ AV_PIX_FMT_RGB48BE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
Definition: pixfmt.h:109
AVCOL_SPC_BT2020_NCL
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
Definition: pixfmt.h:651
AVCOL_SPC_UNSPECIFIED
@ AVCOL_SPC_UNSPECIFIED
Definition: pixfmt.h:643
AV_PIX_FMT_PAL8
@ AV_PIX_FMT_PAL8
8 bits with AV_PIX_FMT_RGB32 palette
Definition: pixfmt.h:84
AV_PIX_FMT_UYVY422
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
Definition: pixfmt.h:88
AVCOL_TRC_ARIB_STD_B67
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: pixfmt.h:632
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:72
AVCOL_TRC_SMPTE170M
@ AVCOL_TRC_SMPTE170M
also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
Definition: pixfmt.h:618
AV_PIX_FMT_RGB565BE
@ AV_PIX_FMT_RGB565BE
packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian
Definition: pixfmt.h:112
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
AVCOL_PRI_SMPTE432
@ AVCOL_PRI_SMPTE432
SMPTE ST 432-1 (2010) / P3 D65 / Display P3.
Definition: pixfmt.h:601
AVCOL_TRC_SMPTE428
@ AVCOL_TRC_SMPTE428
SMPTE ST 428-1.
Definition: pixfmt.h:630
MKTAG
#define MKTAG(a, b, c, d)
Definition: macros.h:55
AVCOL_SPC_BT709
@ AVCOL_SPC_BT709
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / derived in SMPTE RP 177 Annex B
Definition: pixfmt.h:642