FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dca.c File Reference
#include <stdint.h>
#include <string.h>
#include "libavutil/error.h"
#include "dca.h"
#include "dca_syncwords.h"
#include "put_bits.h"

Go to the source code of this file.

Functions

int avpriv_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 avpriv_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 39 of file dca.c.

Referenced by convert_bitstream(), dca_parse_params(), dcadec_decode_frame(), and dts_probe().

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 34 of file dca.c.

Referenced by dca_parse_params(), dts_probe(), parse_frame_header(), and spdif_header_dts().