Go to the source code of this file.
|
int | ff_dca_set_channel_layout (AVCodecContext *avctx, int *ch_remap, int dca_mask) |
|
void | ff_dca_downmix_to_stereo_fixed (DCADSPContext *dcadsp, int32_t **samples, int *coeff_l, int nsamples, int ch_mask) |
|
void | ff_dca_downmix_to_stereo_float (AVFloatDSPContext *fdsp, float **samples, int *coeff_l, int nsamples, int ch_mask) |
|
static int | dcadec_decode_frame (AVCodecContext *avctx, AVFrame *frame, 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 void | dcadec_init_static (void) |
|
static av_cold int | dcadec_init (AVCodecContext *avctx) |
|
◆ MIN_PACKET_SIZE
#define MIN_PACKET_SIZE 16 |
◆ MAX_PACKET_SIZE
#define MAX_PACKET_SIZE 0x104000 |
◆ OFFSET
◆ PARAM
◆ ff_dca_set_channel_layout()
int ff_dca_set_channel_layout |
( |
AVCodecContext * |
avctx, |
|
|
int * |
ch_remap, |
|
|
int |
dca_mask |
|
) |
| |
◆ ff_dca_downmix_to_stereo_fixed()
void ff_dca_downmix_to_stereo_fixed |
( |
DCADSPContext * |
dcadsp, |
|
|
int32_t ** |
samples, |
|
|
int * |
coeff_l, |
|
|
int |
nsamples, |
|
|
int |
ch_mask |
|
) |
| |
◆ ff_dca_downmix_to_stereo_float()
void ff_dca_downmix_to_stereo_float |
( |
AVFloatDSPContext * |
fdsp, |
|
|
float ** |
samples, |
|
|
int * |
coeff_l, |
|
|
int |
nsamples, |
|
|
int |
ch_mask |
|
) |
| |
◆ dcadec_decode_frame()
◆ dcadec_flush()
◆ dcadec_close()
◆ dcadec_init_static()
static av_cold void dcadec_init_static |
( |
void |
| ) |
|
|
static |
◆ dcadec_init()
◆ dcadec_options
Initial value:= {
{ "channel_order", "Order in which the channels are to be exported",
{ "coded", "order in which the channels are coded in the bitstream",
{
"downmix",
"Request a specific channel layout from the decoder",
OFFSET(downmix_layout),
}
Definition at line 383 of file dcadec.c.
◆ dcadec_class
Initial value:= {
.class_name = "DCA decoder",
}
Definition at line 400 of file dcadec.c.
◆ ff_dca_decoder
Initial value:
Definition at line 408 of file dcadec.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
static av_cold int dcadec_close(AVCodecContext *avctx)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
@ AV_CLASS_CATEGORY_DECODER
@ AV_SAMPLE_FMT_S32P
signed 32 bits, planar
static av_cold int dcadec_init(AVCodecContext *avctx)
const AVProfile ff_dca_profiles[]
static av_cold void dcadec_flush(AVCodecContext *avctx)
static int dcadec_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
#define FF_CODEC_DECODE_CB(func)
static const AVOption dcadec_options[]
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
@ AV_OPT_TYPE_CHLAYOUT
Underlying C type is AVChannelLayout.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_SAMPLE_FMT_S16P
signed 16 bits, planar
AVSampleFormat
Audio sample formats.
static const AVClass dcadec_class
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.