FFmpeg
Data Structures | Macros | Functions | Variables
movenc.c File Reference
#include <stdint.h>
#include <inttypes.h>
#include "movenc.h"
#include "avformat.h"
#include "avio_internal.h"
#include "riff.h"
#include "avio.h"
#include "isom.h"
#include "av1.h"
#include "avc.h"
#include "libavcodec/ac3_parser_internal.h"
#include "libavcodec/dnxhddata.h"
#include "libavcodec/flac.h"
#include "libavcodec/get_bits.h"
#include "libavcodec/internal.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/vc1_common.h"
#include "libavcodec/raw.h"
#include "internal.h"
#include "libavutil/avstring.h"
#include "libavutil/intfloat.h"
#include "libavutil/mathematics.h"
#include "libavutil/libm.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "libavutil/pixdesc.h"
#include "libavutil/stereo3d.h"
#include "libavutil/timecode.h"
#include "libavutil/dovi_meta.h"
#include "libavutil/color_utils.h"
#include "hevc.h"
#include "rtpenc.h"
#include "mov_chan.h"
#include "vpcc.h"

Go to the source code of this file.

Data Structures

struct  eac3_info
 
struct  mpeg4_bit_rate_values
 

Macros

#define MOV_CLASS(flavor)
 
#define IS_MODE(muxer, config)   (CONFIG_ ## config ## _MUXER && !strcmp(#muxer, s->oformat->name))
 
#define READ_BLOCK
 

Functions

static int get_moov_size (AVFormatContext *s)
 
static int utf8len (const uint8_t *b)
 
static int64_t update_size (AVIOContext *pb, int64_t pos)
 
static int co64_required (const MOVTrack *track)
 
static int is_cover_image (const AVStream *st)
 
static int rtp_hinting_needed (const AVStream *st)
 
static int mov_write_stco_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_stsz_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_stsc_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_stss_tag (AVIOContext *pb, MOVTrack *track, uint32_t flag)
 
static int mov_write_sdtp_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_amr_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_ac3_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_eac3_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_extradata_tag (AVIOContext *pb, MOVTrack *track)
 This function writes extradata "as is". More...
 
static int mov_write_enda_tag (AVIOContext *pb)
 
static int mov_write_enda_tag_be (AVIOContext *pb)
 
static void put_descr (AVIOContext *pb, int tag, unsigned int size)
 
static unsigned compute_avg_bitrate (MOVTrack *track)
 
static struct mpeg4_bit_rate_values calculate_mpeg4_bit_rates (MOVTrack *track)
 
static int mov_write_esds_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_pcm_le_gt16 (enum AVCodecID codec_id)
 
static int mov_pcm_be_gt16 (enum AVCodecID codec_id)
 
static int mov_write_ms_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_wfex_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dfla_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dops_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dmlp_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_chan_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_wave_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dvc1_structs (MOVTrack *track, uint8_t *buf)
 
static int mov_write_dvc1_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_glbl_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_get_lpcm_flags (enum AVCodecID codec_id)
 Compute flags for 'lpcm' tag. More...
 
static int get_cluster_duration (MOVTrack *track, int cluster_idx)
 
static int get_samples_per_packet (MOVTrack *track)
 
static int mov_write_btrt_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_audio_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_d263_tag (AVIOContext *pb)
 
static int mov_write_av1c_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_avcc_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_vpcc_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_hvcc_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_avid_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dpxe_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_get_dv_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static AVRational find_fps (AVFormatContext *s, AVStream *st)
 
static int defined_frame_rate (AVFormatContext *s, AVStream *st)
 
static int mov_get_mpeg2_xdcam_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static int mov_get_h264_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static int mov_get_dnxhd_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static int mov_get_rawvideo_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static unsigned int mov_get_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static unsigned int validate_codec_tag (const AVCodecTag *const *tags, unsigned int tag, int codec_id)
 
static unsigned int mov_find_codec_tag (AVFormatContext *s, MOVTrack *track)
 
static int mov_write_uuid_tag_ipod (AVIOContext *pb)
 Write uuid atom. More...
 
static int mov_write_fiel_tag (AVIOContext *pb, MOVTrack *track, int field_order)
 
static int mov_write_subtitle_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_st3d_tag (AVFormatContext *s, AVIOContext *pb, AVStereo3D *stereo_3d)
 
static int mov_write_sv3d_tag (AVFormatContext *s, AVIOContext *pb, AVSphericalMapping *spherical_mapping)
 
static int mov_write_dvcc_dvvc_tag (AVFormatContext *s, AVIOContext *pb, AVDOVIDecoderConfigurationRecord *dovi)
 
static int mov_write_clap_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_pasp_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_gama_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track, double gamma)
 
static int mov_write_colr_tag (AVIOContext *pb, MOVTrack *track, int prefer_icc)
 
static int mov_write_clli_tag (AVIOContext *pb, MOVTrack *track)
 
static int64_t rescale_mdcv (AVRational q, int b)
 
static int mov_write_mdcv_tag (AVIOContext *pb, MOVTrack *track)
 
static void find_compressor (char *compressor_name, int len, MOVTrack *track)
 
static int mov_write_video_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_rtp_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_source_reference_tag (AVIOContext *pb, MOVTrack *track, const char *reel_name)
 
static int mov_write_tmcd_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_gpmd_tag (AVIOContext *pb, const MOVTrack *track)
 
static int mov_write_stsd_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_ctts_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_stts_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_dref_tag (AVIOContext *pb)
 
