|
FFmpeg
|
#include "libavutil/channel_layout.h"#include "libavutil/intreadwrite.h"#include "libavutil/mem.h"#include "avformat.h"#include "demux.h"#include "internal.h"#include "avio_internal.h"Go to the source code of this file.
Data Structures | |
| struct | DSSDemuxContext |
Macros | |
| #define | DSS_HEAD_OFFSET_AUTHOR 0xc |
| #define | DSS_AUTHOR_SIZE 16 |
| #define | DSS_HEAD_OFFSET_START_TIME 0x26 |
| #define | DSS_HEAD_OFFSET_END_TIME 0x32 |
| #define | DSS_TIME_SIZE 12 |
| #define | DSS_HEAD_OFFSET_ACODEC 0x2a4 |
| #define | DSS_ACODEC_DSS_SP 0x0 /* SP mode */ |
| #define | DSS_ACODEC_G723_1 0x2 /* LP mode */ |
| #define | DSS_HEAD_OFFSET_COMMENT 0x31e |
| #define | DSS_COMMENT_SIZE 64 |
| #define | DSS_BLOCK_SIZE 512 |
| #define | DSS_AUDIO_BLOCK_HEADER_SIZE 6 |
| #define | DSS_FRAME_SIZE 42 |
Functions | |
| static int | dss_probe (const AVProbeData *p) |
| static int | dss_read_metadata_date (AVFormatContext *s, unsigned int offset, const char *key) |
| static int | dss_read_metadata_string (AVFormatContext *s, unsigned int offset, unsigned int size, const char *key) |
| static int | dss_read_header (AVFormatContext *s) |
| static void | dss_skip_audio_header (AVFormatContext *s, AVPacket *pkt) |
| static void | dss_sp_byte_swap (DSSDemuxContext *ctx, uint8_t *data) |
| static int | dss_sp_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | dss_723_1_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | dss_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | dss_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
Variables | |
| static const uint8_t | frame_size [4] = { 24, 20, 4, 1 } |
| const FFInputFormat | ff_dss_demuxer |
| #define DSS_HEAD_OFFSET_AUTHOR 0xc |
Definition at line 31 of file dss.c.
Referenced by dss_read_header().
| #define DSS_AUTHOR_SIZE 16 |
Definition at line 32 of file dss.c.
Referenced by dss_read_header().
| #define DSS_HEAD_OFFSET_END_TIME 0x32 |
Definition at line 35 of file dss.c.
Referenced by dss_read_header().
| #define DSS_TIME_SIZE 12 |
Definition at line 36 of file dss.c.
Referenced by dss_read_metadata_date().
| #define DSS_HEAD_OFFSET_ACODEC 0x2a4 |
Definition at line 38 of file dss.c.
Referenced by dss_read_header().
Definition at line 39 of file dss.c.
Referenced by dss_read_header(), dss_read_packet(), and dss_read_seek().
| #define DSS_ACODEC_G723_1 0x2 /* LP mode */ |
Definition at line 40 of file dss.c.
Referenced by dss_read_header().
| #define DSS_HEAD_OFFSET_COMMENT 0x31e |
Definition at line 42 of file dss.c.
Referenced by dss_read_header().
| #define DSS_COMMENT_SIZE 64 |
Definition at line 43 of file dss.c.
Referenced by dss_read_header().
| #define DSS_BLOCK_SIZE 512 |
Definition at line 45 of file dss.c.
Referenced by dss_read_header(), dss_read_seek(), and dss_skip_audio_header().
| #define DSS_AUDIO_BLOCK_HEADER_SIZE 6 |
Definition at line 46 of file dss.c.
Referenced by dss_read_seek(), and dss_skip_audio_header().
| #define DSS_FRAME_SIZE 42 |
Definition at line 47 of file dss.c.
Referenced by dss_read_header(), dss_sp_byte_swap(), and dss_sp_read_packet().
|
static |
|
static |
Definition at line 70 of file dss.c.
Referenced by dss_read_header().
|
static |
Definition at line 93 of file dss.c.
Referenced by dss_read_header().
|
static |
|
static |
Definition at line 178 of file dss.c.
Referenced by dss_723_1_read_packet(), and dss_sp_read_packet().
|
static |
Definition at line 187 of file dss.c.
Referenced by dss_sp_read_packet().
|
static |
Definition at line 207 of file dss.c.
Referenced by dss_read_packet().
|
static |
Definition at line 259 of file dss.c.
Referenced by dss_read_packet().
|
static |
|
static |
| const FFInputFormat ff_dss_demuxer |