#include "libavutil/fifo.h"#include "avformat.h"#include "gxf.h"#include "riff.h"#include "audiointerleave.h"Go to the source code of this file.
| #define ES_NAME_PATTERN "ES." |
Definition at line 108 of file gxfenc.c.
Referenced by gxf_write_track_description(), and gxf_write_umf_media_description().
| #define GXF_AUDIO_PACKET_SIZE 65536 |
| #define GXF_NODELAY -5000 |
| #define SERVER_PATH "/space/" |
| static int gxf_find_lines_index | ( | GXFStreamContext * | ctx | ) | [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 | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_header | ( | AVFormatContext * | s | ) | [static] |
| static int gxf_write_map_packet | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_material_data_section | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_media_packet | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx, | |||
| AVPacket * | pkt | |||
| ) | [static] |
| static int gxf_write_media_preamble | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx, | |||
| AVPacket * | pkt, | |||
| int | size | |||
| ) | [static] |
| static int gxf_write_mpeg_auxiliary | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | ctx | |||
| ) | [static] |
| static int gxf_write_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static void gxf_write_packet_header | ( | ByteIOContext * | pb, | |
| GXFPktType | type | |||
| ) | [static] |
Definition at line 158 of file gxfenc.c.
Referenced by gxf_write_eos_packet(), gxf_write_map_packet(), gxf_write_media_packet(), and gxf_write_umf_packet().
| static void gxf_write_padding | ( | ByteIOContext * | pb, | |
| int64_t | to_pad | |||
| ) | [static] |
Definition at line 123 of file gxfenc.c.
Referenced by gxf_write_media_packet(), and updatePacketSize().
| static int gxf_write_timecode_auxiliary | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | ctx | |||
| ) | [static] |
| static int gxf_write_track_description | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | stream | |||
| ) | [static] |
| static int gxf_write_track_description_section | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_trailer | ( | AVFormatContext * | s | ) | [static] |
| static int gxf_write_umf_material_description | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_umf_media_audio | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | track | |||
| ) | [static] |
| static int gxf_write_umf_media_description | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_umf_media_dv | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | track | |||
| ) | [static] |
| static int gxf_write_umf_media_mpeg | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | stream | |||
| ) | [static] |
| static int gxf_write_umf_media_timecode | ( | ByteIOContext * | pb, | |
| GXFStreamContext * | track | |||
| ) | [static] |
| static int gxf_write_umf_packet | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_umf_payload | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_umf_track_description | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int gxf_write_umf_user_data | ( | ByteIOContext * | pb, | |
| GXFContext * | ctx | |||
| ) | [static] |
| static int64_t updatePacketSize | ( | ByteIOContext * | pb, | |
| int64_t | pos | |||
| ) | [static] |
Definition at line 130 of file gxfenc.c.
Referenced by gxf_write_eos_packet(), gxf_write_map_packet(), gxf_write_media_packet(), and gxf_write_umf_packet().
| static int64_t updateSize | ( | ByteIOContext * | pb, | |
| int64_t | pos | |||
| ) | [static] |
Definition at line 147 of file gxfenc.c.
Referenced by gxf_write_material_data_section(), gxf_write_track_description(), gxf_write_track_description_section(), mov_write_3gp_udta_tag(), mov_write_audio_tag(), mov_write_avcc_tag(), mov_write_dinf_tag(), mov_write_esds_tag(), mov_write_ftyp_tag(), mov_write_hdlr_tag(), mov_write_ilst_tag(), mov_write_itunes_hdlr_tag(), mov_write_mdia_tag(), mov_write_meta_tag(), mov_write_minf_tag(), mov_write_moov_tag(), mov_write_stbl_tag(), mov_write_stco_tag(), mov_write_string_data_tag(), mov_write_string_tag(), mov_write_stsc_tag(), mov_write_stsd_tag(), mov_write_stss_tag(), mov_write_stsz_tag(), mov_write_subtitle_tag(), mov_write_trak_tag(), mov_write_trkn_tag(), mov_write_uuidusmt_tag(), mov_write_video_tag(), and mov_write_wave_tag().
const GXF_Lines gxf_lines_tab[] [static] |
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 },
{ 0, 0 },
}
Initial value:
{
"gxf",
NULL_IF_CONFIG_SMALL("GXF format"),
NULL,
"gxf",
sizeof(GXFContext),
CODEC_ID_PCM_S16LE,
CODEC_ID_MPEG2VIDEO,
gxf_write_header,
gxf_write_packet,
gxf_write_trailer,
0,
NULL,
gxf_interleave_packet,
}
const int GXF_samples_per_frame[] = { 32768, 0 } [static] |
1.5.8