static int mov_preroll_write_stbl_atoms (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_stbl_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_dinf_tag (AVIOContext *pb)
 
static int mov_write_nmhd_tag (AVIOContext *pb)
 
static int mov_write_tcmi_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_gmhd_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_smhd_tag (AVIOContext *pb)
 
static int mov_write_vmhd_tag (AVIOContext *pb)
 
static int is_clcp_track (MOVTrack *track)
 
static int mov_write_hdlr_tag (AVFormatContext *s, AVIOContext *pb, MOVTrack *track)
 
static int mov_write_hmhd_tag (AVIOContext *pb)
 
static int mov_write_minf_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static void get_pts_range (MOVMuxContext *mov, MOVTrack *track, int64_t *start, int64_t *end)
 
static int64_t calc_samples_pts_duration (MOVMuxContext *mov, MOVTrack *track)
 
static int64_t calc_pts_duration (MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_mdhd_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_mdia_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static void write_matrix (AVIOContext *pb, int16_t a, int16_t b, int16_t c, int16_t d, int16_t tx, int16_t ty)
 
static int mov_write_tkhd_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, AVStream *st)
 
static int mov_write_tapt_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_edts_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_write_tref_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_uuid_tag_psp (AVIOContext *pb, MOVTrack *mov)
 
static int mov_write_udta_sdp (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_track_metadata (AVIOContext *pb, AVStream *st, const char *tag, const char *str)
 
static int mov_write_track_udta_tag (AVIOContext *pb, MOVMuxContext *mov, AVStream *st)
 
static int mov_write_trak_tag (AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, AVStream *st)
 
static int mov_write_iods_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static int mov_write_trex_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_mvex_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static int mov_write_mvhd_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static int mov_write_itunes_hdlr_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_string_data_tag (AVIOContext *pb, const char *data, int lang, int long_style)
 
static int mov_write_string_tag (AVIOContext *pb, const char *name, const char *value, int lang, int long_style)
 
static AVDictionaryEntryget_metadata_lang (AVFormatContext *s, const char *tag, int *lang)
 
static int mov_write_string_metadata (AVFormatContext *s, AVIOContext *pb, const char *name, const char *tag, int long_style)
 
static int mov_write_tmpo_tag (AVIOContext *pb, AVFormatContext *s)
 
static int mov_write_loci_tag (AVFormatContext *s, AVIOContext *pb)
 
static int mov_write_trkn_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s, int disc)
 
static int mov_write_int8_metadata (AVFormatContext *s, AVIOContext *pb, const char *name, const char *tag, int len)
 
static int mov_write_covr (AVIOContext *pb, AVFormatContext *s)
 
static int mov_write_ilst_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_mdta_hdlr_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_mdta_keys_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_mdta_ilst_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_meta_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_raw_metadata_tag (AVFormatContext *s, AVIOContext *pb, const char *name, const char *key)
 
static int ascii_to_wc (AVIOContext *pb, const uint8_t *b)
 
static uint16_t language_code (const char *str)
 
static int mov_write_3gp_udta_tag (AVIOContext *pb, AVFormatContext *s, const char *tag, const char *str)
 
static int mov_write_chpl_tag (AVIOContext *pb, AVFormatContext *s)
 
static int mov_write_udta_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static void mov_write_psp_udta_tag (AVIOContext *pb, const char *str, const char *lang, int type)
 
static int mov_write_uuidusmt_tag (AVIOContext *pb, AVFormatContext *s)
 
static void build_chunks (MOVTrack *trk)
 
static int mov_setup_track_ids (MOVMuxContext *mov, AVFormatContext *s)
 Assign track ids. More...
 
static int mov_write_moov_tag (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static void param_write_int (AVIOContext *pb, const char *name, int value)
 
static void param_write_string (AVIOContext *pb, const char *name, const char *value)
 
static void param_write_hex (AVIOContext *pb, const char *name, const uint8_t *value, int len)
 
static int mov_write_isml_manifest (AVIOContext *pb, MOVMuxContext *mov, AVFormatContext *s)
 
static int mov_write_mfhd_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static uint32_t get_sample_flags (MOVTrack *track, MOVIentry *entry)
 
static int mov_write_tfhd_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, int64_t moof_offset)
 
static int mov_write_trun_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, int moof_size, int first, int end)
 
static int mov_write_tfxd_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_tfrf_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, int entry)
 
static int mov_write_tfrf_tags (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track)
 
static int mov_add_tfra_entries (AVIOContext *pb, MOVMuxContext *mov, int tracks, int size)
 
static void mov_prune_frag_info (MOVMuxContext *mov, int tracks, int max)
 
static int mov_write_tfdt_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_traf_tag (AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track, int64_t moof_offset, int moof_size)
 
static int mov_write_moof_tag_internal (AVIOContext *pb, MOVMuxContext *mov, int tracks, int moof_size)
 
static int mov_write_sidx_tag (AVIOContext *pb, MOVTrack *track, int ref_size, int total_sidx_size)
 
static int mov_write_sidx_tags (AVIOContext *pb, MOVMuxContext *mov, int tracks, int ref_size)
 
static int mov_write_prft_tag (AVIOContext *pb, MOVMuxContext *mov, int tracks)
 
static int mov_write_moof_tag (AVIOContext *pb, MOVMuxContext *mov, int tracks, int64_t mdat_size)
 
static int mov_write_tfra_tag (AVIOContext *pb, MOVTrack *track)
 
static int mov_write_mfra_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static int mov_write_mdat_tag (AVIOContext *pb, MOVMuxContext *mov)
 
static void mov_write_ftyp_tag_internal (AVIOContext *pb, AVFormatContext *s, int has_h264, int has_video, int write_minor)
 
static int mov_write_ftyp_tag (AVIOContext *pb, AVFormatContext *s)
 
static int mov_write_uuidprof_tag (AVIOContext *pb, AVFormatContext *s)
 
static int mov_write_identification (AVIOContext *pb, AVFormatContext *s)
 
static int mov_parse_mpeg2_frame (AVPacket *pkt, uint32_t *flags)
 
static void mov_parse_vc1_frame (AVPacket *pkt, MOVTrack *trk)
 
static void mov_parse_truehd_frame (AVPacket *pkt, MOVTrack *trk)
 
static int mov_flush_fragment_interleaving (AVFormatContext *s, MOVTrack *track)
 
static int mov_flush_fragment (AVFormatContext *s, int force)
 
static int mov_auto_flush_fragment (AVFormatContext *s, int force)
 
static int check_pkt (AVFormatContext *s, AVPacket *pkt)
 
int ff_mov_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int mov_write_single_packet (AVFormatContext *s, AVPacket *pkt)
 
static int mov_write_subtitle_end_packet (AVFormatContext *s, int stream_index, int64_t dts)
 
static int mov_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int mov_create_chapter_track (AVFormatContext *s, int tracknum)
 
static int mov_check_timecode_track (AVFormatContext *s, AVTimecode *tc, int src_index, const char *tcstr)
 
static int mov_create_timecode_track (AVFormatContext *s, int index, int src_index, AVTimecode tc)
 
static void enable_tracks (AVFormatContext *s)
 
static void mov_free (AVFormatContext *s)
 
static uint32_t rgb_to_yuv (uint32_t rgb)
 
static int mov_create_dvd_sub_decoder_specific_info (MOVTrack *track, AVStream *st)
 
static int mov_init (AVFormatContext *s)
 
static int mov_write_header (AVFormatContext *s)
 
static int get_sidx_size (AVFormatContext *s)
 
static int compute_moov_size (AVFormatContext *s)
 
static int compute_sidx_size (AVFormatContext *s)
 
static int shift_data (AVFormatContext *s)
 
static int mov_write_trailer (AVFormatContext *s)
 
static int mov_check_bitstream (struct AVFormatContext *s, const AVPacket *pkt)
 

Variables

static const AVOption options []
 
struct {
   enum AVPixelFormat   pix_fmt
 
   uint32_t   tag
 
   unsigned   bps
 
mov_pix_fmt_tags []
 
static const AVCodecTag codec_cover_image_tags []
 
static const uint16_t fiel_data []
 
static const AVCodecTag codec_mp4_tags []
 
static const AVCodecTag codec_ism_tags []
 
static const AVCodecTag codec_ipod_tags []
 
static const AVCodecTag codec_f4v_tags []
 

Macro Definition Documentation

◆ MOV_CLASS

#define MOV_CLASS (   flavor)
Value:
static const AVClass flavor ## _muxer_class = {\
.class_name = #flavor " muxer",\
.item_name = av_default_item_name,\
.option = options,\
.version = LIBAVUTIL_VERSION_INT,\
};

Definition at line 113 of file movenc.c.

◆ IS_MODE

