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 175 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 217 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_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 84 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 90 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 95 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 110 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 131 of file mxf.c.

Referenced by mxf_parse_structural_metadata(), and mxf_write_cdci_common().

◆ pix_fmt

enum AVPixelFormat pix_fmt

Definition at line 145 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 146 of file mxf.c.

Referenced by aac_decode_er_frame(), aac_parse_packet(), ac3_close_context(), ac3_handle_packet(), adaptive_cb_search(), allocate_model(), amr_init(), amr_parse_fmtp(), amr_parse_sdp_line(), append_flv_data(), apply_filter(), 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_dovi_get_color(), av_dovi_get_header(), av_dovi_get_mapping(), av_frame_get_plane_buffer(), av_hmac_calc(), av_hmac_update(), av_image_fill_black(), 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_unpack_dictionary(), av_read_image_line(), av_read_image_line2(), av_ripemd_update(), av_sha512_update(), av_sha_update(), av_stream_add_side_data(), av_stream_new_side_data(), 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(), 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_default_free_unit_content(), cbs_fill_fragment_data(), cbs_free_user_data_registered(), cbs_free_user_data_unregistered(), 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_pointers(), check_multiply3x3(), check_pixfmt_descriptors(), cinepak_decode_codebook(), cinepak_decode_strip(), cinepak_decode_vectors(), cinepak_predecode_check(), close_context(), column_fidct_c(), concat_close(), concat_read(), concat_seek(), conv(), convert(), convert_frame_partial(), convert_mask_to_strength_mask(), convolve_sobel(), copy_bits(), copy_hdr10_plus_to_pkt(), copy_to_pbr(), copy_weights(), cover_rect(), crc32(), create_map(), cuda_buffer_free(), cuda_pool_alloc(), dash_write_packet(), data_open(), dct32_func(), dct_calc_I_c(), dct_calc_II_c(), dct_calc_III_c(), decode_13(), decode_audio_specific_config(), decode_data_free(), decode_delta_l(), 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_imageview(), dnn_detect_post_proc_tf(), dnxhd_decode_row(), do_apply_filter(), do_denoise(), dss_sp_byte_swap(), dst_calc_I_c(), 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_all_blocks(), encode_frame(), encode_make_refcounted(), error_callback(), estimate_best_b_count(), extract_extradata_av1(), extract_extradata_h2645(), extract_extradata_mpeg12(), extract_extradata_mpeg4(), extract_extradata_vc1(), failing_write_packet(), 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_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_8_lasx(), ff_h264_h_lpf_chroma_inter_msa(), ff_h264_h_lpf_chroma_intra_8_lasx(), 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_8_lasx(), ff_h264_v_lpf_chroma_inter_msa(), ff_h264_v_lpf_chroma_intra_8_lasx(), 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_decode_extradata(), ff_hex_to_data(), ff_hwframe_unmap(), ff_irms(), ff_isom_get_vpcc_features(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_isom_write_vpcc(), 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_hdr10_plus(), ff_parse_itu_t_t35_to_dynamic_hdr_vivid(), ff_rms(), ff_sbc_crc8(), ff_side_data_update_matrix_encoding(), ff_stream_side_data_copy(), ff_vaapi_decode_make_param_buffer(), ff_vaapi_encode_init(), ff_vaapi_vpp_make_param_buffers(), ff_videotoolbox_alloc_frame(), ff_videotoolbox_avcc_extradata_create(), ff_videotoolbox_hvcc_extradata_create(), ff_videotoolbox_vpcc_extradata_create(), ff_wv_parse_header(), ffat_decode_callback(), ffat_encode_callback(), ffio_read_indirect(), ffmmal_add_packet(), ffmmal_release_frame(), fifo_consumer_thread(), fifo_overflow_drop_test(), fill_buf(), fill_texture_ptrs(), fill_yuv_image(), filter181(), filter_channel(), 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_free(), frame_pool_free(), free_buf(), free_buffer(), free_frame(), free_texture(), get_bilinear_sample(), get_input(), get_match_score(), get_metadata(), get_pixel_format(), gif_parse_packet(), gif_read_ext(), 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(), handle_klv(), handle_packets(), hb_fir_filter(), hevc_pps_free(), hex_to_data(), hls_slice_data_wpp(), hwdevice_ctx_free(), hwframe_ctx_free(), id3v2_put_priv(), iec61883_callback(), ilbc_parse_sdp_line(), import_pem(), info_callback(), init_axis_color(), 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(), libdav1d_user_data_free(), libopenjpeg_encode_frame(), libshine_encode_frame(), LLVMFuzzerTestOneInput(), loco_decode_plane(), loco_predict(), lpc_apply_welch_window_c(), lpc_compute_autocorr_c(), lut_packed_16bits(), lut_planar_16bits(), magy_encode_frame(), main(), map_buffers(), mediacodec_wrap_sw_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(), mids_buf_free(), mjpeg_decode_scan(), mjpeg_idct_scan_progressive_ac(), mlp_encode_frame(), mov_create_timecode_track(), mov_try_read_block(), 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_decoder_free(), 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(), parse(), parse_fmtp(), parse_frame(), parse_frame_no_pbr(), parse_frame_pbr(), parse_heatmaps(), parse_packet(), parse_sdp_line(), png_write_row(), pointer_at(), postfilter_c(), postprocess(), pps_free(), precalc(), pulse_control_message(), qcelp_parse_packet(), qdm2_packet_checksum(), qdm2_restore_block(), qtrle_encode_line(), quantize(), ra144_encode_subblock(), radix_count(), radix_sort(), radix_sort_pass(), rd_frame(), rd_strip(), rdft_calc_c(), 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(), return_stored_frame(), rfc4175_finalize_packet(), rfc4175_handle_packet(), rfc4175_parse_fmtp(), rfc4175_parse_format(), rfc4175_parse_sdp_line(), rkmpp_release_decoder(), 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(), 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(), transfer_image_buf(), uncoded_frame_free(), unmap_buffers(), update_metadata(), v4l2_bufref_to_buf(), vaapi_buffer_free(), vaapi_encode_free_output_buffer(), 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_dbg_callback(), vp9_decode_frame(), vpx_encode(), vulkan_frame_free(), warning_callback(), wavarc_read_header(), wrapped_avframe_encode(), wrapped_avframe_release_buffer(), write_codec_attr(), write_hint_packets(), write_picture(), write_sm_data(), writeout(), writer_print_data(), writer_print_data_hash(), writer_print_integers(), ws_snd_decode_frame(), xcbgrab_frame(), xiph_close_context(), xiph_handle_packet(), xiph_parse_sdp_line(), 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 173 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 193 of file mxf.c.

Referenced by ff_mxf_get_content_package_rate().

AVCOL_TRC_LINEAR
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition: pixfmt.h:567
AVCOL_TRC_UNSPECIFIED
@ AVCOL_TRC_UNSPECIFIED
Definition: pixfmt.h:561
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:588
AVCOL_TRC_BT2020_12
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:574
AV_PIX_FMT_BGR24
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:69
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:95
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:107
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:593
AVCOL_TRC_GAMMA28
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition: pixfmt.h:564
AVCOL_TRC_GAMMA22
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:563
AVCOL_TRC_BT1361_ECG
@ AVCOL_TRC_BT1361_ECG
ITU-R BT1361 Extended Colour Gamut.
Definition: pixfmt.h:571
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:594
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:545
AVCOL_PRI_SMPTE240M
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
Definition: pixfmt.h:542
AVMEDIA_TYPE_DATA
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
Definition: avutil.h:203
AVCOL_PRI_UNSPECIFIED
@ AVCOL_PRI_UNSPECIFIED
Definition: pixfmt.h:536
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:93
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:540
AVCOL_PRI_SMPTE170M
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:541
AV_PIX_FMT_YUYV422
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:67
AVCOL_TRC_IEC61966_2_4
@ AVCOL_TRC_IEC61966_2_4
IEC 61966-2-4.
Definition: pixfmt.h:570
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:103
AVCOL_PRI_BT709
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
Definition: pixfmt.h:535
AVCOL_TRC_BT2020_10
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
Definition: pixfmt.h:573
AVCOL_SPC_YCGCO
@ AVCOL_SPC_YCGCO
used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16
Definition: pixfmt.h:596
AV_PIX_FMT_GRAY8
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
Definition: pixfmt.h:74
AV_PIX_FMT_ABGR
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:94
AVCOL_PRI_BT2020
@ AVCOL_PRI_BT2020
ITU-R BT2020.
Definition: pixfmt.h:544
AVCOL_TRC_SMPTE2084
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:575
AVCOL_PRI_SMPTE431
@ AVCOL_PRI_SMPTE431
SMPTE ST 431-2 (2011) / DCI P3.
Definition: pixfmt.h:547
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:68
AVCOL_TRC_SMPTE240M
@ AVCOL_TRC_SMPTE240M
Definition: pixfmt.h:566
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:130
AVCOL_TRC_BT709
@ AVCOL_TRC_BT709
also ITU-R BT1361
Definition: pixfmt.h:560
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:92
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:595
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:102
AVCOL_SPC_BT2020_NCL
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
Definition: pixfmt.h:598
AVCOL_SPC_UNSPECIFIED
@ AVCOL_SPC_UNSPECIFIED
Definition: pixfmt.h:590
AV_PIX_FMT_PAL8
@ AV_PIX_FMT_PAL8
8 bits with AV_PIX_FMT_RGB32 palette
Definition: pixfmt.h:77
AV_PIX_FMT_UYVY422
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
Definition: pixfmt.h:81
AVCOL_TRC_ARIB_STD_B67
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: pixfmt.h:579
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
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:565
AV_PIX_FMT_RGB565BE
@ AV_PIX_FMT_RGB565BE
packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian
Definition: pixfmt.h:105
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:548
AVCOL_TRC_SMPTE428
@ AVCOL_TRC_SMPTE428
SMPTE ST 428-1.
Definition: pixfmt.h:577
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:589