|
FFmpeg
|
#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | DSDContext |
| Per-channel buffer. More... | |
Macros | |
| #define | DSD_HTAPS 48 /** number of FIR constants */ |
| #define | DSD_FIFOSIZE 16 /** must be a power of two */ |
| #define | DSD_FIFOMASK (DSD_FIFOSIZE - 1) /** bit mask for FIFO offsets */ |
Functions | |
| void | swri_dsd2pcm_init (void) |
| void | swri_dsd2pcm_translate (DSDContext *s, size_t samples, const uint8_t *src, ptrdiff_t src_stride, float *dst, ptrdiff_t dst_stride) |
| Convert one channel of MSB-first DSD data (one byte = 8 samples) to float PCM at 1/8th of the DSD bit rate. | |
Definition at line 31 of file dsd2pcm.h.
Referenced by swri_dsd2pcm_translate().
| #define DSD_FIFOMASK (DSD_FIFOSIZE - 1) /** bit mask for FIFO offsets */ |
Definition at line 32 of file dsd2pcm.h.
Referenced by swri_dsd2pcm_translate().
| void swri_dsd2pcm_translate | ( | DSDContext * | s, |
| size_t | samples, | ||
| const uint8_t * | src, | ||
| ptrdiff_t | src_stride, | ||
| float * | dst, | ||
| ptrdiff_t | dst_stride ) |