#define IS_MODE (   muxer,
  config 
)    (CONFIG_ ## config ## _MUXER && !strcmp(#muxer, s->oformat->name))

◆ READ_BLOCK

#define READ_BLOCK
Value:
do { \
read_size[read_buf_id] = avio_read(read_pb, read_buf[read_buf_id], moov_size); \
read_buf_id ^= 1; \
} while (0)

Function Documentation

◆ get_moov_size()

static int get_moov_size ( AVFormatContext s)
static

Definition at line 6910 of file movenc.c.

Referenced by compute_moov_size(), and mov_flush_fragment().

◆ utf8len()

static int utf8len ( const uint8_t b)
static

◆ update_size()

static int64_t update_size ( AVIOContext pb,
int64_t  pos 
)
static

◆ co64_required()

static int co64_required ( const MOVTrack track)
static

Definition at line 145 of file movenc.c.

Referenced by mov_write_stco_tag().

◆ is_cover_image()

static int is_cover_image ( const AVStream st)
static

◆ rtp_hinting_needed()

static int rtp_hinting_needed ( const AVStream st)
static

Definition at line 159 of file movenc.c.

Referenced by mov_init(), and mov_write_header().

◆ mov_write_stco_tag()

static int mov_write_stco_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 169 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_stsz_tag()

static int mov_write_stsz_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 193 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_stsc_tag()

static int mov_write_stsc_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 229 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_stss_tag()

static int mov_write_stss_tag ( AVIOContext pb,
MOVTrack track,
uint32_t  flag 
)
static

Definition at line 258 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_sdtp_tag()

static int mov_write_sdtp_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 282 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_amr_tag()

static int mov_write_amr_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 305 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_wave_tag().

◆ mov_write_ac3_tag()

static int mov_write_ac3_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 319 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_wave_tag().

◆ mov_write_eac3_tag()

static int mov_write_eac3_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 542 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_wave_tag().

◆ mov_write_extradata_tag()

static int mov_write_extradata_tag ( AVIOContext pb,
MOVTrack track 
)
static

This function writes extradata "as is".

Extradata must be formatted like a valid atom (with size and tag).

Definition at line 597 of file movenc.c.

Referenced by mov_write_audio_tag(), mov_write_video_tag(), and mov_write_wave_tag().

◆ mov_write_enda_tag()

static int mov_write_enda_tag ( AVIOContext pb)
static

Definition at line 603 of file movenc.c.

Referenced by mov_write_wave_tag().

◆ mov_write_enda_tag_be()

static int mov_write_enda_tag_be ( AVIOContext pb)
static

Definition at line 611 of file movenc.c.

Referenced by mov_write_wave_tag().

◆ put_descr()

static void put_descr ( AVIOContext pb,
int  tag,
unsigned int  size 
)
static

Definition at line 619 of file movenc.c.

Referenced by mov_write_esds_tag(), and mov_write_iods_tag().

◆ compute_avg_bitrate()

static unsigned compute_avg_bitrate ( MOVTrack track)
static

Definition at line 628 of file movenc.c.

Referenced by calculate_mpeg4_bit_rates().

◆ calculate_mpeg4_bit_rates()

static struct mpeg4_bit_rate_values calculate_mpeg4_bit_rates ( MOVTrack track)
static

Definition at line 645 of file movenc.c.

Referenced by mov_write_btrt_tag(), mov_write_esds_tag(), and mov_write_isml_manifest().

◆ mov_write_esds_tag()

static int mov_write_esds_tag ( AVIOContext pb,
MOVTrack track 
)
static

◆ mov_pcm_le_gt16()

static int mov_pcm_le_gt16 ( enum AVCodecID  codec_id)
static

Definition at line 738 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_wave_tag().

◆ mov_pcm_be_gt16()

static int mov_pcm_be_gt16 ( enum AVCodecID  codec_id)
static

Definition at line 746 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_wave_tag().

◆ mov_write_ms_tag()

static int mov_write_ms_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 754 of file movenc.c.

Referenced by mov_write_wave_tag().

◆ mov_write_wfex_tag()

static int mov_write_wfex_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 766 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_dfla_tag()

static int mov_write_dfla_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 777 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_dops_tag()

static int mov_write_dops_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 797 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_dmlp_tag()

static int mov_write_dmlp_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 831 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_chan_tag()

static int mov_write_chan_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 860 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_wave_tag()

static int mov_write_wave_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 888 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_dvc1_structs()

static int mov_write_dvc1_structs ( MOVTrack track,
uint8_t buf 
)
static

Definition at line 931 of file movenc.c.

Referenced by mov_write_dvc1_tag().

◆ mov_write_dvc1_tag()

static int mov_write_dvc1_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1014 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_glbl_tag()

static int mov_write_glbl_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1030 of file movenc.c.

Referenced by mov_write_audio_tag(), and mov_write_video_tag().

◆ mov_get_lpcm_flags()

static int mov_get_lpcm_flags ( enum AVCodecID  codec_id)
static

Compute flags for 'lpcm' tag.

See CoreAudioTypes and AudioStreamBasicDescription at Apple.

Definition at line 1042 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ get_cluster_duration()

static int get_cluster_duration ( MOVTrack track,
int  cluster_idx 
)
static

◆ get_samples_per_packet()

static int get_samples_per_packet ( MOVTrack track)
static

Definition at line 1087 of file movenc.c.

Referenced by mov_write_audio_tag().

◆ mov_write_btrt_tag()

static int mov_write_btrt_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1108 of file movenc.c.

Referenced by mov_write_audio_tag(), mov_write_subtitle_tag(), and mov_write_video_tag().

◆ mov_write_audio_tag()

static int mov_write_audio_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 1127 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_d263_tag()

static int mov_write_d263_tag ( AVIOContext pb)
static

Definition at line 1283 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_av1c_tag()

static int mov_write_av1c_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1295 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_avcc_tag()

static int mov_write_avcc_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1305 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_vpcc_tag()

static int mov_write_vpcc_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1315 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_hvcc_tag()

static int mov_write_hvcc_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1327 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_avid_tag()

static int mov_write_avid_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1341 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_dpxe_tag()

static int mov_write_dpxe_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1424 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_get_dv_codec_tag()

static int mov_get_dv_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1437 of file movenc.c.

Referenced by mov_get_codec_tag().

◆ find_fps()

static AVRational find_fps ( AVFormatContext s,
AVStream st 
)
static

◆ defined_frame_rate()

static int defined_frame_rate ( AVFormatContext s,
AVStream st 
)
static

◆ mov_get_mpeg2_xdcam_codec_tag()

static int mov_get_mpeg2_xdcam_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1489 of file movenc.c.

Referenced by mov_get_codec_tag().

◆ mov_get_h264_codec_tag()

static int mov_get_h264_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1551 of file movenc.c.

Referenced by mov_get_codec_tag().

◆ mov_get_dnxhd_codec_tag()

static int mov_get_dnxhd_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1631 of file movenc.c.

Referenced by mov_get_codec_tag().

◆ mov_get_rawvideo_codec_tag()

static int mov_get_rawvideo_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1640 of file movenc.c.

Referenced by mov_get_codec_tag().

◆ mov_get_codec_tag()

static unsigned int mov_get_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1666 of file movenc.c.

Referenced by mov_find_codec_tag().

◆ validate_codec_tag()

static unsigned int validate_codec_tag ( const AVCodecTag *const *  tags,
unsigned int  tag,
int  codec_id 
)
static

Check that tag + id is in the table

Definition at line 1724 of file movenc.c.

Referenced by mov_find_codec_tag().

◆ mov_find_codec_tag()

static unsigned int mov_find_codec_tag ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 1744 of file movenc.c.

Referenced by mov_init().

◆ mov_write_uuid_tag_ipod()

static int mov_write_uuid_tag_ipod ( AVIOContext pb)
static

Write uuid atom.

Needed to make file play in iPods running newest firmware goes after avcC atom in moov.trak.mdia.minf.stbl.stsd.avc1

Definition at line 1767 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_fiel_tag()

static int mov_write_fiel_tag ( AVIOContext pb,
MOVTrack track,
int  field_order 
)
static

Definition at line 1783 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_subtitle_tag()

static int mov_write_subtitle_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1796 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_st3d_tag()

static int mov_write_st3d_tag ( AVFormatContext s,
AVIOContext pb,
AVStereo3D stereo_3d 
)
static

Definition at line 1818 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_sv3d_tag()

static int mov_write_sv3d_tag ( AVFormatContext s,
AVIOContext pb,
AVSphericalMapping spherical_mapping 
)
static

Definition at line 1848 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_dvcc_dvvc_tag()

static int mov_write_dvcc_dvvc_tag ( AVFormatContext s,
AVIOContext pb,
AVDOVIDecoderConfigurationRecord dovi 
)
static

Definition at line 1906 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_clap_tag()

static int mov_write_clap_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1936 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_pasp_tag()

static int mov_write_pasp_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 1951 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_gama_tag()

static int mov_write_gama_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track,
double  gamma 
)
static

