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 172 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 214 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 81 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 87 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 92 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 107 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 128 of file mxf.c.

Referenced by mxf_parse_structural_metadata(), and mxf_write_cdci_common().

◆ pix_fmt

enum AVPixelFormat pix_fmt

Definition at line 142 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 scaling_video.c.

Definition at line 143 of file mxf.c.

Referenced by aac_decode_er_frame(), aac_decode_frame(), aac_decode_frame_int(), aac_parse_packet(), aasc_decode_frame(), ac3_close_context(), ac3_decode_frame(), ac3_handle_packet(), adaptive_cb_search(), add_hdr10_plus(), adpcm_decode_frame(), adx_decode_frame(), aic_decode_frame(), alac_decode_frame(), allocate_model(), amplify_frame(), amr_init(), amr_parse_fmtp(), amr_parse_sdp_line(), amrnb_decode_frame(), amrwb_decode_frame(), aom_decode(), ape_decode_frame(), append_flv_data(), apply_filter(), apply_lut(), apply_param_change(), aptx_decode_frame(), asf_deinterleave(), ass_decode_frame(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3al_decode_frame(), atrac3p_decode_frame(), atrac9_decode_frame(), aura_decode_frame(), 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(), avs_decode_frame(), avui_decode_frame(), bethsoftvid_decode_frame(), bfi_decode_frame(), bitpacked_decode(), bitplane_decoding(), blur(), bmp_decode_frame(), bmv_aud_decode_frame(), bswap_buf24(), buffer_create(), calc_masking(), calc_power(), calc_rice_params(), calc_sum_top(), calculate_skip_errors(), cavs_decode_frame(), 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_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_read_data(), cbs_vp9_assemble_fragment(), cdg_border_preset(), cdg_decode_frame(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), cdtoons_decode_frame(), cdtoons_render_sprite(), cdxl_decode_frame(), celt_denormalize(), celt_postfilter_apply_transition(), cens_scheme_decrypt(), cfhd_decode(), cfhd_encode_frame(), check_image_pointers(), check_multiply3x3(), cinaudio_decode_frame(), cinepak_decode_codebook(), cinepak_decode_frame(), cinepak_decode_strip(), cinepak_decode_vectors(), cinepak_predecode_check(), cinvideo_decode_frame(), cllc_decode_frame(), close_context(), clv_decode_frame(), cmv_decode_frame(), cng_decode_frame(), column_fidct_c(), concat_close(), concat_read(), concat_seek(), conv(), convert(), convert_frame_partial(), convert_mask_to_strength_mask(), cook_decode_frame(), copy_bits(), copy_hdr10_plus_to_pkt(), copy_to_pbr(), copy_weights(), cover_rect(), cpia_decode_frame(), crc32(), create_map(), cri_decode_frame(), cuda_buffer_free(), cuda_pool_alloc(), cyuv_decode_frame(), dash_write_packet(), data_open(), davs2_decode_frame(), dcadec_decode_frame(), dct32_func(), dct_calc_I_c(), dct_calc_II_c(), dct_calc_III_c(), dds_decode(), decode(), decode_13(), decode_audio_specific_config(), decode_data_free(), decode_delta_l(), decode_extradata_ps(), decode_frame(), decode_frame_header(), decode_frame_lscr(), decode_huff(), decode_packet(), decode_plane(), decode_short_horizontal_delta(), decode_tag(), decode_text_chunk(), decode_tiles(), decode_v1_vector(), decode_v4_vector(), decode_zbuf(), decrypt_nal_unit(), decrypt_sync_frame(), describe_payload(), destroy_imageview(), dfa_decode_frame(), dirac_decode_frame(), display_end_segment(), dnn_detect_post_proc_tf(), dnxhd_decode_frame(), dnxhd_decode_row(), do_apply_filter(), do_denoise(), dolby_e_decode_frame(), dpcm_decode_frame(), dss_sp_byte_swap(), dss_sp_decode_frame(), 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(), dvbsub_decode(), dvdsub_decode(), dvdsub_parse_extradata(), dvvideo_decode_frame(), dwt_decode97_float(), dwt_decode97_int(), dwt_haar(), dxv_decode(), eightsvx_decode_frame(), encode_all_blocks(), encode_frame(), error_callback(), escape124_decode_frame(), escape130_decode_frame(), estimate_best_b_count(), evrc_decode_frame(), extract_extradata_av1(), extract_extradata_h2645(), extract_extradata_mpeg12(), extract_extradata_mpeg4(), extract_extradata_vc1(), failing_write_packet(), fast_convolute(), fast_convolute_nonlinear(), fastaudio_decode(), fdk_aac_decode_frame(), 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_insert_unit_data(), ff_cbs_read(), ff_check_pixfmt_descriptors(), 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_h263_decode_frame(), 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_write_avcc(), ff_isom_write_hvcc(), ff_ivi_decode_frame(), 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_rms(), ff_rv34_decode_frame(), ff_sbc_crc8(), ff_side_data_update_matrix_encoding(), ff_stream_side_data_copy(), ff_twinvq_decode_frame(), 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_vp56_decode_frame(), ff_vp8_decode_frame(), ff_wv_parse_header(), ffat_decode(), ffat_decode_callback(), ffat_encode_callback(), ffio_read_indirect(), ffmmal_add_packet(), ffmmal_release_frame(), fic_decode_frame(), fifo_consumer_thread(), fifo_overflow_drop_test(), fill_buf(), fill_texture_ptrs(), fill_yuv_image(), filter181(), filter_channel(), filter_frame(), filter_slice(), filter_slice_packed(), filter_slice_planar(), find_best_vect(), find_sample_match(), fits_decode_frame(), fixed_cb_search(), flac_decode_frame(), flac_read_timestamp(), flashsv_decode_frame(), flic_decode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flv_write_codec_header(), flv_write_packet(), frame_block_to_cell(), frame_pool_free(), free_buf(), free_buffer(), free_frame(), free_texture(), g2m_decode_frame(), g722_decode_frame(), g723_1_decode_frame(), gdv_decode_frame(), gem_decode_frame(), get_input(), get_match_score(), get_metadata(), get_pixel_format(), gif_decode_frame(), gif_parse_packet(), gif_read_ext(), glslc_shader_compile(), gsm_decode_frame(), h261_decode_frame(), h263_close_context(), h263_handle_packet(), h264_close_context(), h264_decode_frame(), h264_fill_mbaff_ref_list(), h264_handle_packet(), h264_metadata_handle_display_orientation(), handle_klv(), handle_packets(), hap_decode(), hb_fir_filter(), hcom_decode(), hevc_decode_frame(), hevc_pps_free(), hex_to_data(), hls_slice_data_wpp(), hnm_decode_frame(), hq_hqa_decode_frame(), hqx_decode_frame(), hwdevice_ctx_free(), hwframe_ctx_free(), id3v2_put_priv(), idcin_decode_frame(), iec61883_callback(), ilbc_decode_frame(), ilbc_parse_sdp_line(), imc_decode_frame(), imm5_decode_frame(), import_pem(), imx_decode_frame(), info_callback(), init_axis_color(), init_ralf_vlc(), init_sec_buffer(), initializations(), inverse_channel_transform(), ipu_decode_frame(), ipvideo_decode_frame(), ir2_decode_frame(), jacosub_decode_frame(), jpeg2000_decode_frame(), kmsgrab_free_desc(), kmsgrab_free_frame(), lag_decode_frame(), latm_close_context(), latm_parse_packet(), latm_parse_sdp_line(), libaribb24_decode(), libcelt_dec_decode(), libcodec2_decode(), libdav1d_picture_allocator(), libdav1d_receive_frame(), libdav1d_user_data_free(), libgsm_decode_frame(), libopenjpeg_decode_frame(), libopus_decode(), librsvg_decode_frame(), libshine_encode_frame(), libspeex_decode_frame(), libuavs3d_decode_frame(), LLVMFuzzerTestOneInput(), loco_decode_plane(), loco_predict(), lpc_apply_welch_window_c(), lpc_compute_autocorr_c(), lut_packed_16bits(), lut_planar_16bits(), m101_decode_frame(), mace_decode_frame(), magy_decode_frame(), main(), map_buffers(), mediacodec_wrap_sw_buffer(), median_frames16(), median_frames8(), merge_superframe(), message(), mf_sample_to_avpacket(), mf_v_avframe_to_sample(), microdvd_decode_frame(), mids_buf_free(), mimic_decode_frame(), mix_frames(), mjpeg_decode_scan(), mjpeg_idct_scan_progressive_ac(), mjpegb_decode_frame(), mkv_write_block(), mlp_encode_frame(), mm_decode_frame(), mobiclip_decode(), mov_create_timecode_track(), mov_text_decode_frame(), mov_try_read_block(), mov_write_string_data_tag(), mov_write_subtitle_end_packet(), mp_decode_frame(), mpa_robust_close_context(), mpa_robust_parse_packet(), mpc7_decode_frame(), mpc8_decode_frame(), mpeg_decode_frame(), 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(), mpl2_decode_frame(), msp2_decode_frame(), msrle_decode_frame(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), msvideo1_decode_frame(), multiswap_dec(), multiswap_enc(), mvc_decode_frame(), mxpeg_decode_frame(), nearest_sample_index(), nvdec_decoder_free(), nvdec_unmap_mapped_frame(), ogg_buffer_data(), oggvorbis_decode_frame(), old_flac_header(), on2avc_decode_frame(), opencl_pool_free(), opengl_control_message(), opengl_get_plane_pointer(), opus_decode_frame(), opus_decode_packet(), opus_decode_redundancy(), output_immediate(), p8idct(), paf_audio_decode(), paf_video_decode(), parse(), parse_fmtp(), parse_frame(), parse_frame_no_pbr(), parse_frame_pbr(), parse_packet(), parse_sdp_line(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_dvd_decode_frame(), pcx_decode_frame(), pgx_decode_frame(), photocd_decode_frame(), pix_decode_frame(), pixlet_decode_frame(), png_write_row(), pnm_decode_frame(), pointer_at(), postfilter_c(), postprocess(), pps_free(), precalc(), ptx_decode_frame(), pulse_control_message(), qcelp_decode_frame(), qcelp_parse_packet(), qdm2_decode_frame(), qdm2_packet_checksum(), qdm2_restore_block(), qdmc_decode_frame(), qsv_decode_frame(), qtrle_decode_frame(), qtrle_encode_line(), quantize(), ra144_decode_frame(), ra144_encode_subblock(), ra288_decode_frame(), radix_count(), radix_sort(), radix_sort_pass(), raw_decode(), rd_frame(), rd_strip(), rdft_calc_c(), read_access_unit(), read_ints(), read_packet(), read_var_byte(), read_weights(), realtext_decode_frame(), 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(), rl2_decode_frame(), roq_decode_frame(), rotate_faulty_loco(), row_fdct(), row_fdct_c(), rpza_decode_frame(), rscc_decode_frame(), rtp_parse_mp4_au(), rv10_decode_frame(), s302m_decode_frame(), sami_decode_frame(), sample_queue_push(), sbc_decode_frame(), sbc_parse_header(), sbc_unpack_frame(), screenpresso_decode_frame(), sdl2_write_packet(), seqvideo_decode(), seqvideo_decode_frame(), set_bit(), set_extradata(), set_frame(), sga_decode_frame(), sgirle_decode_frame(), shdc_shader_compile(), shorten_decode_frame(), sipr_decode_frame(), siren_decode(), smc_decode_frame(), smka_decode_frame(), speex_decode_frame(), speex_decode_stereo(), speex_std_stereo(), srt_decode_frame(), store_icy(), store_packet(), subviewer_decode_frame(), sunrast_decode_frame(), sup_write_packet(), svc_decode_frame(), svq1_decode_frame(), svq3_decode_frame(), tak_decode_frame(), tdsc_decode_frame(), teletext_decode_frame(), test(), test_encode_decode(), test_encrypt(), test_postfilter(), text_decode_frame(), tgq_decode_frame(), tgv_decode_frame(), tls_read_cb(), tls_write(), tls_write_cb(), tm2_high_chroma(), tm2_low_chroma(), tmv_decode_frame(), tqi_decode_frame(), transfer_image_buf(), truemotion1_decode_frame(), truemotion2rt_decode_frame(), truespeech_decode_frame(), tscc2_decode_frame(), tta_decode_frame(), txd_decode_frame(), ulti_decode_frame(), uncoded_frame_free(), unmap_buffers(), update_metadata(), v308_decode_frame(), v408_decode_frame(), v410_decode_frame(), 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(), vble_decode_frame(), vc1_decode_frame(), vc2_subband_dwt_53(), vc2_subband_dwt_97(), vc2_subband_dwt_haar(), vc2_subband_dwt_haar_shift(), vcr1_decode_frame(), 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(), vmdaudio_decode_frame(), vmdvideo_decode_frame(), vorbis_decode_frame(), vp3_decode_frame(), vp78_decode_frame(), vp9_decode_frame(), vpx_decode(), vpx_encode(), vqa_decode_frame(), vulkan_frame_free(), warning_callback(), wavpack_decode_frame(), webp_decode_frame(), webvtt_decode_frame(), wma_decode_superframe(), wmapro_decode_packet(), wmavoice_decode_packet(), wrapped_avframe_decode(), 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(), xan_decode_frame(), xbm_decode_frame(), xcbgrab_frame(), xface_decode_frame(), xiph_close_context(), xiph_handle_packet(), xiph_parse_sdp_line(), xma_decode_packet(), xmv_fetch_video_packet(), xmv_process_packet_header(), xmv_read_extradata(), xpm_decode_frame(), xv_write_packet(), xwd_decode_frame(), y216_decode_frame(), y41p_decode_frame(), yop_decode_frame(), yuv4_decode_frame(), zero12v_decode_frame(), and zerocodec_decode_frame().

◆ 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 170 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 190 of file mxf.c.

Referenced by ff_mxf_get_content_package_rate().

AVCOL_TRC_LINEAR
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition: pixfmt.h:503
AVCOL_TRC_UNSPECIFIED
@ AVCOL_TRC_UNSPECIFIED
Definition: pixfmt.h:497
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:524
AVCOL_TRC_BT2020_12
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:510
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:529
AVCOL_TRC_GAMMA28
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition: pixfmt.h:500
AVCOL_TRC_GAMMA22
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:499
AVCOL_TRC_BT1361_ECG
@ AVCOL_TRC_BT1361_ECG
ITU-R BT1361 Extended Colour Gamut.
Definition: pixfmt.h:507
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:530
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:481
AVCOL_PRI_SMPTE240M
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
Definition: pixfmt.h:478
AVMEDIA_TYPE_DATA
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
Definition: avutil.h:203
AVCOL_PRI_UNSPECIFIED
@ AVCOL_PRI_UNSPECIFIED
Definition: pixfmt.h:472
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:476
AVCOL_PRI_SMPTE170M
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:477
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:506
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:471
AVCOL_TRC_BT2020_10
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
Definition: pixfmt.h:509
AVCOL_SPC_YCGCO
@ AVCOL_SPC_YCGCO
used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16
Definition: pixfmt.h:532
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:480
AVCOL_TRC_SMPTE2084
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:511
AVCOL_PRI_SMPTE431
@ AVCOL_PRI_SMPTE431
SMPTE ST 431-2 (2011) / DCI P3.
Definition: pixfmt.h:483
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:502
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:496
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:531
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:534
AVCOL_SPC_UNSPECIFIED
@ AVCOL_SPC_UNSPECIFIED
Definition: pixfmt.h:526
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:515
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:501
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:484
AVCOL_TRC_SMPTE428
@ AVCOL_TRC_SMPTE428
SMPTE ST 428-1.
Definition: pixfmt.h:513
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:525