FFmpeg
Classes | Typedefs | Variables
atrac3plusdec.c File Reference

Sony ATRAC3+ compatible decoder. More...

#include <stdint.h>
#include <string.h>
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "atrac.h"
#include "atrac3plus.h"

Classes

struct  ATRAC3PContext
 

Typedefs

typedef struct ATRAC3PContext ATRAC3PContext
 

Variables

AVCodec ff_atrac3p_decoder
 
AVCodec ff_atrac3pal_decoder
 

Detailed Description

Sony ATRAC3+ compatible decoder.

Container formats used to store its data: RIFF WAV (.at3) and Sony OpenMG (.oma, .aa3).

Technical description of this codec can be found here: http://wiki.multimedia.cx/index.php?title=ATRAC3plus

Kudos to Benjamin Larsson and Michael Karcher for their precious technical help!

Variable Documentation

§ ff_atrac3p_decoder

AVCodec ff_atrac3p_decoder
Initial value:
= {
.name = "atrac3plus",
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_ATRAC3P,
.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(ATRAC3PContext),
.init = atrac3p_decode_init,
.close = atrac3p_decode_close,
.decode = atrac3p_decode_frame,
}
Definition: atrac3plusdec.c:48
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959

§ ff_atrac3pal_decoder

AVCodec ff_atrac3pal_decoder
Initial value:
= {
.name = "atrac3plusal",
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_ATRAC3PAL,
.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(ATRAC3PContext),
.init = atrac3p_decode_init,
.close = atrac3p_decode_close,
.decode = atrac3p_decode_frame,
}
Definition: atrac3plusdec.c:48
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959