Definition at line 1964 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_colr_tag()

static int mov_write_colr_tag ( AVIOContext pb,
MOVTrack track,
int  prefer_icc 
)
static

Definition at line 1987 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_clli_tag()

static int mov_write_clli_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2035 of file movenc.c.

Referenced by mov_write_video_tag().

◆ rescale_mdcv()

static int64_t rescale_mdcv ( AVRational  q,
int  b 
)
inlinestatic

Definition at line 2053 of file movenc.c.

Referenced by mov_write_mdcv_tag().

◆ mov_write_mdcv_tag()

static int mov_write_mdcv_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2058 of file movenc.c.

Referenced by mov_write_video_tag().

◆ find_compressor()

static void find_compressor ( char *  compressor_name,
int  len,
MOVTrack track 
)
static

Definition at line 2086 of file movenc.c.

Referenced by mov_write_video_tag().

◆ mov_write_video_tag()

static int mov_write_video_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2114 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_rtp_tag()

static int mov_write_rtp_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2311 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_source_reference_tag()

static int mov_write_source_reference_tag ( AVIOContext pb,
MOVTrack track,
const char *  reel_name 
)
static

Definition at line 2331 of file movenc.c.

Referenced by mov_write_tmcd_tag().

◆ mov_write_tmcd_tag()

static int mov_write_tmcd_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2350 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_gpmd_tag()

static int mov_write_gpmd_tag ( AVIOContext pb,
const MOVTrack track 
)
static

Definition at line 2406 of file movenc.c.

Referenced by mov_write_stsd_tag().

◆ mov_write_stsd_tag()

static int mov_write_stsd_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2418 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_ctts_tag()

static int mov_write_ctts_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2445 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_stts_tag()

static int mov_write_stts_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2486 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_dref_tag()

static int mov_write_dref_tag ( AVIOContext pb)
static

Definition at line 2531 of file movenc.c.

Referenced by mov_write_dinf_tag().

◆ mov_preroll_write_stbl_atoms()

static int mov_preroll_write_stbl_atoms ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2546 of file movenc.c.

Referenced by mov_write_stbl_tag().

◆ mov_write_stbl_tag()

static int mov_write_stbl_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2641 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_dinf_tag()

static int mov_write_dinf_tag ( AVIOContext pb)
static

Definition at line 2679 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_nmhd_tag()

static int mov_write_nmhd_tag ( AVIOContext pb)
static

Definition at line 2688 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_tcmi_tag()

static int mov_write_tcmi_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2696 of file movenc.c.

Referenced by mov_write_gmhd_tag().

◆ mov_write_gmhd_tag()

static int mov_write_gmhd_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2718 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_smhd_tag()

static int mov_write_smhd_tag ( AVIOContext pb)
static

Definition at line 2770 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_vmhd_tag()

static int mov_write_vmhd_tag ( AVIOContext pb)
static

Definition at line 2780 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ is_clcp_track()

static int is_clcp_track ( MOVTrack track)
static

Definition at line 2789 of file movenc.c.

Referenced by mov_write_hdlr_tag(), mov_write_minf_tag(), and mov_write_trak_tag().

◆ mov_write_hdlr_tag()

static int mov_write_hdlr_tag ( AVFormatContext s,
AVIOContext pb,
MOVTrack track 
)
static

Definition at line 2795 of file movenc.c.

Referenced by mov_write_mdia_tag(), and mov_write_minf_tag().

◆ mov_write_hmhd_tag()

static int mov_write_hmhd_tag ( AVIOContext pb)
static

Definition at line 2871 of file movenc.c.

Referenced by mov_write_minf_tag().

◆ mov_write_minf_tag()

static int mov_write_minf_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2886 of file movenc.c.

Referenced by mov_write_mdia_tag().

◆ get_pts_range()

static void get_pts_range ( MOVMuxContext mov,
MOVTrack track,
int64_t *  start,
int64_t *  end 
)
static

Definition at line 2921 of file movenc.c.

Referenced by calc_pts_duration(), and calc_samples_pts_duration().

◆ calc_samples_pts_duration()

