|
static int | allocate_buffers (FLACContext *s) |
|
static void | flac_set_bps (FLACContext *s) |
|
static av_cold int | flac_decode_init (AVCodecContext *avctx) |
|
static void | dump_headers (AVCodecContext *avctx, FLACStreaminfo *s) |
|
static int | parse_streaminfo (FLACContext *s, const uint8_t *buf, int buf_size) |
| Parse the STREAMINFO from an inline header. More...
|
|
static int | get_metadata_size (const uint8_t *buf, int buf_size) |
| Determine the size of an inline header. More...
|
|
static int | decode_residuals (FLACContext *s, int32_t *decoded, int pred_order) |
|
static int | decode_subframe_fixed (FLACContext *s, int32_t *decoded, int pred_order, int bps) |
|
static void | lpc_analyze_remodulate (SUINT32 *decoded, const int coeffs[32], int order, int qlevel, int len, int bps) |
|
static int | decode_subframe_lpc (FLACContext *s, int32_t *decoded, int pred_order, int bps) |
|
static int | decode_subframe (FLACContext *s, int channel) |
|
static int | decode_frame (FLACContext *s) |
|
static int | flac_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
|
static av_cold int | flac_decode_close (AVCodecContext *avctx) |
|
FLAC (Free Lossless Audio Codec) decoder.
- Author
- Alex Beregszaszi
- See Also
- http://flac.sourceforge.net/
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.