movenc.h File Reference
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  MOVIentry
 
struct  HintSample
 
struct  HintSampleQueue
 
struct  MOVIndex
 
struct  MOVMuxContext
 

Macros

#define MOV_INDEX_CLUSTER_SIZE   16384
 
#define MOV_TIMESCALE   1000
 
#define RTP_MAX_PACKET_SIZE   1450
 
#define MODE_MP4   0x01
 
#define MODE_MOV   0x02
 
#define MODE_3GP   0x04
 
#define MODE_PSP   0x08
 
#define MODE_3G2   0x10
 
#define MODE_IPOD   0x20
 
#define MOV_SYNC_SAMPLE   0x0001
 
#define MOV_PARTIAL_SYNC_SAMPLE   0x0002
 
#define MOV_TRACK_CTTS   0x0001
 
#define MOV_TRACK_STPS   0x0002
 
#define FF_MOV_FLAG_RTP_HINT   1
 

Typedefs

typedef struct MOVIentry MOVIentry
 
typedef struct HintSample HintSample
 
typedef struct MOVIndex MOVTrack
 
typedef struct MOVMuxContext MOVMuxContext
 

Functions

int ff_mov_write_packet (AVFormatContext *s, AVPacket *pkt)
 
int ff_mov_init_hinting (AVFormatContext *s, int index, int src_index)
 
int ff_mov_add_hinted_packet (AVFormatContext *s, AVPacket *pkt, int track_index, int sample, uint8_t *sample_data, int sample_size)
 
void ff_mov_close_hinting (MOVTrack *track)
 

Macro Definition Documentation

#define FF_MOV_FLAG_RTP_HINT   1

Definition at line 120 of file movenc.h.

Referenced by mov_write_header().

#define MODE_3G2   0x10

Definition at line 39 of file movenc.h.

Referenced by mov_write_ftyp_tag(), and mov_write_header().

#define MODE_3GP   0x04
#define MODE_IPOD   0x20
#define MODE_MP4   0x01

Definition at line 34 of file movenc.h.

Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), and mov_write_header().

#define MODE_PSP   0x08
#define MOV_INDEX_CLUSTER_SIZE   16384

Definition at line 29 of file movenc.h.

Referenced by ff_mov_write_packet().

#define MOV_PARTIAL_SYNC_SAMPLE   0x0002

Definition at line 50 of file movenc.h.

Referenced by ff_mov_write_packet(), mov_parse_mpeg2_frame(), and mov_write_stbl_tag().

#define MOV_SYNC_SAMPLE   0x0001
#define MOV_TIMESCALE   1000
#define MOV_TRACK_CTTS   0x0001

Definition at line 77 of file movenc.h.

Referenced by ff_mov_write_packet(), mov_write_stbl_tag(), and mov_write_trak_tag().

#define MOV_TRACK_STPS   0x0002

Definition at line 78 of file movenc.h.

Referenced by ff_mov_write_packet(), and mov_write_stbl_tag().

#define RTP_MAX_PACKET_SIZE   1450

Definition at line 32 of file movenc.h.

Referenced by ff_mov_add_hinted_packet(), and ff_mov_init_hinting().

Typedef Documentation

typedef struct HintSample HintSample
typedef struct MOVIentry MOVIentry
typedef struct MOVMuxContext MOVMuxContext
typedef struct MOVIndex MOVTrack

Function Documentation

int ff_mov_add_hinted_packet ( AVFormatContext s,
AVPacket pkt,
int  track_index,
int  sample,
uint8_t *  sample_data,
int  sample_size 
)

Definition at line 389 of file movenchint.c.

Referenced by ff_mov_write_packet().

void ff_mov_close_hinting ( MOVTrack track)

Definition at line 447 of file movenchint.c.

Referenced by mov_write_trailer().

int ff_mov_init_hinting ( AVFormatContext s,
int  index,
int  src_index 
)

Definition at line 28 of file movenchint.c.

Referenced by mov_write_header().

int ff_mov_write_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 2033 of file movenc.c.

Referenced by ff_mov_add_hinted_packet().