FFmpeg
|
#include "libavutil/bswap.h"
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "tak.h"
Go to the source code of this file.
Macros | |
#define | CRC_TABLE_SIZE 1024 |
Functions | |
static int | tak_get_nb_samples (int sample_rate, enum TAKFrameSizeType type) |
av_cold void | ff_tak_init_crc (void) |
int | ff_tak_check_crc (const uint8_t *buf, unsigned int buf_size) |
void | avpriv_tak_parse_streaminfo (GetBitContext *gb, TAKStreamInfo *s) |
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 int | crc_init = 0 |
static AVCRC | crc_24 [CRC_TABLE_SIZE] |
Macro Definition Documentation
Function Documentation
void avpriv_tak_parse_streaminfo | ( | GetBitContext * | gb, |
TAKStreamInfo * | s | ||
) |
Parse the Streaminfo metadata block.
- Parameters
-
[in] gb pointer to GetBitContext [out] s storage for parsed information
Definition at line 108 of file tak.c.
Referenced by ff_tak_decode_frame_header(), and tak_read_header().
int ff_tak_check_crc | ( | const uint8_t * | buf, |
unsigned int | buf_size | ||
) |
Definition at line 92 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().
int ff_tak_decode_frame_header | ( | AVCodecContext * | avctx, |
GetBitContext * | gb, | ||
TAKStreamInfo * | s, | ||
int | log_level_offset | ||
) |
Validate and decode a frame header.
- Parameters
-
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.
- Returns
- non-zero on error, 0 if OK
Definition at line 143 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().
Definition at line 84 of file tak.c.
Referenced by tak_decode_init(), and tak_init().
|
static |
Definition at line 53 of file tak.c.
Referenced by avpriv_tak_parse_streaminfo().
Variable Documentation
|
static |
Definition at line 82 of file tak.c.
Referenced by ff_tak_check_crc(), and ff_tak_init_crc().
|
static |
Definition at line 76 of file tak.c.
Referenced by ff_tak_init_crc().
|
static |
Definition at line 49 of file tak.c.
Referenced by tak_get_nb_samples().
|
static |
Definition at line 27 of file tak.c.
Referenced by avpriv_tak_parse_streaminfo().
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11