Libav 0.7.1
Functions | Variables
libavformat/mxf.c File Reference
#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 = sizeof(ff_mxf_pixel_layouts) / sizeof(*ff_mxf_pixel_layouts)

Function Documentation

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

Definition at line 85 of file mxf.c.

Referenced by mxf_read_pixel_layout().


Variable Documentation

const char data[16]

Definition at line 57 of file mxf.c.

Referenced by a64multi_encode_frame(), aac_encode_frame(), ac3_decode_frame(), adpcm_decode_frame(), adx_decode_frame(), adx_encode(), adx_encode_frame(), alac_encode_frame(), alloc_buffer(), amr_new_context(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), ass_encode_frame(), atrac1_decode_frame(), atrac3_decode_frame(), av_adler32_update(), 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(), cinaudio_decode_frame(), cinepak_decode_strip(), concat_close(), concat_open(), concat_read(), concat_seek(), dca_decode_frame(), decode_13(), decode_frame(), decode_packet(), DiracFreeFrame(), display_end_segment(), dnxhd_decode_frame(), do_apply_filter(), dpcm_decode_frame(), draw_slice(), dvbsub_decode(), dvbsub_encode(), dvdsub_decode(), dvdsub_encode(), ebml_parse_elem(), eightsvx_decode_frame(), encode_frame(), encode_picture_lossless(), encode_picture_ls(), encode_superframe(), estimate_best_b_count(), fdct_ifast(), fdct_ifast248(), ff_ac3_encode_frame(), 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_h264_fill_mbaff_ref_list(), 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_decode_frame(), flac_encode_frame(), flashsv_encode_frame(), flv_write_packet(), g726_decode_frame(), gif_decode_frame(), gif_encode_frame(), gsm_decode_frame(), h261_decode_frame(), h264_new_context(), hb_fir_filter(), imc_decode_frame(), inverse_channel_transform(), ir2_decode_frame(), j_rev_dct(), j_rev_dct4(), lag_decode_frame(), libdirac_decode_frame(), libopenjpeg_decode_frame(), libschroedinger_decode_frame(), libspeex_decode_frame(), mace_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(), msrle_decode_8_16_24_32(), multiswap_dec(), multiswap_enc(), mxpeg_decode_frame(), ogg_buffer_data(), oggvorbis_encode_frame(), pam_encode_frame(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_encode_frame(), pcx_decode_frame(), pnm_decode_frame(), pnm_encode_frame(), ptx_decode_frame(), qcelp_decode_frame(), qdm2_decode_frame(), qdm2_restore_block(), qtrle_encode_frame(), qtrle_encode_line(), ra144_decode_frame(), ra144_encode_subblock(), ra288_decode_frame(), roq_dpcm_encode_frame(), roq_encode_frame(), row_fdct(), rv10_decode_frame(), s302m_decode_frame(), SchroedingerFreeFrame(), shorten_decode_frame(), sipr_decode_frame(), smka_decode_frame(), srt_decode_frame(), start_frame(), sunrast_decode_frame(), svq1_decode_frame(), svq1_encode_frame(), targa_encode_frame(), truespeech_decode_frame(), tta_decode_frame(), twin_decode_frame(), txd_decode_frame(), vc1_decode_frame(), vertClassify_altivec(), video_audio_display(), vorbis_encode_frame(), vp8_decode(), vp8_encode(), wavpack_decode_block(), wma_decode_superframe(), ws_snd_decode_frame(), X264_frame(), XAVS_frame(), and xsub_encode().

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,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 33 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

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

Referenced by mxf_get_data_definition_ul(), and mxf_parse_structural_metadata().

struct { ... } ff_mxf_pixel_layouts[] [static]
const int num_pixel_layouts = sizeof(ff_mxf_pixel_layouts) / sizeof(*ff_mxf_pixel_layouts) [static]

Definition at line 83 of file mxf.c.

Referenced by ff_mxf_decode_pixel_layout().

Definition at line 56 of file mxf.c.