FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "tak.h"
Go to the source code of this file.
Macros | |
#define | CACHED_BITSTREAM_READER !ARCH_X86_32 |
#define | BITSTREAM_READER_LE |
Functions | |
static int | tak_get_nb_samples (int sample_rate, enum TAKFrameSizeType type) |
int | ff_tak_check_crc (const uint8_t *buf, unsigned int buf_size) |
void | ff_tak_parse_streaminfo (TAKStreamInfo *s, GetBitContext *gb) |
int | avpriv_tak_parse_streaminfo (TAKStreamInfo *s, const uint8_t *buf, int size) |
Parse the Streaminfo metadata block. More... | |
int | ff_tak_decode_frame_header (AVCodecContext *avctx, GetBitContext *gb, TAKStreamInfo *ti, int log_level_offset) |
Validate and decode a frame header. More... | |
Variables | |
static const int64_t | tak_channel_layouts [] |
static const uint16_t | frame_duration_type_quants [] |
|
static |
Definition at line 56 of file tak.c.
Referenced by ff_tak_parse_streaminfo().
Definition at line 79 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().
void ff_tak_parse_streaminfo | ( | TAKStreamInfo * | s, |
GetBitContext * | gb | ||
) |
Definition at line 95 of file tak.c.
Referenced by avpriv_tak_parse_streaminfo(), and ff_tak_decode_frame_header().
int avpriv_tak_parse_streaminfo | ( | TAKStreamInfo * | s, |
const uint8_t * | buf, | ||
int | size | ||
) |
Parse the Streaminfo metadata block.
[out] | s | storage for parsed information |
[in] | buf | input buffer |
[in] | size | size of input buffer in bytes |
Definition at line 130 of file tak.c.
Referenced by tak_read_header().
int ff_tak_decode_frame_header | ( | AVCodecContext * | avctx, |
GetBitContext * | gb, | ||
TAKStreamInfo * | s, | ||
int | log_level_offset | ||
) |
Validate and decode a frame header.
avctx | AVCodecContext to use as av_log() context | |
[in] | gb | GetBitContext from which to read frame header |
[out] | s | frame information |
log_level_offset | log level offset, can be used to silence error messages. |
Definition at line 143 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().
|
static |
Definition at line 30 of file tak.c.
Referenced by ff_tak_parse_streaminfo().
|
static |
Definition at line 52 of file tak.c.
Referenced by tak_get_nb_samples().