All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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...


#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 */


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

Macro Definition Documentation

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

Definition at line 31 of file dsd.h.

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

Definition at line 32 of file dsd.h.

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

Definition at line 33 of file dsd.h.

Referenced by ff_dsd2pcm_translate().

Function Documentation

void ff_init_dsd_data ( void  )

Definition at line 46 of file dsd.c.

Referenced by decode_init().

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

Definition at line 55 of file dsd.c.

Referenced by decode_frame().