FFmpeg
|
#include <inttypes.h>
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/des.h"
#include "libavutil/mathematics.h"
#include "oma.h"
#include "pcm.h"
#include "id3v2.h"
Go to the source code of this file.
Data Structures | |
struct | OMAContext |
Macros | |
#define | OMA_RPROBE_M_VAL 48 + 1 |
Functions | |
static int | oma_read_close (AVFormatContext *s) |
static void | hex_log (AVFormatContext *s, int level, const char *name, const uint8_t *value, int len) |
static int | kset (AVFormatContext *s, const uint8_t *r_val, const uint8_t *n_val, int len) |
static int | rprobe (AVFormatContext *s, uint8_t *enc_header, unsigned size, const uint8_t *r_val) |
static int | nprobe (AVFormatContext *s, uint8_t *enc_header, unsigned size, const uint8_t *n_val) |
static int | decrypt_init (AVFormatContext *s, ID3v2ExtraMeta *em, uint8_t *header) |
static int | read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | aal_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | oma_read_header (AVFormatContext *s) |
static int | oma_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | oma_read_probe (const AVProbeData *p) |
static int | oma_read_seek (struct AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
Variables | |
static const uint64_t | leaf_table [] |
static const uint64_t | oma_chid_to_native_layout [7] |
map ATRAC-X channel id to internal channel layout More... | |
static const int | oma_chid_to_num_channels [7] = { 1, 2, 3, 4, 6, 7, 8 } |
map ATRAC-X channel id to total number of channels More... | |
const AVInputFormat | ff_oma_demuxer |
This is a demuxer for Sony OpenMG Music files
Known file extensions: ".oma", "aa3" The format of such files consists of three parts:
Supported decoders: ATRAC3, ATRAC3+, MP3, LPCM
Definition in file omadec.c.
|
static |
|
static |
Definition at line 103 of file omadec.c.
Referenced by decrypt_init().
|
static |
Definition at line 114 of file omadec.c.
Referenced by decrypt_init(), and nprobe().
|
static |
Definition at line 145 of file omadec.c.
Referenced by decrypt_init(), and nprobe().
|
static |
Definition at line 181 of file omadec.c.
Referenced by decrypt_init().
|
static |
Definition at line 230 of file omadec.c.
Referenced by oma_read_header().
|
static |
Definition at line 326 of file omadec.c.
Referenced by oma_read_header().
|
static |
Definition at line 364 of file omadec.c.
Referenced by oma_read_header().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 56 of file omadec.c.
Referenced by decrypt_init().
|
static |
map ATRAC-X channel id to internal channel layout
Definition at line 63 of file omadec.c.
Referenced by oma_read_header().
|
static |
map ATRAC-X channel id to total number of channels
Definition at line 74 of file omadec.c.
Referenced by oma_read_header().
const AVInputFormat ff_oma_demuxer |