#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) |
const MXFSamplesPerFrame * | ff_mxf_get_samples_per_frame (AVFormatContext *s, AVRational time_base) |
Variables | |
const MXFCodecUL | ff_mxf_data_definition_uls [] |
SMPTE RP224 http://www.smpte-ra.org/mdd/index.html. | |
const MXFCodecUL | ff_mxf_codec_uls [] |
const MXFCodecUL | ff_mxf_pixel_format_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) |
static const MXFSamplesPerFrame | mxf_samples_per_frames [] |
int ff_mxf_decode_pixel_layout | ( | const char | pixel_layout[16], | |
enum PixelFormat * | pix_fmt | |||
) |
const MXFSamplesPerFrame* ff_mxf_get_samples_per_frame | ( | AVFormatContext * | s, | |
AVRational | time_base | |||
) |
const char data[16] |
Definition at line 68 of file mxf.c.
Referenced by adx_encode(), alloc_buffer(), amr_new_context(), apply_param_change(), av_blowfish_init(), av_image_get_buffer_size(), av_new_packet(), av_packet_split_side_data(), concat_close(), concat_open(), concat_read(), concat_seek(), conv(), decode_13(), dvdsub_init(), encode_all_blocks(), end_frame(), estimate_best_b_count(), ff_add_param_change(), ff_default_get_audio_buffer(), ff_default_get_video_buffer(), ff_draw_slice(), ff_mxf_decode_pixel_layout(), ff_schro_queue_pop(), ff_start_frame(), filter_samples(), flv_write_packet(), hb_fir_filter(), hb_fir_filter_mips(), inverse_channel_transform(), main(), matroska_decode_buffer(), matroska_parse_laces(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mkv_copy_packet(), mkv_write_ass_blocks(), mkv_write_block(), mov_read_custom_metadata(), mov_write_subtitle_end_packet(), mpegts_write_packet_internal(), mpegts_write_pat(), mpegts_write_pmt(), mpegts_write_sdt(), parse_packet(), parse_picture(), plot_spectrum_column(), qdm2_restore_block(), qtrle_encode_line(), ra144_encode_subblock(), row_fdct(), start_frame(), vertClassify_altivec(), video_audio_display(), xmv_fetch_video_packet(), xmv_process_packet_header(), and xmv_read_extradata().
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, AV_CODEC_ID_MPEG2VIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x01,0x02,0x01,0x01 }, 14, AV_CODEC_ID_MPEG2VIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x03,0x03,0x00 }, 14, AV_CODEC_ID_MPEG2VIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x04,0x02,0x00 }, 14, AV_CODEC_ID_MPEG2VIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x20,0x02,0x03 }, 14, AV_CODEC_ID_MPEG4 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x02,0x01,0x02,0x00 }, 13, AV_CODEC_ID_DVVIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x07,0x04,0x01,0x02,0x02,0x03,0x01,0x01,0x00 }, 14, AV_CODEC_ID_JPEG2000 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x01,0x7F,0x00,0x00,0x00 }, 13, AV_CODEC_ID_RAWVIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x01,0x00 }, 15, AV_CODEC_ID_RAWVIDEO }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x71,0x00,0x00,0x00 }, 13, AV_CODEC_ID_DNXHD }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x03,0x02,0x00,0x00 }, 14, AV_CODEC_ID_DNXHD }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 }, 14, AV_CODEC_ID_H264 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x01 }, 16, AV_CODEC_ID_V210 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x01,0x00,0x00,0x00,0x00 }, 13, AV_CODEC_ID_PCM_S16LE }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x01,0x7F,0x00,0x00,0x00 }, 13, AV_CODEC_ID_PCM_S16LE }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x07,0x04,0x02,0x02,0x01,0x7E,0x00,0x00,0x00 }, 13, AV_CODEC_ID_PCM_S16BE }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x04,0x04,0x02,0x02,0x02,0x03,0x01,0x01,0x00 }, 15, AV_CODEC_ID_PCM_ALAW }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x02,0x03,0x02,0x01,0x00 }, 15, AV_CODEC_ID_AC3 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x02,0x02,0x02,0x03,0x02,0x05,0x00 }, 15, AV_CODEC_ID_MP2 }, { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_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 }, }
Definition at line 28 of file mxf.c.
Referenced by mxf_get_data_definition_ul(), and mxf_parse_structural_metadata().
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, PIX_FMT_UYVY422 }, { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x01,0x02 }, 16, PIX_FMT_YUYV422 }, { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, PIX_FMT_NONE }, }
Definition at line 60 of file mxf.c.
Referenced by mxf_parse_structural_metadata().
struct { ... } ff_mxf_pixel_layouts[] [static] |
Referenced by ff_mxf_decode_pixel_layout().
const MXFSamplesPerFrame mxf_samples_per_frames[] [static] |
Initial value:
{ { { 1001, 24000 }, { 2002, 0, 0, 0, 0, 0 } }, { { 1, 24}, { 2000, 0, 0, 0, 0, 0 } }, { { 1001, 30000 }, { 1602, 1601, 1602, 1601, 1602, 0 } }, { { 1001, 60000 }, { 801, 801, 801, 801, 800, 0 } }, { { 1, 25 }, { 1920, 0, 0, 0, 0, 0 } }, { { 1, 50 }, { 960, 0, 0, 0, 0, 0 } }, }
const int num_pixel_layouts = FF_ARRAY_ELEMS(ff_mxf_pixel_layouts) [static] |
enum PixelFormat pix_fmt |