static int64_t calc_samples_pts_duration ( MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2946 of file movenc.c.

Referenced by mov_write_edts_tag().

◆ calc_pts_duration()

static int64_t calc_pts_duration ( MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2958 of file movenc.c.

Referenced by mov_write_mdhd_tag(), mov_write_mvhd_tag(), and mov_write_tkhd_tag().

◆ mov_write_mdhd_tag()

static int mov_write_mdhd_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 2967 of file movenc.c.

Referenced by mov_write_mdia_tag().

◆ mov_write_mdia_tag()

static int mov_write_mdia_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 3007 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ write_matrix()

static void write_matrix ( AVIOContext pb,
int16_t  a,
int16_t  b,
int16_t  c,
int16_t  d,
int16_t  tx,
int16_t  ty 
)
static

Definition at line 3026 of file movenc.c.

Referenced by mov_write_mvhd_tag(), and mov_write_tkhd_tag().

◆ mov_write_tkhd_tag()

static int mov_write_tkhd_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
AVStream st 
)
static

Definition at line 3040 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_tapt_tag()

static int mov_write_tapt_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 3157 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_edts_tag()

static int mov_write_edts_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 3189 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_tref_tag()

static int mov_write_tref_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 3275 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_uuid_tag_psp()

static int mov_write_uuid_tag_psp ( AVIOContext pb,
MOVTrack mov 
)
static

Definition at line 3286 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_udta_sdp()

static int mov_write_udta_sdp ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 3304 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_track_metadata()

static int mov_write_track_metadata ( AVIOContext pb,
AVStream st,
const char *  tag,
const char *  str 
)
static

Definition at line 3325 of file movenc.c.

Referenced by mov_write_track_udta_tag().

◆ mov_write_track_udta_tag()

static int mov_write_track_udta_tag ( AVIOContext pb,
MOVMuxContext mov,
AVStream st 
)
static

Definition at line 3339 of file movenc.c.

Referenced by mov_write_trak_tag().

◆ mov_write_trak_tag()

static int mov_write_trak_tag ( AVFormatContext s,
AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
AVStream st 
)
static

Definition at line 3366 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_write_iods_tag()

static int mov_write_iods_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 3419 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_write_trex_tag()

static int mov_write_trex_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 3448 of file movenc.c.

Referenced by mov_write_mvex_tag().

◆ mov_write_mvex_tag()

static int mov_write_mvex_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 3461 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_write_mvhd_tag()

static int mov_write_mvhd_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 3472 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_write_itunes_hdlr_tag()

static int mov_write_itunes_hdlr_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3533 of file movenc.c.

Referenced by mov_write_meta_tag().

◆ mov_write_string_data_tag()

static int mov_write_string_data_tag ( AVIOContext pb,
const char *  data,
int  lang,
int  long_style 
)
static

Definition at line 3549 of file movenc.c.

Referenced by mov_write_mdta_ilst_tag(), and mov_write_string_tag().

◆ mov_write_string_tag()

static int mov_write_string_tag ( AVIOContext pb,
const char *  name,
const char *  value,
int  lang,
int  long_style 
)
static

Definition at line 3569 of file movenc.c.

Referenced by mov_write_ilst_tag(), and mov_write_string_metadata().

◆ get_metadata_lang()

static AVDictionaryEntry* get_metadata_lang ( AVFormatContext s,
const char *  tag,
int lang 
)
static

Definition at line 3583 of file movenc.c.

Referenced by mov_write_loci_tag(), and mov_write_string_metadata().

◆ mov_write_string_metadata()

static int mov_write_string_metadata ( AVFormatContext s,
AVIOContext pb,
const char *  name,
const char *  tag,
int  long_style 
)
static

Definition at line 3608 of file movenc.c.

Referenced by mov_write_ilst_tag(), and mov_write_udta_tag().

◆ mov_write_tmpo_tag()

static int mov_write_tmpo_tag ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 3620 of file movenc.c.

Referenced by mov_write_ilst_tag().

◆ mov_write_loci_tag()

static int mov_write_loci_tag ( AVFormatContext s,
AVIOContext pb 
)
static

Definition at line 3638 of file movenc.c.

Referenced by mov_write_udta_tag().

◆ mov_write_trkn_tag()

static int mov_write_trkn_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s,
int  disc 
)
static

Definition at line 3689 of file movenc.c.

Referenced by mov_write_ilst_tag().

◆ mov_write_int8_metadata()

static int mov_write_int8_metadata ( AVFormatContext s,
AVIOContext pb,
const char *  name,
const char *  tag,
int  len 
)
static

Definition at line 3716 of file movenc.c.

Referenced by mov_write_ilst_tag().

◆ mov_write_covr()

static int mov_write_covr ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 3743 of file movenc.c.

Referenced by mov_write_ilst_tag().

◆ mov_write_ilst_tag()

static int mov_write_ilst_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3771 of file movenc.c.

Referenced by mov_write_meta_tag().

◆ mov_write_mdta_hdlr_tag()

static int mov_write_mdta_hdlr_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3811 of file movenc.c.

Referenced by mov_write_meta_tag().

◆ mov_write_mdta_keys_tag()

static int mov_write_mdta_keys_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3826 of file movenc.c.

Referenced by mov_write_meta_tag().

◆ mov_write_mdta_ilst_tag()

static int mov_write_mdta_ilst_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3854 of file movenc.c.

Referenced by mov_write_meta_tag().

◆ mov_write_meta_tag()

static int mov_write_meta_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3876 of file movenc.c.

Referenced by mov_write_udta_tag().

◆ mov_write_raw_metadata_tag()

static int mov_write_raw_metadata_tag ( AVFormatContext s,
AVIOContext pb,
const char *  name,
const char *  key 
)
static

Definition at line 3898 of file movenc.c.

Referenced by mov_write_udta_tag().

◆ ascii_to_wc()

static int ascii_to_wc ( AVIOContext pb,
const uint8_t b 
)
static

Definition at line 3918 of file movenc.c.

Referenced by mov_write_psp_udta_tag().

◆ language_code()

static uint16_t language_code ( const char *  str)
static

◆ mov_write_3gp_udta_tag()

static int mov_write_3gp_udta_tag ( AVIOContext pb,
AVFormatContext s,
const char *  tag,
const char *  str 
)
static

Definition at line 3936 of file movenc.c.

Referenced by mov_write_udta_tag().

◆ mov_write_chpl_tag()

static int mov_write_chpl_tag ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 3958 of file movenc.c.

Referenced by mov_write_udta_tag().

◆ mov_write_udta_tag()

static int mov_write_udta_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 3984 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_write_psp_udta_tag()

static void mov_write_psp_udta_tag ( AVIOContext pb,
const char *  str,
const char *  lang,
int  type 
)
static

Definition at line 4042 of file movenc.c.

Referenced by mov_write_uuidusmt_tag().

◆ mov_write_uuidusmt_tag()

static int mov_write_uuidusmt_tag ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 4055 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ build_chunks()

static void build_chunks ( MOVTrack trk)
static

Definition at line 4093 of file movenc.c.

Referenced by mov_write_moov_tag().

◆ mov_setup_track_ids()

static int mov_setup_track_ids ( MOVMuxContext mov,
AVFormatContext s 
)
static

Assign track ids.

If option "use_stream_ids_as_track_ids" is set, the stream ids are used as track ids.

This assumes mov->tracks and s->streams are in the same order and there are no gaps in either of them (so mov->tracks[n] refers to s->streams[n]).

As an exception, there can be more entries in s->streams than in mov->tracks, in which case new track ids are generated (starting after the largest found stream id).

Definition at line 4128 of file movenc.c.

Referenced by mov_write_isml_manifest(), and mov_write_moov_tag().

◆ mov_write_moov_tag()

static int mov_write_moov_tag ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 4162 of file movenc.c.

Referenced by get_moov_size(), mov_flush_fragment(), mov_write_header(), and mov_write_trailer().

◆ param_write_int()

static void param_write_int ( AVIOContext pb,
const char *  name,
int  value 
)
static

Definition at line 4239 of file movenc.c.

Referenced by mov_write_isml_manifest().

◆ param_write_string()

static void param_write_string ( AVIOContext pb,
const char *  name,
const char *  value 
)
static

Definition at line 4244 of file movenc.c.

Referenced by mov_write_isml_manifest().

◆ param_write_hex()

static void param_write_hex ( AVIOContext pb,
const char *  name,
const uint8_t value,
int  len 
)
static

Definition at line 4249 of file movenc.c.

Referenced by mov_write_isml_manifest().

◆ mov_write_isml_manifest()

static int mov_write_isml_manifest ( AVIOContext pb,
MOVMuxContext mov,
AVFormatContext s 
)
static

Definition at line 4258 of file movenc.c.

Referenced by mov_write_header().

◆ mov_write_mfhd_tag()

static int mov_write_mfhd_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 4382 of file movenc.c.

Referenced by mov_write_moof_tag_internal().

◆ get_sample_flags()

static uint32_t get_sample_flags ( MOVTrack track,
MOVIentry entry 
)
static

Definition at line 4391 of file movenc.c.

Referenced by mov_write_tfhd_tag(), and mov_write_trun_tag().

