|
FFmpeg
|
#include <string.h>#include "libavutil/attributes.h"#include "libavutil/reverse.h"#include "libavutil/thread.h"#include "dsd2pcm.h"Go to the source code of this file.
Macros | |
| #define | DSD_CTABLES ((DSD_HTAPS + 7) / 8) /** number of "8 MACs" lookup tables */ |
Functions | |
| static av_cold void | dsd2pcm_ctables_tableinit (void) |
| av_cold 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. | |
Variables | |
| static const double | htaps [DSD_HTAPS] |
| The 2nd half (48 coeffs) of a 96-tap symmetric lowpass filter. | |
| static double | ctables [DSD_CTABLES][256] |
Definition at line 30 of file dsd2pcm.c.
Referenced by dsd2pcm_ctables_tableinit(), and swri_dsd2pcm_translate().
|
static |
Definition at line 73 of file dsd2pcm.c.
Referenced by swri_dsd2pcm_init().
| void swri_dsd2pcm_translate | ( | DSDContext * | s, |
| size_t | samples, | ||
| const uint8_t * | src, | ||
| ptrdiff_t | src_stride, | ||
| float * | dst, | ||
| ptrdiff_t | dst_stride ) |
The 2nd half (48 coeffs) of a 96-tap symmetric lowpass filter.
Definition at line 52 of file dsd2pcm.c.
Referenced by decode_header(), and dsd2pcm_ctables_tableinit().
|
static |
Definition at line 71 of file dsd2pcm.c.
Referenced by dsd2pcm_ctables_tableinit(), and swri_dsd2pcm_translate().