dca.c File Reference
#include <stdint.h>
#include <string.h>
#include "put_bits.h"
#include "dca.h"
Include dependency graph for dca.c:

Go to the source code of this file.

Functions

int ff_dca_convert_bitstream (const uint8_t *src, int src_size, uint8_t *dst, int max_size)
 Convert bitstream to one representation based on sync marker. More...
 

Variables

const uint32_t avpriv_dca_sample_rates [16]
 

Function Documentation

int ff_dca_convert_bitstream ( const uint8_t src,
int  src_size,
uint8_t dst,
int  max_size 
)

Convert bitstream to one representation based on sync marker.

Definition at line 37 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_params().

Variable Documentation

const uint32_t avpriv_dca_sample_rates[16]
Initial value:
=
{
0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
12000, 24000, 48000, 96000, 192000
}

Definition at line 31 of file dca.c.

Referenced by dca_parse_frame_header(), dca_parse_params(), encode_init(), and spdif_header_dts().