◆ mov_write_tfhd_tag()

static int mov_write_tfhd_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
int64_t  moof_offset 
)
static

Definition at line 4397 of file movenc.c.

Referenced by mov_write_traf_tag().

◆ mov_write_trun_tag()

static int mov_write_trun_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
int  moof_size,
int  first,
int  end 
)
static

Definition at line 4463 of file movenc.c.

Referenced by mov_write_traf_tag().

◆ mov_write_tfxd_tag()

static int mov_write_tfxd_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 4519 of file movenc.c.

Referenced by mov_write_traf_tag().

◆ mov_write_tfrf_tag()

static int mov_write_tfrf_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
int  entry 
)
static

Definition at line 4540 of file movenc.c.

Referenced by mov_write_tfrf_tags().

◆ mov_write_tfrf_tags()

static int mov_write_tfrf_tags ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track 
)
static

Definition at line 4575 of file movenc.c.

Referenced by mov_add_tfra_entries().

◆ mov_add_tfra_entries()

static int mov_add_tfra_entries ( AVIOContext pb,
MOVMuxContext mov,
int  tracks,
int  size 
)
static

Definition at line 4589 of file movenc.c.

Referenced by mov_write_moof_tag().

◆ mov_prune_frag_info()

static void mov_prune_frag_info ( MOVMuxContext mov,
int  tracks,
int  max 
)
static

Definition at line 4629 of file movenc.c.

Referenced by mov_write_moof_tag().

◆ mov_write_tfdt_tag()

static int mov_write_tfdt_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 4643 of file movenc.c.

Referenced by mov_write_traf_tag().

◆ mov_write_traf_tag()

static int mov_write_traf_tag ( AVIOContext pb,
MOVMuxContext mov,
MOVTrack track,
int64_t  moof_offset,
int  moof_size 
)
static

Definition at line 4655 of file movenc.c.

Referenced by mov_write_moof_tag_internal().

◆ mov_write_moof_tag_internal()

static int mov_write_moof_tag_internal ( AVIOContext pb,
MOVMuxContext mov,
int  tracks,
int  moof_size 
)
static

Definition at line 4695 of file movenc.c.

Referenced by mov_write_moof_tag().

◆ mov_write_sidx_tag()

static int mov_write_sidx_tag ( AVIOContext pb,
MOVTrack track,
int  ref_size,
int  total_sidx_size 
)
static

Definition at line 4718 of file movenc.c.

Referenced by mov_write_sidx_tags().

◆ mov_write_sidx_tags()

static int mov_write_sidx_tags ( AVIOContext pb,
MOVMuxContext mov,
int  tracks,
int  ref_size 
)
static

Definition at line 4780 of file movenc.c.

Referenced by get_sidx_size(), mov_write_moof_tag(), and mov_write_trailer().

◆ mov_write_prft_tag()

static int mov_write_prft_tag ( AVIOContext pb,
MOVMuxContext mov,
int  tracks 
)
static

Definition at line 4815 of file movenc.c.

Referenced by mov_write_moof_tag().

◆ mov_write_moof_tag()

static int mov_write_moof_tag ( AVIOContext pb,
MOVMuxContext mov,
int  tracks,
int64_t  mdat_size 
)
static

Definition at line 4865 of file movenc.c.

Referenced by mov_flush_fragment().

◆ mov_write_tfra_tag()

static int mov_write_tfra_tag ( AVIOContext pb,
MOVTrack track 
)
static

Definition at line 4897 of file movenc.c.

Referenced by mov_write_mfra_tag().

◆ mov_write_mfra_tag()

static int mov_write_mfra_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 4921 of file movenc.c.

Referenced by mov_write_trailer().

◆ mov_write_mdat_tag()

static int mov_write_mdat_tag ( AVIOContext pb,
MOVMuxContext mov 
)
static

Definition at line 4959 of file movenc.c.

Referenced by mov_write_header().

◆ mov_write_ftyp_tag_internal()

static void mov_write_ftyp_tag_internal ( AVIOContext pb,
AVFormatContext s,
int  has_h264,
int  has_video,
int  write_minor 
)
static

Definition at line 4970 of file movenc.c.

Referenced by mov_write_ftyp_tag().

◆ mov_write_ftyp_tag()

static int mov_write_ftyp_tag ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 5008 of file movenc.c.

Referenced by mov_write_identification().

◆ mov_write_uuidprof_tag()

static int mov_write_uuidprof_tag ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 5078 of file movenc.c.

Referenced by mov_write_identification().

◆ mov_write_identification()

static int mov_write_identification ( AVIOContext pb,
AVFormatContext s 
)
static

Definition at line 5149 of file movenc.c.

Referenced by mov_flush_fragment(), and mov_write_header().

◆ mov_parse_mpeg2_frame()

static int mov_parse_mpeg2_frame ( AVPacket pkt,
uint32_t *  flags 
)
static

Definition at line 5178 of file movenc.c.

Referenced by ff_mov_write_packet().

◆ mov_parse_vc1_frame()

static void mov_parse_vc1_frame ( AVPacket pkt,
MOVTrack trk 
)
static

Definition at line 5199 of file movenc.c.

Referenced by ff_mov_write_packet().

◆ mov_parse_truehd_frame()

static void mov_parse_truehd_frame ( AVPacket pkt,
MOVTrack trk 
)
static

Definition at line 5259 of file movenc.c.

Referenced by ff_mov_write_packet().

◆ mov_flush_fragment_interleaving()

static int mov_flush_fragment_interleaving ( AVFormatContext s,
MOVTrack track 
)
static

Definition at line 5278 of file movenc.c.

Referenced by ff_mov_write_packet(), and mov_flush_fragment().

◆ mov_flush_fragment()

static int mov_flush_fragment ( AVFormatContext s,
int  force 
)
static

Definition at line 5303 of file movenc.c.

Referenced by mov_auto_flush_fragment(), and mov_write_packet().

◆ mov_auto_flush_fragment()

static int mov_auto_flush_fragment ( AVFormatContext s,
int  force 
)
static

Definition at line 5516 of file movenc.c.

Referenced by mov_write_single_packet(), and mov_write_trailer().

◆ check_pkt()

static int check_pkt ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 5530 of file movenc.c.

Referenced by ff_mov_write_packet(), and mov_write_single_packet().

◆ ff_mov_write_packet()

int ff_mov_write_packet ( AVFormatContext s,
AVPacket pkt 
)

◆ mov_write_single_packet()

static int mov_write_single_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 5901 of file movenc.c.

Referenced by mov_write_packet(), and mov_write_subtitle_end_packet().

◆ mov_write_subtitle_end_packet()

static int mov_write_subtitle_end_packet ( AVFormatContext s,
int  stream_index,
int64_t  dts 
)
static

Definition at line 5986 of file movenc.c.

Referenced by mov_write_packet(), and mov_write_trailer().

◆ mov_write_packet()

static int mov_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 6007 of file movenc.c.

◆ mov_create_chapter_track()

static int mov_create_chapter_track ( AVFormatContext s,
int  tracknum 
)
static

Definition at line 6109 of file movenc.c.

Referenced by mov_write_header(), and mov_write_trailer().

◆ mov_check_timecode_track()

static int mov_check_timecode_track ( AVFormatContext s,
AVTimecode tc,
int  src_index,
const char *  tcstr 
)
static

