FFmpeg
Functions | Variables
mxf.c File Reference
#include "libavutil/common.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 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 []
 
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 120 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 162 of file mxf.c.

Referenced by mxf_init_timecode(), and mxf_write_header().

Variable Documentation

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

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

◆ ff_mxf_codec_uls

const MXFCodecUL ff_mxf_codec_uls[]

Definition at line 37 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 78 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 84 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

◆ pix_fmt

enum AVPixelFormat pix_fmt

Definition at line 90 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 91 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(), adpcm_decode_frame(), adx_decode_frame(), aic_decode_frame(), alac_decode_frame(), amf_tag_contents(), 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(), 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_frame_get_plane_buffer(), av_hmac_calc(), av_hmac_update(), av_image_fill_black(), av_image_fill_pointers(), av_image_get_buffer_size(), 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_split_side_data(), 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_inter_edge_ver_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(), calc_masking(), calc_power(), calc_rice_params(), calc_sum_top(), calculate_skip_errors(), cavs_decode_frame(), cbs_av1_split_fragment(), cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_write_slice_data(), cbs_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), 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(), cfhd_decode(), 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(), compute_network0new(), concat_close(), concat_open(), concat_read(), concat_seek(), conv(), convert(), convert_frame_partial(), convert_mask_to_strength_mask(), cook_decode_frame(), copy_bits(), copy_to_pbr(), cover_rect(), cpia_decode_frame(), crc32(), create_map(), cuda_buffer_free(), cuda_pool_alloc(), cuvid_decode_frame(), 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_iccp_chunk(), decode_packet(), decode_plane(), decode_short_horizontal_delta(), decode_tag(), decode_text_chunk(), decode_tiles(), decode_v1_vector(), decode_v4_vector(), decode_zbuf(), describe_payload(), destroy_imageview(), dfa_decode_frame(), dirac_decode_frame(), display_end_segment(), dnxhd_decode_frame(), dnxhd_decode_row(), do_apply_filter(), do_denoise(), dolby_e_decode_frame(), dot_prod(), dot_prods(), dpcm_decode_frame(), 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(), elliott(), encode_all_blocks(), encode_callback(), 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(), fdk_aac_decode_frame(), ff_add_param_change(), ff_alloc_a53_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_audio_mix(), ff_calculate_bounding_box(), ff_cbs_insert_unit_data(), ff_cbs_read(), ff_check_pixfmt_descriptors(), 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_inter_msa(), ff_h264_h_lpf_chroma_intra_msa(), ff_h264_h_lpf_luma_inter_msa(), 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_inter_msa(), 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_mjpeg_decode_frame(), ff_mlp_pack_output(), ff_mxf_decode_pixel_layout(), ff_opus_rc_dec_init(), ff_parse_fmtp(), ff_rms(), ff_rv34_decode_frame(), ff_sbc_crc8(), ff_side_data_update_matrix_encoding(), ff_stream_encode_params_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_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_decode(), 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(), get_input(), get_match_score(), get_metadata(), gif_decode_frame(), gif_parse_packet(), gif_read_ext(), 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_filter(), handle_packets(), hap_decode(), hb_fir_filter(), hcom_decode(), hevc_decode_frame(), hevc_pps_free(), 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(), info_callback(), init_axis_color(), init_ralf_vlc(), init_sec_buffer(), initializations(), inverse_channel_transform(), 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(), LLVMFuzzerTestOneInput(), loco_decode_plane(), loco_predict(), lpc_apply_welch_window_c(), lpc_compute_autocorr_c(), lrc_write_packet(), 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(), 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(), 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_packet_internal(), mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), mpl2_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(), pix_decode_frame(), pixlet_decode_frame(), png_write_row(), pnm_decode_frame(), pointer_at(), postfilter_c(), postprocess(), pps_free(), precalc(), prepare_packet(), ptx_decode_frame(), pulse_control_message(), PUT_FUNC(), 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(), realtext_decode_frame(), redspark_probe(), redspark_read_header(), 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_frame(), sgirle_decode_frame(), shorten_decode_frame(), sipr_decode_frame(), siren_decode(), smc_decode_frame(), smka_decode_frame(), smvjpeg_decode_frame(), sp5x_decode_frame(), speedhq_decode_frame(), 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_frame_pool(), 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(), videotoolbox_retrieve_data(), vk_dbg_callback(), vmdaudio_decode_frame(), vmdvideo_decode_frame(), vorbis_decode_frame(), vp3_decode_frame(), vp78_decode_frame(), vp9_decode_frame(), vpx_decode(), 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 118 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 138 of file mxf.c.

Referenced by ff_mxf_get_content_package_rate().

MKTAG
#define MKTAG(a, b, c, d)
Definition: common.h:406
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
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
AVMEDIA_TYPE_DATA
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
Definition: avutil.h:203
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:93
AV_PIX_FMT_YUYV422
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:67
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
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
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:68
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:140
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:92
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
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
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
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