FFmpeg
Data Structures | Macros | Functions
dsd.h File Reference
#include "libavcodec/internal.h"
#include "libavcodec/mathops.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  DSDContext
 Per-channel buffer. More...
 

Macros

#define HTAPS   48 /** number of FIR constants */
 
#define FIFOSIZE   16 /** must be a power of two */
 
#define FIFOMASK   (FIFOSIZE - 1) /** bit mask for FIFO offsets */
 

Functions

void ff_init_dsd_data (void)
 
void ff_dsd2pcm_translate (DSDContext *s, size_t samples, int lsbf, const uint8_t *src, ptrdiff_t src_stride, float *dst, ptrdiff_t dst_stride)
 

Macro Definition Documentation

◆ HTAPS

#define HTAPS   48 /** number of FIR constants */

Definition at line 31 of file dsd.h.

◆ FIFOSIZE

#define FIFOSIZE   16 /** must be a power of two */

Definition at line 32 of file dsd.h.

◆ FIFOMASK

#define FIFOMASK   (FIFOSIZE - 1) /** bit mask for FIFO offsets */

Definition at line 33 of file dsd.h.

Function Documentation

◆ ff_init_dsd_data()

void ff_init_dsd_data ( void  )

Definition at line 46 of file dsd.c.

Referenced by decode_init(), and wavpack_decode_init().

◆ ff_dsd2pcm_translate()

void ff_dsd2pcm_translate ( DSDContext s,
size_t  samples,
int  lsbf,
const uint8_t src,
ptrdiff_t  src_stride,
float *  dst,
ptrdiff_t  dst_stride 
)

Definition at line 55 of file dsd.c.

Referenced by decode_frame(), and dsd_channel().