FFmpeg
|
libcelt_dec.c File Reference
#include <celt/celt.h>
#include <celt/celt_header.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for libcelt_dec.c:
Go to the source code of this file.
Data Structures | |
struct | libcelt_context |
Functions | |
static int | ff_celt_error_to_averror (int err) |
static int | ff_celt_bitstream_version_hack (CELTMode *mode) |
static av_cold int | libcelt_dec_init (AVCodecContext *c) |
static av_cold int | libcelt_dec_close (AVCodecContext *c) |
static int | libcelt_dec_decode (AVCodecContext *c, void *data, int *got_frame_ptr, AVPacket *pkt) |
Variables | |
AVCodec | ff_libcelt_decoder |
Function Documentation
|
static |
Definition at line 52 of file libcelt_dec.c.
Referenced by libcelt_dec_init().
|
static |
Definition at line 34 of file libcelt_dec.c.
Referenced by libcelt_dec_decode(), and libcelt_dec_init().
|
static |
Definition at line 96 of file libcelt_dec.c.
|
static |
Definition at line 105 of file libcelt_dec.c.
|
static |
Definition at line 59 of file libcelt_dec.c.
Variable Documentation
AVCodec ff_libcelt_decoder |
Initial value:
= {
.name = "libcelt",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_CELT,
.init = libcelt_dec_init,
.close = libcelt_dec_close,
.decode = libcelt_dec_decode,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"),
}
static int libcelt_dec_decode(AVCodecContext *c, void *data, int *got_frame_ptr, AVPacket *pkt)
Definition: libcelt_dec.c:105
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
static av_cold int libcelt_dec_close(AVCodecContext *c)
Definition: libcelt_dec.c:96
Definition: libcelt_dec.c:28
Definition: libavcodec/avcodec.h:433
Definition at line 130 of file libcelt_dec.c.
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11