FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libdcadec.c File Reference
#include <libdcadec/dca_context.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "dca.h"
#include "dca_syncwords.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  DCADecContext
 

Functions

static int dcadec_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 
static av_cold void dcadec_flush (AVCodecContext *avctx)
 
static av_cold int dcadec_close (AVCodecContext *avctx)
 
static av_cold int dcadec_init (AVCodecContext *avctx)
 

Variables

static const AVProfile profiles []
 
AVCodec ff_libdcadec_decoder
 

Function Documentation

static int dcadec_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 40 of file libdcadec.c.

static av_cold void dcadec_flush ( AVCodecContext avctx)
static

Definition at line 185 of file libdcadec.c.

static av_cold int dcadec_close ( AVCodecContext avctx)
static

Definition at line 191 of file libdcadec.c.

static av_cold int dcadec_init ( AVCodecContext avctx)
static

Definition at line 203 of file libdcadec.c.

Variable Documentation

const AVProfile profiles[]
static
Initial value:
= {
{ FF_PROFILE_DTS, "DTS" },
{ FF_PROFILE_DTS_ES, "DTS-ES" },
{ FF_PROFILE_DTS_96_24, "DTS 96/24" },
{ FF_PROFILE_DTS_HD_HRA, "DTS-HD HRA" },
{ FF_PROFILE_DTS_HD_MA, "DTS-HD MA" },
{ FF_PROFILE_DTS_EXPRESS, "DTS Express" },
}
#define FF_PROFILE_DTS_HD_HRA
Definition: avcodec.h:3186
#define FF_PROFILE_DTS_EXPRESS
Definition: avcodec.h:3188
#define FF_PROFILE_DTS_ES
Definition: avcodec.h:3184
#define FF_PROFILE_UNKNOWN
Definition: avcodec.h:3162
#define FF_PROFILE_DTS
Definition: avcodec.h:3183
#define FF_PROFILE_DTS_96_24
Definition: avcodec.h:3185
#define FF_PROFILE_DTS_HD_MA
Definition: avcodec.h:3187

Definition at line 243 of file libdcadec.c.

AVCodec ff_libdcadec_decoder
Initial value:
= {
.name = "libdcadec",
.long_name = NULL_IF_CONFIG_SMALL("dcadec DCA decoder"),
.priv_data_size = sizeof(DCADecContext),
.close = dcadec_close,
}
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold void dcadec_flush(AVCodecContext *avctx)
Definition: libdcadec.c:185
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
Definition: avcodec.h:1015
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
signed 32 bits, planar
Definition: samplefmt.h:68
static int dcadec_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libdcadec.c:40
static av_cold int dcadec_init(AVCodecContext *avctx)
Definition: libdcadec.c:203
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
static const AVProfile profiles[]
Definition: libdcadec.c:243
static av_cold int dcadec_close(AVCodecContext *avctx)
Definition: libdcadec.c:191
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
Definition: ccaption_dec.c:752
static enum AVSampleFormat sample_fmts[]
Definition: adpcmenc.c:701
signed 16 bits, planar
Definition: samplefmt.h:67
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:956

Definition at line 253 of file libdcadec.c.