libavformat/gxfenc.c File Reference

#include "avformat.h"
#include "gxf.h"
#include "riff.h"
#include "audiointerleave.h"

Go to the source code of this file.

Data Structures

struct  GXFStreamContext
struct  GXFContext

Defines

#define GXF_AUDIO_PACKET_SIZE   65536
#define SERVER_PATH   "EXT:/PDR/default/"
#define ES_NAME_PATTERN   "EXT:/PDR/default/ES."

Functions

static int gxf_find_lines_index (AVStream *st)
static void gxf_write_padding (ByteIOContext *pb, int64_t to_pad)
static int64_t updatePacketSize (ByteIOContext *pb, int64_t pos)
static int64_t updateSize (ByteIOContext *pb, int64_t pos)
static void gxf_write_packet_header (ByteIOContext *pb, GXFPktType type)
static int gxf_write_mpeg_auxiliary (ByteIOContext *pb, AVStream *st)
static int gxf_write_timecode_auxiliary (ByteIOContext *pb, GXFStreamContext *sc)
static int gxf_write_track_description (AVFormatContext *s, GXFStreamContext *sc, int index)
static int gxf_write_material_data_section (AVFormatContext *s)
static int gxf_write_track_description_section (AVFormatContext *s)
static int gxf_write_map_packet (AVFormatContext *s, int rewrite)
static int gxf_write_flt_packet (AVFormatContext *s)
static int gxf_write_umf_material_description (AVFormatContext *s)
static int gxf_write_umf_payload (AVFormatContext *s)
static int gxf_write_umf_track_description (AVFormatContext *s)
static int gxf_write_umf_media_mpeg (ByteIOContext *pb, AVStream *st)
static int gxf_write_umf_media_timecode (ByteIOContext *pb, GXFStreamContext *sc)
static int gxf_write_umf_media_dv (ByteIOContext *pb, GXFStreamContext *sc)
static int gxf_write_umf_media_audio (ByteIOContext *pb, GXFStreamContext *sc)
static int gxf_write_umf_media_description (AVFormatContext *s)
static int gxf_write_umf_packet (AVFormatContext *s)
static void gxf_init_timecode_track (GXFStreamContext *sc, GXFStreamContext *vsc)
static int gxf_write_header (AVFormatContext *s)
static int gxf_write_eos_packet (ByteIOContext *pb)
static int gxf_write_trailer (AVFormatContext *s)
static int gxf_parse_mpeg_frame (GXFStreamContext *sc, const uint8_t *buf, int size)
static int gxf_write_media_preamble (AVFormatContext *s, AVPacket *pkt, int size)
static int gxf_write_packet (AVFormatContext *s, AVPacket *pkt)
static int gxf_compare_field_nb (AVFormatContext *s, AVPacket *next, AVPacket *cur)
static int gxf_interleave_packet (AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush)

Variables