Definition at line 6214 of file movenc.c.

Referenced by mov_init(), and mov_write_header().

◆ mov_create_timecode_track()

static int mov_create_timecode_track ( AVFormatContext s,
int  index,
int  src_index,
AVTimecode  tc 
)
static

Definition at line 6223 of file movenc.c.

Referenced by mov_write_header().

◆ enable_tracks()

static void enable_tracks ( AVFormatContext s)
static

Definition at line 6274 of file movenc.c.

Referenced by mov_init().

◆ mov_free()

static void mov_free ( AVFormatContext s)
static

Definition at line 6316 of file movenc.c.

◆ rgb_to_yuv()

static uint32_t rgb_to_yuv ( uint32_t  rgb)
static

Definition at line 6355 of file movenc.c.

Referenced by mov_create_dvd_sub_decoder_specific_info().

◆ mov_create_dvd_sub_decoder_specific_info()

static int mov_create_dvd_sub_decoder_specific_info ( MOVTrack track,
AVStream st 
)
static

Definition at line 6371 of file movenc.c.

Referenced by mov_write_header().

◆ mov_init()

static int mov_init ( AVFormatContext s)
static

Definition at line 6421 of file movenc.c.

◆ mov_write_header()

static int mov_write_header ( AVFormatContext s)
static

Definition at line 6769 of file movenc.c.

◆ get_sidx_size()

static int get_sidx_size ( AVFormatContext s)
static

Definition at line 6923 of file movenc.c.

Referenced by compute_sidx_size().

◆ compute_moov_size()

static int compute_moov_size ( AVFormatContext s)
static

Definition at line 6941 of file movenc.c.

Referenced by shift_data().

◆ compute_sidx_size()

static int compute_sidx_size ( AVFormatContext s)
static

Definition at line 6966 of file movenc.c.

Referenced by shift_data().

◆ shift_data()

static int shift_data ( AVFormatContext s)
static

Definition at line 6981 of file movenc.c.

Referenced by mov_write_trailer().

◆ mov_write_trailer()

static int mov_write_trailer ( AVFormatContext s)
static

Definition at line 7047 of file movenc.c.

◆ mov_check_bitstream()

static int mov_check_bitstream ( struct AVFormatContext s,
const AVPacket pkt 
)
static

Definition at line 7165 of file movenc.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 61 of file movenc.c.

◆ pix_fmt

enum AVPixelFormat pix_fmt

Definition at line 1610 of file movenc.c.

Referenced by mov_get_rawvideo_codec_tag(), and mov_init().

◆ tag

uint32_t tag
Examples
metadata.c, and remuxing.c.

Definition at line 1611 of file movenc.c.

Referenced by aac_encode_frame(), aal_read_packet(), add_entry(), add_entry1(), add_input_streams(), add_metadata(), aiff_read_header(), amv_start_tag(), ape_read_header(), apng_find_chunk(), apng_probe(), apng_read_header(), apng_read_packet(), apng_write_chunk(), asf_write_header1(), av_codec_get_id(), av_codec_get_tag(), av_codec_get_tag2(), av_dict_set(), av_find_info_tag(), avformat_find_stream_info(), avi_add_ientry(), avi_extract_stream_metadata(), avi_load_index(), avi_read_header(), avi_read_idx1(), avi_read_nikon(), avi_read_tag(), avi_stream2fourcc(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_packet_internal(), cdtoons_decode_frame(), cfhd_decode(), check_for_italic_slash_marker(), check_tag(), copy_tag(), decode_aiff_header(), decode_frame_common(), decode_interframe_v4(), decode_interframe_v4a(), decompress_2(), decompress_5(), decompress_68(), dump_metadata(), dxa_read_header(), dxa_read_packet(), dxv_decode(), ea_read_packet(), eval_function(), fatal_error(), ff_aac_ltp_insert_new_frame(), ff_codec_get_id(), ff_mov_get_channel_layout(), ff_mov_get_channel_layout_tag(), ff_mov_read_esds(), ff_mp4_read_dec_config_descr(), ff_mp4_read_descr(), ff_riff_write_info_tag(), ff_start_tag(), ff_tis_ifd(), ff_tread_tag(), ff_vorbiscomment_length(), ff_vorbiscomment_write(), ff_wav_codec_get_id(), ffat_convert_layout(), ffat_init_encoder(), find_sidx(), func_strftime(), get_audio_frame_duration(), get_date_tag(), get_extra_meta_func(), get_metadata(), get_metadata_lang(), get_swf_tag(), get_tag(), guess_ni_flag(), gxf_material_tags(), gxf_track_tags(), hq_hqa_decode_frame(), id3v1_create_tag(), id3v1_set_string(), id3v2_check_write_tag(), id3v2_parse(), id3v2_put_ttag(), iff_read_header(), ircam_read_header(), ircam_write_header(), ivr_read_header(), log_packet(), lz_unpack(), main(), match_stream_specifier(), metasound_decode_init(), microdvd_load_tags(), microdvd_set_tag(), mkv_write_codecprivate(), mkv_write_header(), mkv_write_simpletag(), mkv_write_stereo_mode(), mkv_write_tag(), mkv_write_tag_targets(), mkv_write_tags(), mkv_write_track(), mmf_read_header(), mov_get_codec_tag(), mov_get_dnxhd_codec_tag(), mov_get_dv_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_get_rawvideo_codec_tag(), mov_probe(), mov_read_custom(), mov_read_meta(), mov_read_sv3d(), mov_read_udta_string(), mov_write_3gp_udta_tag(), mov_write_audio_tag(), mov_write_int8_metadata(), mov_write_string_metadata(), mov_write_track_metadata(), mpc8_get_chunk_header(), mpc8_handle_chunk(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpegts_write_pmt(), mxf_lookup_local_tag(), mxf_mark_tag_unused(), mxf_parse_package_comments(), mxf_read_content_storage(), mxf_read_essence_container_data(), mxf_read_essence_group(), mxf_read_generic_descriptor(), mxf_read_identification_metadata(), mxf_read_index_table_segment(), mxf_read_local_tags(), mxf_read_package(), mxf_read_preface_metadata(), mxf_read_pulldown_component(), mxf_read_sequence(), mxf_read_source_clip(), mxf_read_tagged_value(), mxf_read_timecode_component(), mxf_read_track(), mxf_write_local_tag(), mxf_write_local_tag_utf16(), new_output_stream(), nuv_resync(), ogm_header(), parse_dsd_diin(), parse_dsd_prop(), parse_fragment(), parse_icy(), parse_mp4_descr(), parse_multipart_header(), parse_video_info(), pmt_cb(), png_write_chunk(), process_line(), put_descr(), put_meta(), put_registration_descriptor(), put_str(), put_str16(), put_str8(), put_swf_end_tag(), put_swf_tag(), qcp_read_packet(), qt_rtp_parse_packet(), rdt_load_mdpr(), read_chapter(), read_descr(), read_geobtag(), read_header(), read_moof_duration(), read_string(), read_uint16(), read_uint32(), read_uint64(), read_uint8(), rfc4175_parse_format(), rm_read_header(), rv10_write_header(), sami_paragraph_to_ass(), set_codec_str(), set_sar(), show_frame(), show_tags(), siff_probe(), siff_read_header(), skip_tag(), smjpeg_write_header(), sol_read_header(), split_tag_value(), srt_close_tag(), swf_read_header(), swf_read_packet(), tiff_decode_tag(), ttml_write_time(), validate_codec_tag(), var_read_metadata(), vs2av_log(), webvtt_close_tag(), write_metadata(), write_odml_master(), write_stream_codec_info(), write_table_entries_attrib(), write_table_redirector_legacy_attrib(), xan_decode_frame(), xv_write_header(), xwma_read_header(), yop_decode_frame(), and yop_paint_block().

◆ bps

unsigned bps

◆ mov_pix_fmt_tags

const { ... } mov_pix_fmt_tags[]
Initial value:
= {
{ AV_PIX_FMT_YUYV422, MKTAG('y','u','v','2'), 0 },
{ AV_PIX_FMT_YUYV422, MKTAG('y','u','v','s'), 0 },
{ AV_PIX_FMT_UYVY422, MKTAG('2','v','u','y'), 0 },
{ AV_PIX_FMT_RGB555BE,MKTAG('r','a','w',' '), 16 },
{ AV_PIX_FMT_RGB555LE,MKTAG('L','5','5','5'), 16 },
{ AV_PIX_FMT_RGB565LE,MKTAG('L','5','6','5'), 16 },
{ AV_PIX_FMT_RGB565BE,MKTAG('B','5','6','5'), 16 },
{ AV_PIX_FMT_GRAY16BE,MKTAG('b','1','6','g'), 16 },
{ AV_PIX_FMT_RGB24, MKTAG('r','a','w',' '), 24 },
{ AV_PIX_FMT_BGR24, MKTAG('2','4','B','G'), 24 },
{ AV_PIX_FMT_ARGB, MKTAG('r','a','w',' '), 32 },
{ AV_PIX_FMT_BGRA, MKTAG('B','G','R','A'), 32 },
{ AV_PIX_FMT_RGBA, MKTAG('R','G','B','A'), 32 },
{ AV_PIX_FMT_ABGR, MKTAG('A','B','G','R'), 32 },
{ AV_PIX_FMT_RGB48BE, MKTAG('b','4','8','r'), 48 },
}

Referenced by mov_get_rawvideo_codec_tag().

◆ codec_cover_image_tags

const AVCodecTag codec_cover_image_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_PNG, 0xE },
{ AV_CODEC_ID_BMP, 0x1B },
}

