FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rmsipr.c File Reference
#include <stdint.h>
#include "rmsipr.h"

Go to the source code of this file.

Functions

void ff_rm_reorder_sipr_data (uint8_t *buf, int sub_packet_h, int framesize)
 Perform 4-bit block reordering for SIPR data. More...
 

Variables

const unsigned char ff_sipr_subpk_size [4] = { 29, 19, 37, 20 }
 
static const unsigned char sipr_swaps [38][2]
 

Function Documentation

void ff_rm_reorder_sipr_data ( uint8_t buf,
int  sub_packet_h,
int  framesize 
)

Perform 4-bit block reordering for SIPR data.

Parameters
bufSIPR data

Definition at line 41 of file rmsipr.c.

Referenced by ff_rm_parse_packet(), and matroska_parse_rm_audio().

Variable Documentation

const unsigned char ff_sipr_subpk_size[4] = { 29, 19, 37, 20 }

Definition at line 25 of file rmsipr.c.

Referenced by matroska_parse_tracks(), and rm_read_audio_stream_info().

const unsigned char sipr_swaps[38][2]
static
Initial value:
= {
{ 0, 63 }, { 1, 22 }, { 2, 44 }, { 3, 90 },
{ 5, 81 }, { 7, 31 }, { 8, 86 }, { 9, 58 },
{ 10, 36 }, { 12, 68 }, { 13, 39 }, { 14, 73 },
{ 15, 53 }, { 16, 69 }, { 17, 57 }, { 19, 88 },
{ 20, 34 }, { 21, 71 }, { 24, 46 }, { 25, 94 },
{ 26, 54 }, { 28, 75 }, { 29, 50 }, { 32, 70 },
{ 33, 92 }, { 35, 74 }, { 38, 85 }, { 40, 56 },
{ 42, 87 }, { 43, 65 }, { 45, 59 }, { 48, 79 },
{ 49, 93 }, { 51, 89 }, { 55, 95 }, { 61, 76 },
{ 67, 83 }, { 77, 80 }
}

Definition at line 27 of file rmsipr.c.

Referenced by ff_rm_reorder_sipr_data().