FFmpeg
Data Structures | Functions | Variables
amr.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "rawdec.h"
#include "rawenc.h"

Go to the source code of this file.

Data Structures

struct  AMRContext
 

Functions

static int amr_probe (const AVProbeData *p)
 
static int amr_read_header (AVFormatContext *s)
 

Variables

static const uint8_t AMR_header [6] = "#!AMR\x0a"
 
static const uint8_t AMRMC_header [12] = "#!AMR_MC1.0\x0a"
 
static const uint8_t AMRWB_header [9] = "#!AMR-WB\x0a"
 
static const uint8_t AMRWBMC_header [15] = "#!AMR-WB_MC1.0\x0a"
 
static const uint8_t amrnb_packed_size [16]
 
static const uint8_t amrwb_packed_size [16]
 

Function Documentation

◆ amr_probe()

static int amr_probe ( const AVProbeData p)
static

Definition at line 69 of file amr.c.

◆ amr_read_header()

static int amr_read_header ( AVFormatContext s)
static

Definition at line 82 of file amr.c.

Variable Documentation

◆ AMR_header

const uint8_t AMR_header[6] = "#!AMR\x0a"
static

Definition at line 38 of file amr.c.

Referenced by amr_probe(), and amr_read_header().

◆ AMRMC_header

const uint8_t AMRMC_header[12] = "#!AMR_MC1.0\x0a"
static

Definition at line 39 of file amr.c.

Referenced by amr_read_header().

◆ AMRWB_header

const uint8_t AMRWB_header[9] = "#!AMR-WB\x0a"
static

Definition at line 40 of file amr.c.

Referenced by amr_read_header().

◆ AMRWBMC_header

const uint8_t AMRWBMC_header[15] = "#!AMR-WB_MC1.0\x0a"
static

Definition at line 41 of file amr.c.

Referenced by amr_read_header().

◆ amrnb_packed_size

const uint8_t amrnb_packed_size[16]
static
Initial value:
= {
13, 14, 16, 18, 20, 21, 27, 32, 6, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 43 of file amr.c.

◆ amrwb_packed_size

const uint8_t amrwb_packed_size[16]
static
Initial value:
= {
18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 1, 1, 1, 1, 1, 1
}

Definition at line 46 of file amr.c.