Definition at line 1717 of file movenc.c.

Referenced by mov_find_codec_tag().

◆ fiel_data

const uint16_t fiel_data[]
static
Initial value:
= {
0x0000, 0x0100, 0x0201, 0x0206, 0x0209, 0x020e
}

Definition at line 1779 of file movenc.c.

Referenced by mov_write_fiel_tag().

◆ codec_mp4_tags

const AVCodecTag codec_mp4_tags[]
static

Definition at line 7194 of file movenc.c.

◆ codec_ism_tags

const AVCodecTag codec_ism_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_WMAPRO , MKTAG('w', 'm', 'a', ' ') },
}

Definition at line 7234 of file movenc.c.

◆ codec_ipod_tags

const AVCodecTag codec_ipod_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_H264, MKTAG('a','v','c','1') },
{ AV_CODEC_ID_MPEG4, MKTAG('m','p','4','v') },
{ AV_CODEC_ID_AAC, MKTAG('m','p','4','a') },
{ AV_CODEC_ID_ALAC, MKTAG('a','l','a','c') },
{ AV_CODEC_ID_AC3, MKTAG('a','c','-','3') },
{ AV_CODEC_ID_MOV_TEXT, MKTAG('t','x','3','g') },
{ AV_CODEC_ID_MOV_TEXT, MKTAG('t','e','x','t') },
}

Definition at line 7239 of file movenc.c.

◆ codec_f4v_tags

const AVCodecTag codec_f4v_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_MP3, MKTAG('.','m','p','3') },
{ AV_CODEC_ID_AAC, MKTAG('m','p','4','a') },
{ AV_CODEC_ID_H264, MKTAG('a','v','c','1') },
{ AV_CODEC_ID_VP6A, MKTAG('V','P','6','A') },
{ AV_CODEC_ID_VP6F, MKTAG('V','P','6','F') },
}

Definition at line 7250 of file movenc.c.

AV_CODEC_ID_VP6F
@ AV_CODEC_ID_VP6F
Definition: codec_id.h:141
AV_CODEC_ID_AC3
@ AV_CODEC_ID_AC3
Definition: codec_id.h:427
MKTAG
#define MKTAG(a, b, c, d)
Definition: common.h:478
AV_CODEC_ID_MPEG4
@ AV_CODEC_ID_MPEG4
Definition: codec_id.h:61
AV_CODEC_ID_ALAC
@ AV_CODEC_ID_ALAC
Definition: codec_id.h:440
AV_PIX_FMT_BGR24
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:69
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:95
AV_PIX_FMT_RGB555BE
@ AV_PIX_FMT_RGB555BE
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined
Definition: pixfmt.h:107
AV_PIX_FMT_GRAY16BE
@ AV_PIX_FMT_GRAY16BE
Y , 16bpp, big-endian.
Definition: pixfmt.h:97
AV_CODEC_ID_MP3
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
Definition: codec_id.h:425
AV_CODEC_ID_BMP
@ AV_CODEC_ID_BMP
Definition: codec_id.h:127
AV_CODEC_ID_WMAPRO
@ AV_CODEC_ID_WMAPRO
Definition: codec_id.h:461
AV_CODEC_ID_H264
@ AV_CODEC_ID_H264
Definition: codec_id.h:76
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:93
AV_CODEC_ID_PNG
@ AV_CODEC_ID_PNG
Definition: codec_id.h:110
options
static const AVOption options[]
Definition: movenc.c:61
AV_PIX_FMT_RGB565LE
@ AV_PIX_FMT_RGB565LE
packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian
Definition: pixfmt.h:106
LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
AVClass
Describe the class of an AVClass context structure.
Definition: log.h:67
AV_PIX_FMT_YUYV422
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:67
AV_CODEC_ID_MOV_TEXT
@ AV_CODEC_ID_MOV_TEXT
Definition: codec_id.h:528
av_default_item_name
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:235
AV_CODEC_ID_VP6A
@ AV_CODEC_ID_VP6A
Definition: codec_id.h:155
AV_PIX_FMT_ABGR
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:94
AV_CODEC_ID_AAC
@ AV_CODEC_ID_AAC
Definition: codec_id.h:426
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:68
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:92
AV_CODEC_ID_MJPEG
@ AV_CODEC_ID_MJPEG
Definition: codec_id.h:56
AV_PIX_FMT_RGB555LE
@ AV_PIX_FMT_RGB555LE
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined
Definition: pixfmt.h:108
AV_PIX_FMT_RGB48BE
@ AV_PIX_FMT_RGB48BE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
Definition: pixfmt.h:102
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:47
AVClass::class_name
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
Definition: log.h:72
AV_PIX_FMT_UYVY422
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
Definition: pixfmt.h:81
avio_read
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
Definition: aviobuf.c:633
AV_PIX_FMT_RGB565BE
@ AV_PIX_FMT_RGB565BE
packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian
Definition: pixfmt.h:105