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 PixelFormat *pix_fmt)

Variables

const MXFCodecUL ff_mxf_data_definition_uls []
 SMPTE RP224 http://www.smpte-ra.org/mdd/index.html.
const MXFCodecUL ff_mxf_codec_uls []
struct {
   enum PixelFormat   pix_fmt
   const char   data [16]
ff_mxf_pixel_layouts []
static const int num_pixel_layouts = FF_ARRAY_ELEMS(ff_mxf_pixel_layouts)

Function Documentation

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

Definition at line 88 of file mxf.c.

Referenced by mxf_read_pixel_layout().

Variable Documentation

const char data[16]

Definition at line 60 of file mxf.c.

Referenced by a64multi_encode_frame(), aac_encode_frame(), adx_encode(), adx_encode_frame(), alac_encode_frame(), alloc_buffer(), amr_new_context(), apply_param_change(), ass_encode_frame(), av_new_packet(), avfilter_default_get_video_buffer(), avfilter_draw_slice(), avs_decode_frame(), bitplane_decoding(), bmp_decode_frame(), bmp_encode_frame(), cavs_decode_frame(), cinepak_decode_strip(), concat_close(), concat_open(), concat_read(), concat_seek(), decode_13(), decode_frame(), DiracFreeFrame(), display_end_segment(), dnxhd_decode_frame(), do_apply_filter(), draw_slice(), dvbsub_decode(), dvbsub_encode(), dvdsub_decode(), dvdsub_encode(), ebml_parse_elem(), encode_frame(), encode_picture_lossless(), encode_picture_ls(), encode_superframe(), end_frame(), estimate_best_b_count(), fdct_ifast(), fdct_ifast248(), ff_add_param_change(), ff_amf_get_field_value(), ff_amf_tag_size(), ff_asfcrypt_dec(), ff_dirac_schro_queue_pop(), ff_fdct248_islow(), ff_h263_decode_frame(), ff_jpeg_fdct_islow(), ff_mjpeg_decode_frame(), ff_mxf_decode_pixel_layout(), ff_rv34_decode_frame(), ff_simple_idct_put_vis(), ff_simple_idct_vis(), flac_encode_frame(), flashsv_encode_frame(), flv_write_packet(), gif_decode_frame(), gif_encode_frame(), h261_decode_frame(), h264_new_context(), hb_fir_filter(), inverse_channel_transform(), ir2_decode_frame(), j_rev_dct(), j_rev_dct4(), lag_decode_frame(), libdirac_decode_frame(), libopenjpeg_decode_frame(), libschroedinger_decode_frame(), main(), matroska_decode_buffer(), matroska_parse_block(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mjpegb_decode_frame(), mkv_copy_packet(), mkv_write_ass_blocks(), mkv_write_block(), MPA_encode_frame(), mpeg_decode_frame(), mpegts_write_packet(), mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), MPV_encode_picture(), multiswap_dec(), multiswap_enc(), mxpeg_decode_frame(), ogg_buffer_data(), oggvorbis_encode_frame(), pam_encode_frame(), pcx_decode_frame(), pnm_decode_frame(), pnm_encode_frame(), ptx_decode_frame(), qdm2_restore_block(), qtrle_encode_frame(), qtrle_encode_line(), ra144_encode_subblock(), roq_dpcm_encode_frame(), roq_encode_frame(), row_fdct(), rv10_decode_frame(), sample_queue_push(), SchroedingerFreeFrame(), srt_decode_frame(), start_frame(), sunrast_decode_frame(), svq1_decode_frame(), svq1_encode_frame(), targa_encode_frame(), txd_decode_frame(), v410_encode_frame(), vc1_decode_frame(), vertClassify_altivec(), video_audio_display(), vorbis_encode_frame(), vp8_decode(), vp8_encode(), wavpack_decode_block(), X264_frame(), XAVS_frame(), xmv_process_packet_header(), xmv_read_extradata(), and xsub_encode().

const MXFCodecUL ff_mxf_codec_uls[]
Initial value:
{
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x01,0x11,0x00 }, 14, CODEC_ID_MPEG2VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x01,0x02,0x01,0x01 }, 14, CODEC_ID_MPEG2VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x03,0x03,0x00 }, 14, CODEC_ID_MPEG2VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x04,0x02,0x00 }, 14, CODEC_ID_MPEG2VIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x20,0x02,0x03 }, 14, CODEC_ID_MPEG4 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x02,0x01,0x02,0x00 }, 13, CODEC_ID_DVVIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x07,0x04,0x01,0x02,0x02,0x03,0x01,0x01,0x00 }, 14, CODEC_ID_JPEG2000 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x01,0x7F,0x00,0x00,0x00 }, 13, CODEC_ID_RAWVIDEO },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x03,0x02,0x00,0x00 }, 14, CODEC_ID_DNXHD },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 }, 14, CODEC_ID_H264 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x00 }, 15, CODEC_ID_V210 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x01,0x00,0x00,0x00,0x00 }, 13, CODEC_ID_PCM_S16LE },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x01,0x7F,0x00,0x00,0x00 }, 13, CODEC_ID_PCM_S16LE },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x07,0x04,0x02,0x02,0x01,0x7E,0x00,0x00,0x00 }, 13, CODEC_ID_PCM_S16BE },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x04,0x04,0x02,0x02,0x02,0x03,0x01,0x01,0x00 }, 15, CODEC_ID_PCM_ALAW },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x02,0x03,0x02,0x01,0x00 }, 15, CODEC_ID_AC3 },
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x02,0x03,0x02,0x05,0x00 }, 15, CODEC_ID_MP2 },
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, CODEC_ID_NONE },
}

Definition at line 34 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

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 },
{ { 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_get_data_definition_ul(), and mxf_parse_structural_metadata().

struct { ... } ff_mxf_pixel_layouts[]
const int num_pixel_layouts = FF_ARRAY_ELEMS(ff_mxf_pixel_layouts)
static

Definition at line 86 of file mxf.c.

Referenced by ff_mxf_decode_pixel_layout().

enum PixelFormat pix_fmt

Definition at line 59 of file mxf.c.