#include "libavutil/intfloat.h"
#include "libavutil/opt.h"
#include "libavutil/mathematics.h"
#include "libavutil/timecode.h"
#include "avformat.h"
#include "internal.h"
#include "gxf.h"
#include "riff.h"
#include "audiointerleave.h"
Go to the source code of this file.
#define ES_NAME_PATTERN "EXT:/PDR/default/ES." |
Definition at line 120 of file gxfenc.c.
Referenced by gxf_write_track_description(), and gxf_write_umf_media_description().
#define GXF_AUDIO_PACKET_SIZE 65536 |
#define GXF_TIMECODE | ( | c, | |||
d, | |||||
h, | |||||
m, | |||||
s, | |||||
f | ) | ((c) << 30 | (d) << 29 | (h) << 24 | (m) << 16 | (s) << 8 | (f)) |
Definition at line 34 of file gxfenc.c.
Referenced by gxf_write_timecode_auxiliary(), and gxf_write_umf_material_description().
#define SERVER_PATH "EXT:/PDR/default/" |
static int gxf_compare_field_nb | ( | AVFormatContext * | s, | |
AVPacket * | next, | |||
AVPacket * | cur | |||
) | [static] |
static int gxf_find_lines_index | ( | AVStream * | st | ) | [static] |
static int gxf_init_timecode | ( | AVFormatContext * | s, | |
GXFTimecode * | tc, | |||
int | fields | |||
) | [static] |
static void gxf_init_timecode_track | ( | GXFStreamContext * | sc, | |
GXFStreamContext * | vsc | |||
) | [static] |
static int gxf_interleave_packet | ( | AVFormatContext * | s, | |
AVPacket * | out, | |||
AVPacket * | pkt, | |||
int | flush | |||
) | [static] |
static int gxf_parse_mpeg_frame | ( | GXFStreamContext * | sc, | |
const uint8_t * | buf, | |||
int | size | |||
) | [static] |
static int gxf_write_eos_packet | ( | AVIOContext * | pb | ) | [static] |
static int gxf_write_flt_packet | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_header | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_map_packet | ( | AVFormatContext * | s, | |
int | rewrite | |||
) | [static] |
Definition at line 357 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] |
static int gxf_write_media_preamble | ( | AVFormatContext * | s, | |
AVPacket * | pkt, | |||
int | size | |||
) | [static] |
static int gxf_write_mpeg_auxiliary | ( | AVIOContext * | pb, | |
AVStream * | st | |||
) | [static] |
static int gxf_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static void gxf_write_packet_header | ( | AVIOContext * | pb, | |
GXFPktType | type | |||
) | [static] |
Definition at line 171 of file gxfenc.c.
Referenced by gxf_write_eos_packet(), gxf_write_flt_packet(), gxf_write_map_packet(), gxf_write_packet(), and gxf_write_umf_packet().
static void gxf_write_padding | ( | AVIOContext * | pb, | |
int64_t | to_pad | |||
) | [static] |
static int gxf_write_timecode_auxiliary | ( | AVIOContext * | pb, | |
GXFContext * | gxf | |||
) | [static] |
static int gxf_write_track_description | ( | AVFormatContext * | s, | |
GXFStreamContext * | sc, | |||
int | index | |||
) | [static] |
static int gxf_write_track_description_section | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_trailer | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_umf_material_description | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_umf_media_audio | ( | AVIOContext * | pb, | |
GXFStreamContext * | sc | |||
) | [static] |
static int gxf_write_umf_media_description | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_umf_media_dv | ( | AVIOContext * | pb, | |
GXFStreamContext * | sc | |||
) | [static] |
static int gxf_write_umf_media_mpeg | ( | AVIOContext * | pb, | |
AVStream * | st | |||
) | [static] |
static int gxf_write_umf_media_timecode | ( | AVIOContext * | pb, | |
int | drop | |||
) | [static] |
static int gxf_write_umf_packet | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_umf_payload | ( | AVFormatContext * | s | ) | [static] |
static int gxf_write_umf_track_description | ( | AVFormatContext * | s | ) | [static] |
static int64_t updatePacketSize | ( | AVIOContext * | pb, | |
int64_t | pos | |||
) | [static] |
Definition at line 143 of file gxfenc.c.
Referenced by gxf_write_eos_packet(), gxf_write_flt_packet(), gxf_write_map_packet(), gxf_write_packet(), and gxf_write_umf_packet().
static int64_t updateSize | ( | AVIOContext * | pb, | |
int64_t | pos | |||
) | [static] |
Definition at line 160 of file gxfenc.c.
Referenced by gxf_write_material_data_section(), gxf_write_track_description(), and gxf_write_track_description_section().
Initial value:
{ .name = "gxf", .long_name = NULL_IF_CONFIG_SMALL("GXF format"), .extensions = "gxf", .priv_data_size = sizeof(GXFContext), .audio_codec = CODEC_ID_PCM_S16LE, .video_codec = CODEC_ID_MPEG2VIDEO, .write_header = gxf_write_header, .write_packet = gxf_write_packet, .write_trailer = gxf_write_trailer, .interleave_packet = gxf_interleave_packet, .priv_class = &gxf_muxer_class, }
struct { ... } gxf_lines_tab[] [static] |
Referenced by gxf_find_lines_index().
const AVCodecTag gxf_media_types[] [static] |
Initial value:
{ { CODEC_ID_MJPEG , 3 }, { CODEC_ID_MJPEG , 4 }, { CODEC_ID_PCM_S24LE , 9 }, { CODEC_ID_PCM_S16LE , 10 }, { CODEC_ID_MPEG2VIDEO, 11 }, { CODEC_ID_MPEG2VIDEO, 12 }, { CODEC_ID_DVVIDEO , 13 }, { CODEC_ID_DVVIDEO , 14 }, { CODEC_ID_DVVIDEO , 15 }, { CODEC_ID_DVVIDEO , 16 }, { CODEC_ID_AC3 , 17 }, { CODEC_ID_MPEG2VIDEO, 20 }, { CODEC_ID_MPEG1VIDEO, 22 }, { CODEC_ID_MPEG1VIDEO, 23 }, { CODEC_ID_NONE, 0 }, }
const AVClass gxf_muxer_class [static] |
Initial value:
{ .class_name = "GXF muxer", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, }
const int GXF_samples_per_frame[] = { 32768, 0 } [static] |
int height |
Definition at line 90 of file gxfenc.c.
Referenced by apply_loop_filter(), av_parse_video_size(), avfilter_graph_dump_to_buf(), avpriv_dv_codec_profile(), bfi_decode_frame(), bitplane_decoding(), blend_slice(), bmp_decode_frame(), bmp_encode_frame(), build_feed_streams(), cdxl_read_packet(), copy_frame(), copy_picture_attributes(), dc1394_read_common(), decode_finish_row(), decode_frame(), decode_frame_header(), decode_frame_headers(), decode_i2_frame(), decode_i_frame(), decode_p_frame(), decode_seq_header(), decode_subband_internal(), decode_vol_header(), draw_edges(), encode_frame(), encode_picture_lossless(), execute_code(), ff_flv_decode_picture_header(), ff_h263_decode_picture_header(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), ff_print_debug_info(), ff_raw_read_header(), ff_vda_create_decoder(), get_video_buffer(), gif_image_write_image(), gif_read_image(), gif_write_header(), idcin_read_header(), inter_predict(), INTERPOLATE_METHOD(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_decode_frame(), main(), mca(), mimic_decode_frame(), mov_read_tkhd(), mpeg1_decode_sequence(), msnwc_tcp_probe(), nuv_header(), optimum_block_height(), paint_mouse_pointer(), parse_picture_segment(), planarCopyWrapper(), postProcess_TMPL(), process_frame_uyvy422(), process_frame_yuv420p(), process_frame_yuv422p(), process_ipmovie_chunk(), put_pixel(), qtrle_decode_frame(), rawvideo_read_packet(), read_header(), siff_parse_vbv1(), smc_decode_stream(), sunrast_image_write_image(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_frame(), swf_write_header(), theora_header(), to_meta_with_crop(), vc1_mc_4mv_luma(), vcr1_decode_frame(), video_image_display(), xan_wc3_decode_frame(), xsub_encode(), yuv422ptouyvy_TMPL(), yuv422ptoyuy2_TMPL(), yuvPlanartouyvy_TMPL(), yuvPlanartoyuy2_TMPL(), yuy2toyv12_TMPL(), yv12touyvy_TMPL(), yv12touyvy_unscaled_altivec(), yv12toyuy2_TMPL(), and yv12toyuy2_unscaled_altivec().
int index |
Definition at line 90 of file gxfenc.c.
Referenced by aac_encode_init(), adpcm_decode_frame(), alac_linear_predictor(), alloc_table(), allocStuff(), ape_read_seek(), asf_read_seek(), asv1_encode_block(), asv1_put_level(), asv2_encode_block(), asv2_put_level(), av_parser_parse2(), av_resample(), av_shr_i(), avfilter_graph_parse2(), band_delta_factor(), build_basis(), build_def_list(), build_frame_code(), build_table(), categorize(), cdxl_decode_ham6(), cdxl_decode_ham8(), check_stream_specifier(), comp_block(), comp_interp_index(), compute_scale_factors(), copy_TMPL(), decode(), decode_cabac_luma_residual(), decode_cabac_residual_internal(), decode_fixed_sparse(), decode_gain_info(), decode_i2_frame(), decode_init(), decode_luma_residual(), decode_p_block(), decode_q_branch(), decode_vectors(), direct_search(), dnxhd_encode_init(), dnxhd_init_vlc(), dv_decode_ac(), encode_dc(), encode_q_branch(), ff_add_index_entry(), 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_frame(), ff_mjpeg_decode_sos(), ff_mpeg1_encode_init(), ff_seek_frame_binary(), filter(), g723_1_decode_frame(), gather_data_for_cel(), generate_bits_table(), get(), get_bits1(), get_block_rate(), get_mvdata_interlaced(), get_rl_index(), gmc_c(), hpel_motion_search(), idct_put(), init_pass2(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), lag_decode_line(), libAVMemInputPin_Receive(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libopenjpeg_copyto16(), libopenjpeg_copyto8(), libopenjpeg_guess_pix_fmt(), lsp2lpc(), matroska_add_index_entries(), matroska_read_seek(), mov_write_stsc_tag(), mov_write_stss_tag(), mov_write_tfrf_tag(), mpc8_read_seek(), mpc_read_seek(), mpeg4_encode_block(), mpeg4_get_block_length(), mxf_compute_ptses_fake_index(), mxf_decrypt_triplet(), mxf_edit_unit_absolute_offset(), mxf_read_packet_old(), nsv_read_seek(), nut_write_packet(), opt_output_file(), output_client_manifest(), pix_sum16_mmx(), probe(), qpel_motion_search(), quantize(), read_seek(), rematrix_channels(), resample(), resampleCubic(), resampleLinear(), rl2_read_seek(), rpza_decode_stream(), sad_hpel_motion_search(), seek_frame_generic(), set(), set_blocks(), small_diamond_search(), snow_set_blocks(), svq3_decode_mb(), swri_resample_TMPL(), synthfilt_build_sb_samples(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), tta_read_seek(), update_palette_index(), value_string(), vc1_decode_ac_coeff(), vc1_decode_b_mb(), vc1_decode_p_mb(), vqa_decode_chunk(), wma_decode_block(), wv_read_seek(), and xan_wc3_output_pixel_run().
Initial value:
{ { AV_TIMECODE_OPTION(GXFContext, tc.str, AV_OPT_FLAG_ENCODING_PARAM) }, { NULL } }