#include <string.h>
#include "avcodec.h"
Go to the source code of this file.
◆ R_TABLE_TYPE
Definition at line 33 of file amr.h.
◆ ff_amr_bit_reorder()
static void ff_amr_bit_reorder |
( |
uint16_t * |
out, |
|
|
int |
size, |
|
|
const uint8_t * |
data, |
|
|
const R_TABLE_TYPE * |
ord_table |
|
) |
| |
|
inlinestatic |
Fill the frame structure variables from bitstream by parsing the given reordering table that uses the following format:
Each field (16 bits) in the AMR Frame is stored as:
- one byte for the number of bits in the field
- one byte for the field index
- then, one byte for each bit of the field (from most-significant to least) of the position of that bit in the AMR frame.
- Parameters
-
out | pointer to the frame struct |
size | the size in bytes of the frame struct |
data | input bitstream after the frame header |
ord_table | the reordering table as above |
Definition at line 51 of file amr.h.
Referenced by amrwb_decode_frame(), and unpack_bitstream().