FFmpeg
|
#include <inttypes.h>
#include <limits.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/channel_layout.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/mathematics.h"
#include "libavutil/time_internal.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/display.h"
#include "libavutil/opt.h"
#include "libavutil/aes.h"
#include "libavutil/aes_ctr.h"
#include "libavutil/sha.h"
#include "libavutil/timecode.h"
#include "libavcodec/ac3tab.h"
#include "libavcodec/mpegaudiodecheader.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "riff.h"
#include "isom.h"
#include "libavcodec/get_bits.h"
#include "id3v1.h"
#include "mov_chan.h"
#include "replaygain.h"
#include "qtpalette.h"
Go to the source code of this file.
Data Structures | |
struct | MOVParseTableEntry |
Macros | |
#define | MIN_DATA_ENTRY_BOX_SIZE 12 |
#define | DRM_BLOB_SIZE 56 |
#define | ALAC_EXTRADATA_SIZE 36 |
#define | OFFSET(x) offsetof(MOVContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Variables | |
static const uint32_t | mac_to_unicode [128] |
static const MOVParseTableEntry | mov_default_parse_table [] |
static const AVOption | mov_options [] |
static const AVClass | mov_class |
AVInputFormat | ff_mov_demuxer |
#define MIN_DATA_ENTRY_BOX_SIZE 12 |
Definition at line 560 of file mov.c.
Referenced by mov_read_dref().
#define DRM_BLOB_SIZE 56 |
Definition at line 986 of file mov.c.
Referenced by mov_read_adrm().
#define ALAC_EXTRADATA_SIZE 36 |
Referenced by mov_read_wave().
#define OFFSET | ( | x | ) | offsetof(MOVContext, x) |
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 4864 of file mov.c.
Referenced by ff_mov_read_stsd_entries(), mov_read_cmov(), mov_read_glbl(), mov_read_header(), mov_read_ilst(), mov_read_meta(), mov_read_moof(), mov_read_moov(), mov_read_trak(), mov_read_wave(), and mov_switch_root().
|
static |
Definition at line 5404 of file mov.c.
Referenced by mov_read_moof().
|
static |
Definition at line 74 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 94 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 108 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 117 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 152 of file mov.c.
Referenced by mov_parse_stsd_video(), and mov_read_udta_string().
|
static |
Definition at line 170 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 221 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 271 of file mov.c.
Referenced by mov_read_udta_string().
|
static |
Definition at line 288 of file mov.c.
Referenced by mov_read_default().
|
static |
|
static |
|
static |
int ff_mov_read_esds | ( | AVFormatContext * | fc, |
AVIOContext * | pb | ||
) |
Definition at line 762 of file mov.c.
Referenced by mov_read_esds(), and read_kuki_chunk().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 978 of file mov.c.
Referenced by mov_read_wide().
|
static |
|
static |
Definition at line 1087 of file mov.c.
Referenced by mov_read_packet().
|
static |
|
static |
|
static |
|
static |
Definition at line 1178 of file mov.c.
Referenced by mov_read_mdhd(), and mov_read_mvhd().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1391 of file mov.c.
Referenced by mov_read_aclr(), and mov_read_extradata().
|
static |
Definition at line 1406 of file mov.c.
Referenced by mov_read_aclr(), and mov_read_extradata().
|
static |
Definition at line 1428 of file mov.c.
Referenced by mov_read_alac(), mov_read_avid(), mov_read_avss(), mov_read_dpxe(), mov_read_jp2h(), mov_read_svq3(), and mov_read_targa_y216().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1474 of file mov.c.
Referenced by mov_read_ares().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
This function reads atom content and puts data in extradata without tag nor size unlike mov_read_extradata.
Definition at line 1642 of file mov.c.
Referenced by mov_parse_stsd_subtitle().
|
static |
|
static |
|
static |
enum AVCodecID ff_mov_get_lpcm_codec_id | ( | int | bps, |
int | flags | ||
) |
Compute codec id for 'lpcm' tag.
See CoreAudioTypes and AudioStreamBasicDescription at Apple.
Definition at line 1778 of file mov.c.
Referenced by mov_parse_stsd_audio(), and read_desc_chunk().
|
static |
Definition at line 1788 of file mov.c.
Referenced by ff_mov_read_stsd_entries(), mov_parse_stsd_audio(), and mov_read_frma().
|
static |
Definition at line 1821 of file mov.c.
Referenced by ff_mov_read_stsd_entries().
|
static |
Definition at line 1877 of file mov.c.
Referenced by ff_mov_read_stsd_entries().
|
static |
Definition at line 1986 of file mov.c.
Referenced by ff_mov_read_stsd_entries().
|
static |
Definition at line 2000 of file mov.c.
Referenced by mov_rewrite_dvd_sub_extradata().
|
static |
Definition at line 2016 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 2051 of file mov.c.
Referenced by ff_mov_read_stsd_entries().
|
static |
Definition at line 2117 of file mov.c.
Referenced by mov_read_stsd().
|
static |
Definition at line 2195 of file mov.c.
Referenced by ff_mov_read_stsd_entries().
int ff_mov_read_stsd_entries | ( | MOVContext * | c, |
AVIOContext * | pb, | ||
int | entries | ||
) |
Definition at line 2223 of file mov.c.
Referenced by mov_read_stsd(), and qt_rtp_parse_packet().
|
static |
|
static |
|
inlinestatic |
Definition at line 2413 of file mov.c.
Referenced by mov_read_packet(), and mov_seek_stream().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2663 of file mov.c.
Referenced by mov_read_ctts(), and mov_read_trun().
|
static |
|
static |
|
static |
Get ith edit list entry (media time, duration).
Definition at line 2784 of file mov.c.
Referenced by mov_fix_index().
|
static |
Find the closest previous keyframe to the timestamp, in e_old index entries.
Returns the index of the entry in st->index_entries if successful, else returns -1.
Definition at line 2813 of file mov.c.
Referenced by mov_fix_index().
|
static |
Add index entry with the given values, to the end of st->index_entries.
Returns the new size st->index_entries if successful, else returns -1.
This function is similar to ff_add_index_entry in libavformat/utils.c except that here we are always unconditionally adding an index entry to the end, instead of searching the entries list and skipping the add if there is an existing entry with the same timestamp. This is needed because the mov_fix_index calls this func with the same unincremented timestamp for successive discarded frames.
Definition at line 2844 of file mov.c.
Referenced by mov_fix_index().
|
static |
Rewrite timestamps of index entries in the range [end_index - frame_duration_buffer_size, end_index) by subtracting end_ts successively by the amounts given in frame_duration_buffer.
Definition at line 2884 of file mov.c.
Referenced by mov_fix_index().
|
static |
Append a new ctts entry to ctts_data.
Returns the new ctts_count if successful, else returns -1.
Definition at line 2899 of file mov.c.
Referenced by mov_fix_index().
|
static |
Fix st->index_entries, so that it contains only the entries (and the entries which are needed to decode them) that fall in the edit list time ranges.
Also fixes the timestamps of the index entries to match the timeline specified the edit lists.
Definition at line 2932 of file mov.c.
Referenced by mov_build_index().
|
static |
Definition at line 3182 of file mov.c.
Referenced by mov_read_trak().
|
static |
Definition at line 3454 of file mov.c.
Referenced by mov_open_dref().
|
static |
Definition at line 3483 of file mov.c.
Referenced by mov_read_trak().
|
static |
Definition at line 3555 of file mov.c.
Referenced by mov_read_header(), and mov_read_trak().
|
static |
|
static |
|
static |
Definition at line 3690 of file mov.c.
Referenced by mov_read_default().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 4687 of file mov.c.
Referenced by mov_read_packet().
|
static |
Definition at line 4753 of file mov.c.
Referenced by mov_seek_stream().
|
static |
|
static |
Definition at line 5068 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 5169 of file mov.c.
Referenced by mov_read_timecode_track().
|
static |
Definition at line 5183 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 5208 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 5236 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 5309 of file mov.c.
Referenced by export_orphan_timecode().
|
static |
Definition at line 5325 of file mov.c.
Referenced by mov_read_header().
|
static |
Definition at line 5343 of file mov.c.
Referenced by mov_read_mfra().
|
static |
|
static |
Definition at line 5615 of file mov.c.
Referenced by mov_read_packet(), and mov_read_seek().
|
static |
Definition at line 5641 of file mov.c.
Referenced by mov_read_packet().
|
static |
Definition at line 5648 of file mov.c.
Referenced by mov_read_packet(), and mov_seek_fragment().
|
static |
Definition at line 5694 of file mov.c.
Referenced by mov_read_packet().
|
static |
|
static |
Definition at line 5846 of file mov.c.
Referenced by mov_seek_stream().
|
static |
Definition at line 5871 of file mov.c.
Referenced by mov_read_seek().
|
static |
|
static |
Definition at line 133 of file mov.c.
Referenced by mov_read_mac_string().
|
static |
|
static |
AVInputFormat ff_mov_demuxer |