FFmpeg
4.0
|
#include <stddef.h>
#include <stdint.h>
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/spherical.h"
#include "libavutil/stereo3d.h"
#include "avio.h"
#include "internal.h"
#include "dv.h"
Go to the source code of this file.
Data Structures | |
struct | MOVStts |
struct | MOVStsc |
struct | MOVElst |
struct | MOVDref |
struct | MOVAtom |
struct | MOVFragment |
struct | MOVTrackExt |
struct | MOVSbgp |
struct | MOVFragmentStreamInfo |
struct | MOVFragmentIndexItem |
struct | MOVFragmentIndex |
struct | MOVIndexRange |
struct | MOVStreamContext |
struct | MOVContext |
Functions | |
int | ff_mov_iso639_to_lang (const char lang[4], int mp4) |
int | ff_mov_lang_to_iso639 (unsigned code, char to[4]) |
int | ff_mp4_read_descr_len (AVIOContext *pb) |
int | ff_mp4_read_descr (AVFormatContext *fc, AVIOContext *pb, int *tag) |
int | ff_mp4_read_dec_config_descr (AVFormatContext *fc, AVStream *st, AVIOContext *pb) |
void | ff_mp4_parse_es_descr (AVIOContext *pb, int *es_id) |
int | ff_mov_read_esds (AVFormatContext *fc, AVIOContext *pb) |
int | ff_mov_read_stsd_entries (MOVContext *c, AVIOContext *pb, int entries) |
void | ff_mov_write_chan (AVIOContext *pb, int64_t channel_layout) |
static enum AVCodecID | ff_mov_get_lpcm_codec_id (int bps, int flags) |
Compute codec id for 'lpcm' tag. More... | |
Variables | |
const AVCodecTag | ff_mp4_obj_type [] |
const AVCodecTag | ff_codec_movvideo_tags [] |
const AVCodecTag | ff_codec_movaudio_tags [] |
const AVCodecTag | ff_codec_movsubtitle_tags [] |
#define MP4ODescrTag 0x01 |
Definition at line 285 of file isom.h.
Referenced by parse_mp4_descr().
#define MP4IODescrTag 0x02 |
Definition at line 286 of file isom.h.
Referenced by mp4_read_iods(), and parse_mp4_descr().
#define MP4ESDescrTag 0x03 |
Definition at line 287 of file isom.h.
Referenced by ff_mov_read_esds(), ffat_init_encoder(), and parse_mp4_descr().
#define MP4DecConfigDescrTag 0x04 |
Definition at line 288 of file isom.h.
Referenced by ff_mov_read_esds(), ffat_init_encoder(), parse_mp4_descr(), and parse_MP4ESDescrTag().
#define MP4DecSpecificDescrTag 0x05 |
Definition at line 289 of file isom.h.
Referenced by ff_mp4_read_dec_config_descr(), and ffat_init_encoder().
#define MP4SLDescrTag 0x06 |
Definition at line 290 of file isom.h.
Referenced by parse_mp4_descr(), and parse_MP4ESDescrTag().
#define MOV_TFHD_BASE_DATA_OFFSET 0x01 |
Definition at line 292 of file isom.h.
Referenced by mov_read_tfhd(), mov_write_tfhd_tag(), and read_moof_duration().
#define MOV_TFHD_STSD_ID 0x02 |
Definition at line 293 of file isom.h.
Referenced by mov_read_tfhd(), and read_moof_duration().
#define MOV_TFHD_DEFAULT_DURATION 0x08 |
Definition at line 294 of file isom.h.
Referenced by mov_read_tfhd(), mov_write_tfhd_tag(), and read_moof_duration().
#define MOV_TFHD_DEFAULT_SIZE 0x10 |
Definition at line 295 of file isom.h.
Referenced by mov_read_tfhd(), and mov_write_tfhd_tag().
#define MOV_TFHD_DEFAULT_FLAGS 0x20 |
Definition at line 296 of file isom.h.
Referenced by mov_read_tfhd(), and mov_write_tfhd_tag().
#define MOV_TFHD_DURATION_IS_EMPTY 0x010000 |
Definition at line 297 of file isom.h.
Referenced by mov_write_tfhd_tag().
#define MOV_TFHD_DEFAULT_BASE_IS_MOOF 0x020000 |
Definition at line 298 of file isom.h.
Referenced by mov_read_tfhd(), and mov_write_tfhd_tag().
#define MOV_TRUN_DATA_OFFSET 0x01 |
Definition at line 300 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_TRUN_FIRST_SAMPLE_FLAGS 0x04 |
Definition at line 301 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_TRUN_SAMPLE_DURATION 0x100 |
Definition at line 302 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_TRUN_SAMPLE_SIZE 0x200 |
Definition at line 303 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_TRUN_SAMPLE_FLAGS 0x400 |
Definition at line 304 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_TRUN_SAMPLE_CTS 0x800 |
Definition at line 305 of file isom.h.
Referenced by mov_read_trun(), mov_write_trun_tag(), and read_trun_duration().
#define MOV_FRAG_SAMPLE_FLAG_DEGRADATION_PRIORITY_MASK 0x0000ffff |
#define MOV_FRAG_SAMPLE_FLAG_IS_NON_SYNC 0x00010000 |
Definition at line 308 of file isom.h.
Referenced by get_sample_flags(), mov_read_trun(), and mov_write_tfhd_tag().
#define MOV_FRAG_SAMPLE_FLAG_DEPENDS_NO 0x02000000 |
Definition at line 314 of file isom.h.
Referenced by get_sample_flags(), and mov_write_tfhd_tag().
#define MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES 0x01000000 |
Definition at line 315 of file isom.h.
Referenced by get_sample_flags(), mov_read_trun(), and mov_write_tfhd_tag().
#define MOV_TKHD_FLAG_ENABLED 0x0001 |
Definition at line 317 of file isom.h.
Referenced by mov_read_tkhd(), and mov_write_tkhd_tag().
#define MOV_TKHD_FLAG_IN_MOVIE 0x0002 |
Definition at line 318 of file isom.h.
Referenced by mov_write_tkhd_tag().
#define MOV_SAMPLE_DEPENDENCY_UNKNOWN 0x0 |
Definition at line 322 of file isom.h.
Referenced by mov_write_sdtp_tag().
#define MOV_SAMPLE_DEPENDENCY_YES 0x1 |
Definition at line 323 of file isom.h.
Referenced by mov_write_sdtp_tag().
#define MOV_SAMPLE_DEPENDENCY_NO 0x2 |
Definition at line 324 of file isom.h.
Referenced by mov_write_sdtp_tag().
#define TAG_IS_AVCI | ( | tag | ) |
Definition at line 327 of file isom.h.
Referenced by ff_mov_write_packet(), mov_read_trak(), mov_write_header(), and mov_write_video_tag().
#define FF_MOV_FLAG_MFRA_AUTO -1 |
Definition at line 349 of file isom.h.
Referenced by mov_read_free().
#define FF_MOV_FLAG_MFRA_PTS 2 |
Definition at line 351 of file isom.h.
Referenced by mov_read_free(), and mov_read_trun().
Definition at line 402 of file isom.c.
Referenced by get_metadata_lang(), mov_init(), and mov_write_string_data_tag().
int ff_mov_lang_to_iso639 | ( | unsigned | code, |
char | to[4] | ||
) |
Definition at line 429 of file isom.c.
Referenced by mov_metadata_loci(), mov_read_mdhd(), and mov_read_udta_string().
int ff_mp4_read_descr_len | ( | AVIOContext * | pb | ) |
Definition at line 451 of file isom.c.
Referenced by ff_mp4_read_descr(), and read_pakt_chunk().
int ff_mp4_read_descr | ( | AVFormatContext * | fc, |
AVIOContext * | pb, | ||
int * | tag | ||
) |
Definition at line 464 of file isom.c.
Referenced by ff_mov_read_esds(), ff_mp4_read_dec_config_descr(), and parse_mp4_descr().
int ff_mp4_read_dec_config_descr | ( | AVFormatContext * | fc, |
AVStream * | st, | ||
AVIOContext * | pb | ||
) |
Definition at line 498 of file isom.c.
Referenced by ff_mov_read_esds(), ff_parse_mpeg2_descriptor(), and m4sl_cb().
void ff_mp4_parse_es_descr | ( | AVIOContext * | pb, |
int * | es_id | ||
) |
Definition at line 473 of file isom.c.
Referenced by ff_mov_read_esds(), and parse_MP4ESDescrTag().
int ff_mov_read_esds | ( | AVFormatContext * | fc, |
AVIOContext * | pb | ||
) |
Definition at line 23 of file mov_esds.c.
Referenced by mov_read_esds(), and read_kuki_chunk().
int ff_mov_read_stsd_entries | ( | MOVContext * | c, |
AVIOContext * | pb, | ||
int | entries | ||
) |
Definition at line 2444 of file mov.c.
Referenced by mov_read_stsd(), and qt_rtp_parse_packet().
void ff_mov_write_chan | ( | AVIOContext * | pb, |
int64_t | channel_layout | ||
) |
Definition at line 626 of file isom.c.
Referenced by aiff_write_header(), and caf_write_header().
Compute codec id for 'lpcm' tag.
See CoreAudioTypes and AudioStreamBasicDescription at Apple.
Definition at line 357 of file isom.h.
Referenced by mov_parse_stsd_audio(), and read_desc_chunk().
const AVCodecTag ff_mp4_obj_type[] |
Definition at line 34 of file isom.c.
Referenced by mov_write_esds_tag(), and set_codec_str().
const AVCodecTag ff_codec_movvideo_tags[] |
Definition at line 75 of file isom.c.
Referenced by avformat_get_mov_video_tags(), avi_read_header(), decode_stream_header(), get_qt_codec(), matroska_parse_tracks(), mkv_write_codecprivate(), mkv_write_native_codecprivate(), mkv_write_track(), mov_codec_id(), mov_get_codec_tag(), mov_skip_multiple_stsd(), and set_codec_str().
const AVCodecTag ff_codec_movaudio_tags[] |
Definition at line 312 of file isom.c.
Referenced by avformat_get_mov_audio_tags(), get_qt_codec(), matroska_parse_tracks(), mov_codec_id(), mov_get_codec_tag(), and set_codec_str().
const AVCodecTag ff_codec_movsubtitle_tags[] |
Definition at line 369 of file isom.c.
Referenced by mov_codec_id(), and mov_get_codec_tag().