struct {
   int   height
   int   index
gxf_lines_tab []
static const AVCodecTag gxf_media_types []
static const int GXF_samples_per_frame [] = { 32768, 0 }
AVOutputFormat gxf_muxer


Define Documentation

#define ES_NAME_PATTERN   "EXT:/PDR/default/ES."

Definition at line 100 of file gxfenc.c.

Referenced by gxf_write_track_description(), and gxf_write_umf_media_description().

#define GXF_AUDIO_PACKET_SIZE   65536

Definition at line 27 of file gxfenc.c.

Referenced by gxf_write_packet().

#define SERVER_PATH   "EXT:/PDR/default/"

Definition at line 99 of file gxfenc.c.

Referenced by gxf_write_material_data_section().


Function Documentation

static int gxf_compare_field_nb ( AVFormatContext s,
AVPacket next,
AVPacket cur 
) [static]

Definition at line 894 of file gxfenc.c.

Referenced by gxf_interleave_packet().

static int gxf_find_lines_index ( AVStream st  )  [static]

Definition at line 102 of file gxfenc.c.

Referenced by gxf_write_header().

static void gxf_init_timecode_track ( GXFStreamContext sc,
GXFStreamContext vsc 
) [static]

Definition at line 610 of file gxfenc.c.

Referenced by gxf_write_header().

static int gxf_interleave_packet ( AVFormatContext s,
AVPacket out,
AVPacket pkt,
int  flush 
) [static]

Definition at line 916 of file gxfenc.c.

static int gxf_parse_mpeg_frame ( GXFStreamContext sc,
const uint8_t *  buf,
int  size 
) [static]

Definition at line 792 of file gxfenc.c.

Referenced by gxf_write_media_preamble().

static int gxf_write_eos_packet ( ByteIOContext pb  )  [static]

Definition at line 752 of file gxfenc.c.

Referenced by gxf_write_trailer().

static int gxf_write_flt_packet ( AVFormatContext s  )  [static]

Definition at line 362 of file gxfenc.c.

Referenced by gxf_write_header(), and gxf_write_trailer().

static int gxf_write_header ( AVFormatContext s  )  [static]

Definition at line 625 of file gxfenc.c.

static int gxf_write_map_packet ( AVFormatContext s,
int  rewrite 
) [static]

Definition at line 332 of file gxfenc.c.

Referenced by gxf_write_header(), gxf_write_packet(), and gxf_write_trailer().

static int gxf_write_material_data_section ( AVFormatContext s  )  [static]

Definition at line 267 of file gxfenc.c.

Referenced by gxf_write_map_packet().

static int gxf_write_media_preamble ( AVFormatContext s,
AVPacket pkt,
int  size 
) [static]

Definition at line 804 of file gxfenc.c.

Referenced by gxf_write_packet().

static int gxf_write_mpeg_auxiliary ( ByteIOContext pb,
AVStream st 
) [static]

Definition at line 162 of file gxfenc.c.

Referenced by gxf_write_track_description().

static int gxf_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 851 of file gxfenc.c.

static void gxf_write_packet_header ( ByteIOContext pb,
GXFPktType  type 
) [static]

static void gxf_write_padding ( ByteIOContext pb,
int64_t  to_pad 
) [static]

Definition at line 116 of file gxfenc.c.

Referenced by gxf_write_packet(), and updatePacketSize().

static int gxf_write_timecode_auxiliary ( ByteIOContext pb,
GXFStreamContext sc 
) [static]

Definition at line 200 of file gxfenc.c.

Referenced by gxf_write_track_description().

static int gxf_write_track_description ( AVFormatContext s,
GXFStreamContext sc,
int  index 
) [static]

Definition at line 211 of file gxfenc.c.

Referenced by gxf_write_track_description_section().

static int gxf_write_track_description_section ( AVFormatContext s  )  [static]

Definition at line 315 of file gxfenc.c.

Referenced by gxf_write_map_packet().

static int gxf_write_trailer ( AVFormatContext s  )  [static]

Definition at line 760 of file gxfenc.c.

static int gxf_write_umf_material_description ( AVFormatContext s  )  [static]

Definition at line 387 of file gxfenc.c.

Referenced by gxf_write_umf_packet().

static int gxf_write_umf_media_audio ( ByteIOContext pb,
GXFStreamContext sc 
) [static]

Definition at line 504 of file gxfenc.c.

Referenced by gxf_write_umf_media_description().

static int gxf_write_umf_media_description ( AVFormatContext s  )  [static]

Definition at line 526 of file gxfenc.c.

Referenced by gxf_write_umf_packet().

static int gxf_write_umf_media_dv ( ByteIOContext pb,
GXFStreamContext sc 
) [static]

Definition at line 494 of file gxfenc.c.

Referenced by gxf_write_umf_media_description().

static int gxf_write_umf_media_mpeg ( ByteIOContext pb,
AVStream st 
) [static]

Definition at line 458 of file gxfenc.c.

Referenced by gxf_write_umf_media_description().

static int gxf_write_umf_media_timecode ( ByteIOContext pb,
GXFStreamContext sc 
) [static]

Definition at line 481 of file gxfenc.c.

Referenced by gxf_write_umf_media_description().

static int gxf_write_umf_packet ( AVFormatContext s  )  [static]

Definition at line 587 of file gxfenc.c.

Referenced by gxf_write_header(), and gxf_write_trailer().

static int gxf_write_umf_payload ( AVFormatContext s  )  [static]

Definition at line 418 of file gxfenc.c.

Referenced by gxf_write_umf_packet().

static int gxf_write_umf_track_description ( AVFormatContext s  )  [static]

Definition at line 438 of file gxfenc.c.

Referenced by gxf_write_umf_packet().

static int64_t updatePacketSize ( ByteIOContext pb,
int64_t  pos 
) [static]

static int64_t updateSize ( ByteIOContext pb,
int64_t  pos 
) [static]


Variable Documentation

struct { ... } gxf_lines_tab[] [static]

Referenced by gxf_find_lines_index().

const AVCodecTag gxf_media_types[] [static]

Initial value:

Definition at line 80 of file gxfenc.c.

Initial value:

Definition at line 924 of file gxfenc.c.

const int GXF_samples_per_frame[] = { 32768, 0 } [static]

Definition at line 608 of file gxfenc.c.

Referenced by gxf_write_header().

int height

Definition at line 70 of file gxfenc.c.

Referenced by apply_loop_filter(), bfi_decode_frame(), bitplane_decoding(), bmp_decode_frame(), bmp_encode_frame(), build_feed_streams(), common_init(), copy_picture_attributes(), dc1394_read_common(), decode_frame(), decode_i2_frame(), decode_i_frame(), decode_p_frame(), decode_vol_header(), decode_vop_header(), encode_frame(), encode_picture_lossless(), ff_flv_decode_picture_header(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), ff_print_debug_info(), gif_image_write_image(), gif_read_image(), gif_write_header(), grab_read_header(), h263_decode_picture_header(), idcin_read_header(), interleaveBytes_TMPL(), libopenjpeg_decode_frame(), main(), mimic_decode_frame(), mov_read_tkhd(), mpeg1_decode_sequence(), msnwc_tcp_probe(), nuv_header(), paint_mouse_pointer(), parse_picture_segment(), planarCopyWrapper(), postProcess_TMPL(), put_pixel(), qtrle_decode_frame(), read_header(), rgb24toyv12_TMPL(), siff_parse_vbv1(), smc_decode_stream(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_frame(), swf_write_header(), theora_header(), uyvytoyuv420_TMPL(), uyvytoyuv422_TMPL(), uyvytoyv12_TMPL(), vfw_read_header(), video_image_display(), vu9_to_vu12_TMPL(), xan_wc3_decode_frame(), xsub_encode(), yuv422ptouyvy_TMPL(), yuv422ptoyuy2_TMPL(), yuvPlanartouyvy_TMPL(), yuvPlanartoyuy2_TMPL(), yuy2toyv12_TMPL(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_TMPL(), yv12touyvy_TMPL(), yv12touyvy_unscaled_altivec(), yv12toyuy2_TMPL(), yv12toyuy2_unscaled_altivec(), yvu9_to_yuy2_TMPL(), and yvu9toyv12_TMPL().

int index

Definition at line 70 of file gxfenc.c.

Referenced by aac_encode_init(), 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_parse2(), av_resample(), av_seek_frame_binary(), av_seek_frame_generic(), av_shr_i(), avfilter_graph_parse(), build_basis(), build_def_list(), build_frame_code(), build_table(), categorize(), comp_block(), compute_scale_factors(), decode(), decode_cabac_residual_internal(), decode_fixed_sparse(), decode_gain_info(), decode_i2_frame(), decode_init(), decode_p_block(), decode_q_branch(), decode_vectors(), direct_search(), dnxhd_decode_dct_block(), dnxhd_encode_init(), dnxhd_init_vlc(), dv_decode_ac(), encode_dc(), ff_gmc_c(), ff_h261_reorder_mb_index(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_dqt(), ff_mjpeg_decode_sos(), ff_mpeg1_encode_init(), g726_init(), gather_data_for_cel(), generate_bits_table(), get_bits1(), get_block_rate(), get_rl_index(), gmc_c(), hpel_motion_search(), idct_put(), init_pass2(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), libopenjpeg_decode_frame(), matroska_read_header(), matroska_read_seek(), mov_write_stsc_tag(), mov_write_stss_tag(), mpc8_read_seek(), mpc_read_seek(), mpeg4_encode_block(), mpeg4_get_block_length(), mxf_decrypt_triplet(), mxf_read_packet(), nsv_read_seek(), pix_sum16_mmx(), probe(), 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(), value_string(), 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().


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8