FFmpeg
|
Go to the source code of this file.
Macros | |
#define | PACK_START_CODE ((unsigned int)0x000001ba) |
#define | SYSTEM_HEADER_START_CODE ((unsigned int)0x000001bb) |
#define | SEQUENCE_END_CODE ((unsigned int)0x000001b7) |
#define | PACKET_START_CODE_MASK ((unsigned int)0xffffff00) |
#define | PACKET_START_CODE_PREFIX ((unsigned int)0x00000100) |
#define | ISO_11172_END_CODE ((unsigned int)0x000001b9) |
#define | PROGRAM_STREAM_MAP 0x1bc |
#define | PRIVATE_STREAM_1 0x1bd |
#define | PADDING_STREAM 0x1be |
#define | PRIVATE_STREAM_2 0x1bf |
#define | AUDIO_ID 0xc0 |
#define | VIDEO_ID 0xe0 |
#define | AC3_ID 0x80 |
#define | DTS_ID 0x8a |
#define | LPCM_ID 0xa0 |
#define | SUB_ID 0x20 |
#define | STREAM_TYPE_VIDEO_MPEG1 0x01 |
#define | STREAM_TYPE_VIDEO_MPEG2 0x02 |
#define | STREAM_TYPE_AUDIO_MPEG1 0x03 |
#define | STREAM_TYPE_AUDIO_MPEG2 0x04 |
#define | STREAM_TYPE_PRIVATE_SECTION 0x05 |
#define | STREAM_TYPE_PRIVATE_DATA 0x06 |
#define | STREAM_TYPE_AUDIO_AAC 0x0f |
#define | STREAM_TYPE_VIDEO_MPEG4 0x10 |
#define | STREAM_TYPE_VIDEO_H264 0x1b |
#define | STREAM_TYPE_VIDEO_CAVS 0x42 |
#define | STREAM_TYPE_AUDIO_AC3 0x81 |
#define | STREAM_TYPE_AUDIO_DTS 0x8a |
Functions | |
static int64_t | ff_parse_pes_pts (const uint8_t *buf) |
Parse MPEG-PES five-byte timestamp. | |
Variables | |
static const int | lpcm_freq_tab [4] = { 48000, 96000, 44100, 32000 } |
#define PACK_START_CODE ((unsigned int)0x000001ba) |
Definition at line 28 of file mpeg.h.
Referenced by mpegps_probe(), mpegps_read_pes_header(), and put_pack_header().
#define SYSTEM_HEADER_START_CODE ((unsigned int)0x000001bb) |
Definition at line 29 of file mpeg.h.
Referenced by mpegps_probe(), mpegps_read_pes_header(), and put_system_header().
#define PROGRAM_STREAM_MAP 0x1bc |
Definition at line 36 of file mpeg.h.
Referenced by mpegps_read_pes_header().
#define PRIVATE_STREAM_1 0x1bd |
Definition at line 37 of file mpeg.h.
Referenced by flush_packet(), mpegps_probe(), and mpegps_read_pes_header().
#define PADDING_STREAM 0x1be |
Definition at line 38 of file mpeg.h.
Referenced by mpegps_read_pes_header(), and put_padding_packet().
#define PRIVATE_STREAM_2 0x1bf |
Definition at line 39 of file mpeg.h.
Referenced by flush_packet(), mpegps_read_packet(), and mpegps_read_pes_header().
#define AUDIO_ID 0xc0 |
Definition at line 41 of file mpeg.h.
Referenced by flush_packet(), mpeg_mux_init(), mpegps_probe(), and put_system_header().
#define VIDEO_ID 0xe0 |
Definition at line 42 of file mpeg.h.
Referenced by mpeg_mux_init(), mpegps_probe(), put_system_header(), and swf_write_video().
#define AC3_ID 0x80 |
Definition at line 43 of file mpeg.h.
Referenced by mpeg_mux_init().
#define DTS_ID 0x8a |
Definition at line 44 of file mpeg.h.
Referenced by mpeg_mux_init().
#define LPCM_ID 0xa0 |
Definition at line 45 of file mpeg.h.
Referenced by mpeg_mux_init().
#define SUB_ID 0x20 |
Definition at line 46 of file mpeg.h.
Referenced by mpeg_mux_init().
#define STREAM_TYPE_VIDEO_MPEG1 0x01 |
Definition at line 48 of file mpeg.h.
Referenced by mpegps_read_packet().
#define STREAM_TYPE_VIDEO_MPEG2 0x02 |
Definition at line 49 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_AUDIO_MPEG1 0x03 |
Definition at line 50 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_AUDIO_MPEG2 0x04 |
Definition at line 51 of file mpeg.h.
Referenced by mpegps_read_packet().
#define STREAM_TYPE_PRIVATE_DATA 0x06 |
Definition at line 53 of file mpeg.h.
Referenced by ff_parse_mpeg2_descriptor(), and mpegts_write_pmt().
#define STREAM_TYPE_AUDIO_AAC 0x0f |
Definition at line 54 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_VIDEO_MPEG4 0x10 |
Definition at line 55 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_VIDEO_H264 0x1b |
Definition at line 56 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_VIDEO_CAVS 0x42 |
Definition at line 57 of file mpeg.h.
Referenced by mpegts_write_pmt().
#define STREAM_TYPE_AUDIO_AC3 0x81 |
Definition at line 59 of file mpeg.h.
Referenced by mpegps_read_packet(), and mpegts_write_pmt().
|
inlinestatic |
Parse MPEG-PES five-byte timestamp.
Definition at line 67 of file mpeg.h.
Referenced by get_pts(), mpegts_push_data(), and read_part_of_packet().
|
static |
Definition at line 62 of file mpeg.h.
Referenced by mpeg_mux_init(), and mpegps_read_packet().