FFmpeg  4.0
Macros | Enumerations | Variables
oma.h File Reference
#include <stdint.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define EA3_HEADER_SIZE   96
 
#define ID3v2_EA3_MAGIC   "ea3"
 
#define OMA_ENC_HEADER_SIZE   16
 

Enumerations

enum  {
  OMA_CODECID_ATRAC3 = 0, OMA_CODECID_ATRAC3P = 1, OMA_CODECID_MP3 = 3, OMA_CODECID_LPCM = 4,
  OMA_CODECID_WMA = 5, OMA_CODECID_ATRAC3PAL = 33, OMA_CODECID_ATRAC3AL = 34
}
 

Variables

const uint16_t ff_oma_srate_tab [8]
 
const AVCodecTag ff_oma_codec_tags []
 
const uint64_t ff_oma_chid_to_native_layout [7]
 map ATRAC-X channel id to internal channel layout More...
 
const int ff_oma_chid_to_num_channels [7]
 map ATRAC-X channel id to total number of channels More...
 

Macro Definition Documentation

◆ EA3_HEADER_SIZE

#define EA3_HEADER_SIZE   96

Definition at line 28 of file oma.h.

Referenced by oma_read_header(), oma_read_probe(), and oma_write_header().

◆ ID3v2_EA3_MAGIC

#define ID3v2_EA3_MAGIC   "ea3"

Definition at line 29 of file oma.h.

Referenced by oma_read_header(), oma_read_probe(), and oma_write_header().

◆ OMA_ENC_HEADER_SIZE

#define OMA_ENC_HEADER_SIZE   16

Definition at line 30 of file oma.h.

Referenced by decrypt_init(), nprobe(), and rprobe().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OMA_CODECID_ATRAC3 
OMA_CODECID_ATRAC3P 
OMA_CODECID_MP3 
OMA_CODECID_LPCM 
OMA_CODECID_WMA 
OMA_CODECID_ATRAC3PAL 
OMA_CODECID_ATRAC3AL 

Definition at line 32 of file oma.h.

Variable Documentation

◆ ff_oma_srate_tab

const uint16_t ff_oma_srate_tab[8]

Definition at line 26 of file oma.c.

Referenced by oma_read_header(), and oma_write_header().

◆ ff_oma_codec_tags

const AVCodecTag ff_oma_codec_tags[]

Definition at line 28 of file oma.c.

Referenced by oma_read_header().

◆ ff_oma_chid_to_native_layout

const uint64_t ff_oma_chid_to_native_layout[7]

map ATRAC-X channel id to internal channel layout

Definition at line 39 of file oma.c.

Referenced by oma_read_header().

◆ ff_oma_chid_to_num_channels

const int ff_oma_chid_to_num_channels[7]

map ATRAC-X channel id to total number of channels

Definition at line 50 of file oma.c.

Referenced by oma_read_header().