FFmpeg
|
FLAC (Free Lossless Audio Codec) decoder. More...
#include <limits.h>
#include "libavutil/avassert.h"
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "bytestream.h"
#include "golomb.h"
#include "flac.h"
#include "flacdata.h"
#include "flacdsp.h"
#include "thread.h"
#include "unary.h"
Go to the source code of this file.
Data Structures | |
struct | FLACContext |
Variables | |
static const AVOption | options [] |
static const AVClass | flac_decoder_class |
AVCodec | ff_flac_decoder |
FLAC (Free Lossless Audio Codec) decoder.
This decoder can be used in 1 of 2 ways: Either raw FLAC data can be fed through, starting from the initial 'fLaC' signature; or by passing the 34-byte streaminfo structure through avctx->extradata[_size] followed by data starting with the 0xFFF8 marker.
Definition in file flacdec.c.
|
static |
Definition at line 135 of file flacdec.c.
Referenced by decode_frame(), flac_decode_init(), and parse_streaminfo().
|
static |
Definition at line 73 of file flacdec.c.
Referenced by decode_frame(), flac_decode_init(), and parse_streaminfo().
|
static |
|
static |
Definition at line 126 of file flacdec.c.
Referenced by decode_frame().
|
static |
Parse the STREAMINFO from an inline header.
s | the flac decoding context |
buf | input buffer, starting with the "fLaC" marker |
buf_size | buffer size |
Definition at line 167 of file flacdec.c.
Referenced by flac_decode_frame().
Determine the size of an inline header.
buf | input buffer, starting with the "fLaC" marker |
buf_size | buffer size |
Definition at line 200 of file flacdec.c.
Referenced by flac_decode_frame().
|
static |
Definition at line 221 of file flacdec.c.
Referenced by decode_subframe_fixed(), and decode_subframe_lpc().
|
static |
Definition at line 282 of file flacdec.c.
Referenced by decode_subframe().
|
static |
Definition at line 334 of file flacdec.c.
Referenced by decode_subframe_lpc().
|
static |
Definition at line 361 of file flacdec.c.
Referenced by decode_subframe().
|
inlinestatic |
Definition at line 405 of file flacdec.c.
Referenced by decode_frame().
|
static |
Definition at line 472 of file flacdec.c.
Referenced by flac_decode_frame().
|
static |
|
static |
|
static |
|
static |
AVCodec ff_flac_decoder |