FFmpeg
|
#include <stdint.h>
#include <string.h>
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "atrac.h"
#include "atrac3plus.h"
Go to the source code of this file.
Data Structures | |
struct | ATRAC3PContext |
Functions | |
static av_cold int | atrac3p_decode_close (AVCodecContext *avctx) |
static av_cold int | set_channel_params (ATRAC3PContext *ctx, AVCodecContext *avctx) |
static av_cold void | atrac3p_init_static (void) |
static av_cold int | atrac3p_decode_init (AVCodecContext *avctx) |
static void | decode_residual_spectrum (ATRAC3PContext *ctx, Atrac3pChanUnitCtx *ch_unit, float out[2][ATRAC3P_FRAME_SAMPLES], int num_channels, AVCodecContext *avctx) |
static void | reconstruct_frame (ATRAC3PContext *ctx, Atrac3pChanUnitCtx *ch_unit, int num_channels, AVCodecContext *avctx) |
static int | atrac3p_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
Variables | |
static const uint8_t | channel_map [8][8] |
const FFCodec | ff_atrac3p_decoder |
const FFCodec | ff_atrac3pal_decoder |
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!
Definition in file atrac3plusdec.c.
|
static |
Definition at line 85 of file atrac3plusdec.c.
|
static |
Definition at line 98 of file atrac3plusdec.c.
Referenced by atrac3p_decode_init().
|
static |
Definition at line 166 of file atrac3plusdec.c.
Referenced by atrac3p_decode_init().
|
static |
Definition at line 172 of file atrac3plusdec.c.
|
static |
Definition at line 231 of file atrac3plusdec.c.
Referenced by atrac3p_decode_frame().
|
static |
Definition at line 295 of file atrac3plusdec.c.
Referenced by atrac3p_decode_frame().
|
static |
Definition at line 361 of file atrac3plusdec.c.
|
static |
Definition at line 52 of file atrac3plusdec.c.
Referenced by ac3_decode_frame(), copy_input_samples(), ff_eac3_parse_header(), ff_opus_parse_extradata(), libopus_copy_samples_with_channel_map(), libopus_decode_init(), libopus_validate_layout_and_get_channel_map(), mov_write_dops_tag(), pulse_map_channels_to_pulse(), pulse_write_header(), set_channel_params(), and swr_set_channel_mapping().
const FFCodec ff_atrac3p_decoder |
Definition at line 420 of file atrac3plusdec.c.
const FFCodec ff_atrac3pal_decoder |
Definition at line 433 of file atrac3plusdec.c.