dca.h File Reference
#include <stdint.h>
#include "libavutil/internal.h"
Include dependency graph for dca.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DCA_MARKER_RAW_BE   0x7FFE8001
 DCA syncwords, also used for bitstream type detection. More...
 
#define DCA_MARKER_RAW_LE   0xFE7F0180
 
#define DCA_MARKER_14B_BE   0x1FFFE800
 
#define DCA_MARKER_14B_LE   0xFF1F00E8
 
#define DCA_HD_MARKER   0x64582025
 DCA-HD specific block starts with this marker. More...
 

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

av_export const uint32_t avpriv_dca_sample_rates [16]
 

Macro Definition Documentation

#define DCA_HD_MARKER   0x64582025

DCA-HD specific block starts with this marker.

Definition at line 38 of file dca.h.

Referenced by dca_decode_frame(), dca_find_frame_end(), and spdif_header_dts().

#define DCA_MARKER_14B_BE   0x1FFFE800

Definition at line 34 of file dca.h.

Referenced by ff_dca_convert_bitstream(), and spdif_header_dts().

#define DCA_MARKER_14B_LE   0xFF1F00E8

Definition at line 35 of file dca.h.

Referenced by ff_dca_convert_bitstream(), and spdif_header_dts().

#define DCA_MARKER_RAW_BE   0x7FFE8001

DCA syncwords, also used for bitstream type detection.

Definition at line 32 of file dca.h.

Referenced by ff_dca_convert_bitstream(), and spdif_header_dts().

#define DCA_MARKER_RAW_LE   0xFE7F0180

Definition at line 33 of file dca.h.

Referenced by ff_dca_convert_bitstream(), and spdif_header_dts().

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

av_export const uint32_t avpriv_dca_sample_rates[16]

Definition at line 31 of file dca.c.

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