#include <stdint.h>
#include "libavutil/intreadwrite.h"
Go to the source code of this file.
Defines | |
#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_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 AC3_ID 0x80 |
#define AUDIO_ID 0xc0 |
Definition at line 41 of file mpeg.h.
Referenced by flush_packet(), mpeg_mux_init(), mpegps_probe(), mpegvideo_probe(), and put_system_header().
#define DTS_ID 0x8a |
#define LPCM_ID 0xa0 |
#define PACK_START_CODE ((unsigned int)0x000001ba) |
Definition at line 28 of file mpeg.h.
Referenced by mpegps_probe(), mpegps_read_pes_header(), mpegvideo_probe(), and put_pack_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_1 0x1bd |
Definition at line 37 of file mpeg.h.
Referenced by flush_packet(), mpegps_probe(), and mpegps_read_pes_header().
#define PRIVATE_STREAM_2 0x1bf |
#define PROGRAM_STREAM_MAP 0x1bc |
#define STREAM_TYPE_AUDIO_AAC 0x0f |
#define STREAM_TYPE_AUDIO_AC3 0x81 |
#define STREAM_TYPE_AUDIO_MPEG1 0x03 |
#define STREAM_TYPE_AUDIO_MPEG2 0x04 |
#define STREAM_TYPE_PRIVATE_DATA 0x06 |
Definition at line 53 of file mpeg.h.
Referenced by ff_parse_mpeg2_descriptor(), mpegps_read_packet(), and mpegts_write_pmt().
#define STREAM_TYPE_VIDEO_H264 0x1b |
#define STREAM_TYPE_VIDEO_MPEG1 0x01 |
#define STREAM_TYPE_VIDEO_MPEG2 0x02 |
#define STREAM_TYPE_VIDEO_MPEG4 0x10 |
#define SUB_ID 0x20 |
#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 VIDEO_ID 0xe0 |
Definition at line 42 of file mpeg.h.
Referenced by mpeg_mux_init(), mpegps_probe(), mpegvideo_probe(), put_system_header(), and swf_write_video().
static int64_t ff_parse_pes_pts | ( | const uint8_t * | buf | ) | [inline, static] |
Parse MPEG-PES five-byte timestamp.
Definition at line 66 of file mpeg.h.
Referenced by get_pts(), mpegts_push_data(), and read_part_of_packet().
const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 } [static] |