#include <math.h>
#include <time.h>
#include "libavutil/fifo.h"
#include "libavcodec/bytestream.h"
#include "audiointerleave.h"
#include "avformat.h"
#include "mxf.h"
Go to the source code of this file.
Data Structures | |
struct | MXFLocalTagPair |
struct | MXFIndexEntry |
struct | MXFStreamContext |
struct | MXFContainerEssenceEntry |
struct | MXFContext |
Defines | |
#define | EDIT_UNITS_PER_BODY 250 |
#define | KAG_SIZE 512 |
Functions | |
static void | mxf_write_wav_desc (AVFormatContext *s, AVStream *st) |
static void | mxf_write_aes3_desc (AVFormatContext *s, AVStream *st) |
static void | mxf_write_mpegvideo_desc (AVFormatContext *s, AVStream *st) |
static void | mxf_write_cdci_desc (AVFormatContext *s, AVStream *st) |
static void | mxf_write_generic_sound_desc (AVFormatContext *s, AVStream *st) |
static void | mxf_write_uuid (ByteIOContext *pb, enum MXFMetadataSetType type, int value) |
static void | mxf_write_umid (ByteIOContext *pb, enum MXFMetadataSetType type, int value) |
static void | mxf_write_refs_count (ByteIOContext *pb, int ref_count) |
static int | klv_ber_length (uint64_t len) |
static int | klv_encode_ber_length (ByteIOContext *pb, uint64_t len) |
static void | klv_encode_ber4_length (ByteIOContext *pb, int len) |
static int | mxf_get_essence_container_ul_index (enum CodecID id) |
static void | mxf_write_primer_pack (AVFormatContext *s) |
static void | mxf_write_local_tag (ByteIOContext *pb, int size, int tag) |
static void | mxf_write_metadata_key (ByteIOContext *pb, unsigned int value) |
static void | mxf_free (AVFormatContext *s) |
static const MXFCodecUL * | mxf_get_data_definition_ul (int type) |
static void | mxf_write_essence_container_refs (AVFormatContext *s) |
static void | mxf_write_preface (AVFormatContext *s) |
static void | mxf_write_local_tag_utf16 (ByteIOContext *pb, int tag, const char *value) |
static void | mxf_write_identification (AVFormatContext *s) |
static void | mxf_write_content_storage (AVFormatContext *s) |
static void | mxf_write_track (AVFormatContext *s, AVStream *st, enum MXFMetadataSetType type) |
static void | mxf_write_common_fields (AVFormatContext *s, AVStream *st) |
static void | mxf_write_sequence (AVFormatContext *s, AVStream *st, enum MXFMetadataSetType type) |
static void | mxf_write_timecode_component (AVFormatContext *s, AVStream *st, enum MXFMetadataSetType type) |
static void | mxf_write_structural_component (AVFormatContext *s, AVStream *st, enum MXFMetadataSetType type) |
static void | mxf_write_multi_descriptor (AVFormatContext *s) |
static void | mxf_write_generic_desc (AVFormatContext *s, AVStream *st, const UID key, unsigned size) |
static void | mxf_write_cdci_common (AVFormatContext *s, AVStream *st, const UID key, unsigned size) |
static void | mxf_write_generic_sound_common (AVFormatContext *s, AVStream *st, const UID key, unsigned size) |
static void | mxf_write_wav_common (AVFormatContext *s, AVStream *st, const UID key, unsigned size) |
static void | mxf_write_package (AVFormatContext *s, enum MXFMetadataSetType type) |
static int | mxf_write_essence_container_data (AVFormatContext *s) |
static int | mxf_write_header_metadata_sets (AVFormatContext *s) |
static unsigned | klv_fill_size (uint64_t size) |
static void | mxf_write_index_table_segment (AVFormatContext *s) |
static void | mxf_write_klv_fill (AVFormatContext *s) |
static void | mxf_write_partition (AVFormatContext *s, int bodysid, int indexsid, const uint8_t *key, int write_metadata) |
static const UID * | mxf_get_mpeg2_codec_ul (AVCodecContext *avctx) |
static int | mxf_parse_mpeg2_frame (AVFormatContext *s, AVStream *st, AVPacket *pkt, int *flags) |
static uint64_t | mxf_parse_timestamp (time_t timestamp) |
static int | mxf_write_header (AVFormatContext *s) |
static uint32_t | ff_framenum_to_12m_time_code (unsigned frame, int drop, int fps) |
static void | mxf_write_system_item (AVFormatContext *s) |
static void | mxf_write_d10_video_packet (AVFormatContext *s, AVStream *st, AVPacket *pkt) |
static void | mxf_write_d10_audio_packet (AVFormatContext *s, AVStream *st, AVPacket *pkt) |
static int | mxf_write_packet (AVFormatContext *s, AVPacket *pkt) |
static void | mxf_write_random_index_pack (AVFormatContext *s) |
static int | mxf_write_footer (AVFormatContext *s) |
static int | mxf_interleave_get_packet (AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush) |
static int | mxf_compare_timestamps (AVFormatContext *s, AVPacket *next, AVPacket *pkt) |
static int | mxf_interleave (AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush) |
Variables | |
static const int | NTSC_samples_per_frame [] = { 1602, 1601, 1602, 1601, 1602, 0 } |
static const int | PAL_samples_per_frame [] = { 1920, 0 } |
AVOutputFormat | mxf_d10_muxer |
struct { | |
enum CodecID id | |
int index | |
} | mxf_essence_mappings [] |
static const MXFContainerEssenceEntry | mxf_essence_container_uls [] |
static const uint8_t | uuid_base [] = { 0xAD,0xAB,0x44,0x24,0x2f,0x25,0x4d,0xc7,0x92,0xff,0x29,0xbd } |
static const uint8_t | umid_base [] = { 0x06,0x0A,0x2B,0x34,0x01,0x01,0x01,0x05,0x01,0x01,0x0D,0x00,0x13,0x00,0x00,0x00 } |
static const uint8_t | op1a_ul [] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x01,0x09,0x00 } |
complete key for operation pattern, partitions, and primer pack | |
static const uint8_t | footer_partition_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x04,0x04,0x00 } |
static const uint8_t | primer_pack_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x05,0x01,0x00 } |
static const uint8_t | index_table_segment_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x10,0x01,0x00 } |
static const uint8_t | random_index_pack_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x11,0x01,0x00 } |
static const uint8_t | header_open_partition_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x01,0x00 } |
static const uint8_t | header_closed_partition_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x04,0x00 } |
static const uint8_t | klv_fill_key [] = { 0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x01,0x03,0x01,0x02,0x10,0x01,0x00,0x00,0x00 } |
static const uint8_t | body_partition_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x03,0x04,0x00 } |
static const uint8_t | header_metadata_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01 } |
partial key for header metadata | |
static const uint8_t | multiple_desc_ul [] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x0D,0x01,0x03,0x01,0x02,0x7F,0x01,0x00 } |
static const MXFLocalTagPair | mxf_local_tag_batch [] |
SMPTE RP210 http://www.smpte-ra.org/mdd/index.html. | |
static const uint8_t | smpte_12m_timecode_track_data_ul [] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x01,0x01,0x00,0x00,0x00 } |
static const UID | mxf_mpegvideo_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x51,0x00 } |
static const UID | mxf_wav_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x48,0x00 } |
static const UID | mxf_aes3_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x47,0x00 } |
static const UID | mxf_cdci_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x01,0x28,0x00 } |
static const UID | mxf_generic_sound_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x01,0x42,0x00 } |
static const UID | mxf_mpeg2_codec_uls [] |
static const uint8_t | system_metadata_pack_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x03,0x01,0x04,0x01,0x01,0x00 } |
static const uint8_t | system_metadata_package_set_key [] = { 0x06,0x0E,0x2B,0x34,0x02,0x43,0x01,0x01,0x0D,0x01,0x03,0x01,0x04,0x01,0x02,0x01 } |
AVOutputFormat | mxf_muxer |
#define EDIT_UNITS_PER_BODY 250 |
#define KAG_SIZE 512 |
Definition at line 50 of file mxfenc.c.
Referenced by klv_fill_size(), mxf_write_d10_video_packet(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_klv_fill(), mxf_write_packet(), and mxf_write_partition().
static uint32_t ff_framenum_to_12m_time_code | ( | unsigned | frame, | |
int | drop, | |||
int | fps | |||
) | [static] |
static int klv_ber_length | ( | uint64_t | len | ) | [static] |
static void klv_encode_ber4_length | ( | ByteIOContext * | pb, | |
int | len | |||
) | [static] |
Definition at line 351 of file mxfenc.c.
Referenced by mxf_write_d10_audio_packet(), mxf_write_d10_video_packet(), mxf_write_klv_fill(), mxf_write_packet(), and mxf_write_system_item().
static int klv_encode_ber_length | ( | ByteIOContext * | pb, | |
uint64_t | len | |||
) | [static] |
Definition at line 330 of file mxfenc.c.
Referenced by mxf_write_content_storage(), mxf_write_essence_container_data(), mxf_write_generic_desc(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_partition(), mxf_write_preface(), mxf_write_primer_pack(), mxf_write_random_index_pack(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_timecode_component(), and mxf_write_track().
static unsigned klv_fill_size | ( | uint64_t | size | ) | [static] |
Definition at line 1015 of file mxfenc.c.
Referenced by mxf_write_d10_video_packet(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_klv_fill(), mxf_write_packet(), and mxf_write_partition().
static int mxf_compare_timestamps | ( | AVFormatContext * | s, | |
AVPacket * | next, | |||
AVPacket * | pkt | |||
) | [static] |
static void mxf_free | ( | AVFormatContext * | s | ) | [static] |
static const MXFCodecUL* mxf_get_data_definition_ul | ( | int | type | ) | [static] |
static int mxf_get_essence_container_ul_index | ( | enum CodecID | id | ) | [static] |
static const UID* mxf_get_mpeg2_codec_ul | ( | AVCodecContext * | avctx | ) | [static] |
static int mxf_interleave | ( | AVFormatContext * | s, | |
AVPacket * | out, | |||
AVPacket * | pkt, | |||
int | flush | |||
) | [static] |
static int mxf_interleave_get_packet | ( | AVFormatContext * | s, | |
AVPacket * | out, | |||
AVPacket * | pkt, | |||
int | flush | |||
) | [static] |
static int mxf_parse_mpeg2_frame | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
AVPacket * | pkt, | |||
int * | flags | |||
) | [static] |
static uint64_t mxf_parse_timestamp | ( | time_t | timestamp | ) | [static] |
static void mxf_write_aes3_desc | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
static void mxf_write_cdci_common | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
const UID | key, | |||
unsigned | size | |||
) | [static] |
Definition at line 772 of file mxfenc.c.
Referenced by mxf_write_cdci_desc(), and mxf_write_mpegvideo_desc().
static void mxf_write_cdci_desc | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
static void mxf_write_common_fields | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
Definition at line 595 of file mxfenc.c.
Referenced by mxf_write_sequence(), mxf_write_structural_component(), and mxf_write_timecode_component().
static void mxf_write_content_storage | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_d10_audio_packet | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
AVPacket * | pkt | |||
) | [static] |
static void mxf_write_d10_video_packet | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
AVPacket * | pkt | |||
) | [static] |
static int mxf_write_essence_container_data | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_essence_container_refs | ( | AVFormatContext * | s | ) | [static] |
Definition at line 421 of file mxfenc.c.
Referenced by mxf_write_partition(), and mxf_write_preface().
static int mxf_write_footer | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_generic_desc | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
const UID | key, | |||
unsigned | size | |||
) | [static] |
Definition at line 743 of file mxfenc.c.
Referenced by mxf_write_cdci_common(), and mxf_write_generic_sound_common().
static void mxf_write_generic_sound_common | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
const UID | key, | |||
unsigned | size | |||
) | [static] |
Definition at line 860 of file mxfenc.c.
Referenced by mxf_write_generic_sound_desc(), and mxf_write_wav_common().
static void mxf_write_generic_sound_desc | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
static int mxf_write_header | ( | AVFormatContext * | s | ) | [static] |
static int mxf_write_header_metadata_sets | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_identification | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_index_table_segment | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_klv_fill | ( | AVFormatContext * | s | ) | [static] |
Definition at line 1152 of file mxfenc.c.
Referenced by mxf_write_footer(), mxf_write_packet(), and mxf_write_partition().
static void mxf_write_local_tag | ( | ByteIOContext * | pb, | |
int | size, | |||
int | tag | |||
) | [static] |
Definition at line 388 of file mxfenc.c.
Referenced by mxf_write_cdci_common(), mxf_write_common_fields(), mxf_write_content_storage(), mxf_write_essence_container_data(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_local_tag_utf16(), mxf_write_mpegvideo_desc(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_timecode_component(), mxf_write_track(), and mxf_write_wav_common().
static void mxf_write_local_tag_utf16 | ( | ByteIOContext * | pb, | |
int | tag, | |||
const char * | value | |||
) | [static] |
static void mxf_write_metadata_key | ( | ByteIOContext * | pb, | |
unsigned int | value | |||
) | [static] |
Definition at line 394 of file mxfenc.c.
Referenced by mxf_write_content_storage(), mxf_write_essence_container_data(), mxf_write_identification(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_timecode_component(), and mxf_write_track().
static void mxf_write_mpegvideo_desc | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
static void mxf_write_multi_descriptor | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_package | ( | AVFormatContext * | s, | |
enum MXFMetadataSetType | type | |||
) | [static] |
static int mxf_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static void mxf_write_partition | ( | AVFormatContext * | s, | |
int | bodysid, | |||
int | indexsid, | |||
const uint8_t * | key, | |||
int | write_metadata | |||
) | [static] |
static void mxf_write_preface | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_primer_pack | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_random_index_pack | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_refs_count | ( | ByteIOContext * | pb, | |
int | ref_count | |||
) | [static] |
Definition at line 316 of file mxfenc.c.
Referenced by mxf_write_content_storage(), mxf_write_essence_container_refs(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), and mxf_write_sequence().
static void mxf_write_sequence | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
enum MXFMetadataSetType | type | |||
) | [static] |
static void mxf_write_structural_component | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
enum MXFMetadataSetType | type | |||
) | [static] |
static void mxf_write_system_item | ( | AVFormatContext * | s | ) | [static] |
static void mxf_write_timecode_component | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
enum MXFMetadataSetType | type | |||
) | [static] |
static void mxf_write_track | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
enum MXFMetadataSetType | type | |||
) | [static] |
static void mxf_write_umid | ( | ByteIOContext * | pb, | |
enum MXFMetadataSetType | type, | |||
int | value | |||
) | [static] |
Definition at line 310 of file mxfenc.c.
Referenced by mxf_write_essence_container_data(), mxf_write_package(), mxf_write_structural_component(), and mxf_write_system_item().
static void mxf_write_uuid | ( | ByteIOContext * | pb, | |
enum MXFMetadataSetType | type, | |||
int | value | |||
) | [static] |
Definition at line 303 of file mxfenc.c.
Referenced by mxf_write_content_storage(), mxf_write_essence_container_data(), mxf_write_generic_desc(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_timecode_component(), mxf_write_track(), and mxf_write_umid().
static void mxf_write_wav_common | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
const UID | key, | |||
unsigned | size | |||
) | [static] |
Definition at line 882 of file mxfenc.c.
Referenced by mxf_write_aes3_desc(), and mxf_write_wav_desc().
static void mxf_write_wav_desc | ( | AVFormatContext * | s, | |
AVStream * | st | |||
) | [static] |
const uint8_t body_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x03,0x04,0x00 } [static] |
Definition at line 206 of file mxfenc.c.
Referenced by mxf_write_packet(), and mxf_write_partition().
const uint8_t footer_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x04,0x04,0x00 } [static] |
Definition at line 199 of file mxfenc.c.
Referenced by mxf_write_footer(), and mxf_write_partition().
const uint8_t header_closed_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x04,0x00 } [static] |
const uint8_t header_metadata_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01 } [static] |
partial key for header metadata
Definition at line 211 of file mxfenc.c.
Referenced by mxf_write_metadata_key().
const uint8_t header_open_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x01,0x00 } [static] |
Definition at line 82 of file mxfenc.c.
Referenced by au_read_header(), avisynth_read_header(), ebml_parse(), ff_jpegls_decode_lse(), ff_mjpeg_decode_sos(), flush_packet(), mjpeg_decode_app(), mov_read_stsd(), put_system_header(), sol_read_header(), tcp_read_packet(), txd_read_packet(), and wavpack_decode_frame().
int index |
Definition at line 83 of file mxfenc.c.
Referenced by adpcm_decode_frame(), alac_linear_predictor(), alloc_table(), ape_read_seek(), asf_read_seek(), asv1_encode_block(), asv1_put_level(), asv2_encode_block(), asv2_put_level(), av_add_index_entry(), av_base64_decode(), av_find_stream_info(), av_parser_parse(), av_random_init(), av_resample(), av_seek_frame_binary(), av_seek_frame_generic(), av_shr_i(), avfilter_graph_parse(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), build_basis(), build_def_list(), build_frame_code(), build_table(), categorize(), cmp(), compute_scale_factors(), decode(), decode_cabac_residual_internal(), decode_gain_info(), decode_i2_frame(), decode_init(), decode_mb_cabac(), decode_mb_cavlc(), decode_p_block(), decode_ref_pic_list_reordering(), decode_spectrum_and_dequant(), decode_vectors(), direct_search(), dnxhd_decode_dct_block(), dnxhd_encode_init(), dnxhd_init_vlc(), dv_decode_ac(), encode_dc(), encode_q_branch(), ff_gmc_c(), ff_h261_reorder_mb_index(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_dqt(), ff_mjpeg_decode_sos(), ff_mpeg1_encode_init(), filter_channel(), g726_init(), gather_data_for_cel(), generate_bits_table(), get_rl_index(), gmc_c(), hpel_motion_search(), init_pass2(), ipvideo_decode_block_opcode_0xA(), ipvideo_decode_block_opcode_0xD(), ipvideo_decode_opcodes(), libopenjpeg_decode_frame(), matroska_read_header(), matroska_read_seek(), mov_write_stsc_tag(), mov_write_stss_tag(), mpc8_read_seek(), mpc_read_seek(), mxf_decrypt_triplet(), mxf_read_packet(), pix_sum16_mmx(), qpel_motion_search(), read_seek(), rematrix_channels(), rl2_read_seek(), rpza_decode_stream(), sad_hpel_motion_search(), set_blocks(), small_diamond_search(), svq3_decode_mb(), synthfilt_build_sb_samples(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), tta_read_seek(), vc1_decode_ac_coeff(), vc1_decode_b_mb(), vc1_decode_p_mb(), vqa_decode_chunk(), wma_decode_block(), write_packet(), wv_read_seek(), and xan_wc3_output_pixel_run().
const uint8_t index_table_segment_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x10,0x01,0x00 } [static] |
const uint8_t klv_fill_key[] = { 0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x01,0x03,0x01,0x02,0x10,0x01,0x00,0x00,0x00 } [static] |
Definition at line 205 of file mxfenc.c.
Referenced by mxf_write_d10_video_packet(), and mxf_write_klv_fill().
const uint8_t multiple_desc_ul[] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x0D,0x01,0x03,0x01,0x02,0x7F,0x01,0x00 } [static] |
Definition at line 212 of file mxfenc.c.
Referenced by mxf_write_multi_descriptor(), and mxf_write_system_item().
const UID mxf_aes3_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x47,0x00 } [static] |
const UID mxf_cdci_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x01,0x28,0x00 } [static] |
Initial value:
{ "mxf_d10", NULL_IF_CONFIG_SMALL("Material eXchange Format, D-10 Mapping"), "application/mxf", NULL, sizeof(MXFContext), CODEC_ID_PCM_S16LE, CODEC_ID_MPEG2VIDEO, mxf_write_header, mxf_write_packet, mxf_write_footer, AVFMT_NOTIMESTAMPS, NULL, mxf_interleave, }
const MXFContainerEssenceEntry mxf_essence_container_uls[] [static] |
struct { ... } mxf_essence_mappings[] [static] |
Referenced by mxf_get_essence_container_ul_index().
const UID mxf_generic_sound_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x01,0x42,0x00 } [static] |
const MXFLocalTagPair mxf_local_tag_batch[] [static] |
const UID mxf_mpeg2_codec_uls[] [static] |
Initial value:
{ { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x01,0x10,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x01,0x11,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x02,0x02,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x02,0x03,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x03,0x02,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x03,0x03,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x04,0x02,0x00 }, { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x04,0x01,0x02,0x02,0x01,0x04,0x03,0x00 }, }
Definition at line 1258 of file mxfenc.c.
Referenced by mxf_get_mpeg2_codec_ul().
const UID mxf_mpegvideo_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x51,0x00 } [static] |
Initial value:
{ "mxf", NULL_IF_CONFIG_SMALL("Material eXchange Format"), "application/mxf", "mxf", sizeof(MXFContext), CODEC_ID_PCM_S16LE, CODEC_ID_MPEG2VIDEO, mxf_write_header, mxf_write_packet, mxf_write_footer, AVFMT_NOTIMESTAMPS, NULL, mxf_interleave, }
const UID mxf_wav_descriptor_key = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x48,0x00 } [static] |
const int NTSC_samples_per_frame[] = { 1602, 1601, 1602, 1601, 1602, 0 } [static] |
const uint8_t op1a_ul[] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x01,0x09,0x00 } [static] |
complete key for operation pattern, partitions, and primer pack
Definition at line 198 of file mxfenc.c.
Referenced by mxf_write_partition(), and mxf_write_preface().
const int PAL_samples_per_frame[] = { 1920, 0 } [static] |
const uint8_t primer_pack_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x05,0x01,0x00 } [static] |
const uint8_t random_index_pack_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x11,0x01,0x00 } [static] |
const uint8_t smpte_12m_timecode_track_data_ul[] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x01,0x03,0x02,0x01,0x01,0x00,0x00,0x00 } [static] |
const uint8_t system_metadata_pack_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x03,0x01,0x04,0x01,0x01,0x00 } [static] |
const uint8_t system_metadata_package_set_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x43,0x01,0x01,0x0D,0x01,0x03,0x01,0x04,0x01,0x02,0x01 } [static] |
const uint8_t umid_base[] = { 0x06,0x0A,0x2B,0x34,0x01,0x01,0x01,0x05,0x01,0x01,0x0D,0x00,0x13,0x00,0x00,0x00 } [static] |
const uint8_t uuid_base[] = { 0xAD,0xAB,0x44,0x24,0x2f,0x25,0x4d,0xc7,0x92,0xff,0x29,0xbd } [static] |