FFmpeg
|
#include <stdint.h>
#include <string.h>
#include "libavutil/error.h"
#include "dca.h"
#include "dca_core.h"
#include "dca_syncwords.h"
#include "get_bits.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... | |
int | ff_dca_parse_core_frame_header (DCACoreFrameHeader *h, GetBitContext *gb) |
Parse and validate core frame header. More... | |
int | avpriv_dca_parse_core_frame_header (DCACoreFrameHeader *h, const uint8_t *buf, int size) |
Parse and validate core frame header. More... | |
Variables | |
const uint32_t | avpriv_dca_sample_rates [16] |
const uint32_t | ff_dca_sampling_freqs [16] |
const uint8_t | ff_dca_freq_ranges [16] |
const uint8_t | ff_dca_bits_per_sample [8] |
Convert bitstream to one representation based on sync marker.
Definition at line 54 of file dca.c.
Referenced by dca_parse_params(), dcadec_decode_frame(), and dts_probe().
int ff_dca_parse_core_frame_header | ( | DCACoreFrameHeader * | h, |
GetBitContext * | gb | ||
) |
Parse and validate core frame header.
[out] | h | Pointer to struct where header info is written. |
[in] | gbc | BitContext containing the first 120 bits of the frame. |
Definition at line 91 of file dca.c.
Referenced by avpriv_dca_parse_core_frame_header(), and parse_frame_header().
int avpriv_dca_parse_core_frame_header | ( | DCACoreFrameHeader * | h, |
const uint8_t * | buf, | ||
int | size | ||
) |
Parse and validate core frame header.
[out] | h | Pointer to struct where header info is written. |
[in] | buf | Pointer to the data buffer |
[in] | size | Size of the data buffer |
Definition at line 149 of file dca.c.
Referenced by dca_parse_params(), and dts_probe().
const uint32_t avpriv_dca_sample_rates[16] |
Definition at line 36 of file dca.c.
Referenced by dca_parse_params(), ff_dca_parse_core_frame_header(), parse_frame_header(), and spdif_header_dts().
const uint32_t ff_dca_sampling_freqs[16] |
Definition at line 41 of file dca.c.
Referenced by chs_parse_header(), dca_parse_params(), parse_decoder_init(), and parse_descriptor().
const uint8_t ff_dca_freq_ranges[16] |
Definition at line 46 of file dca.c.
Referenced by dca_parse_params(), and parse_decoder_init().
const uint8_t ff_dca_bits_per_sample[8] |
Definition at line 50 of file dca.c.
Referenced by ff_dca_parse_core_frame_header(), and parse_frame_header().