r8brain-free-src
High-quality pro audio sample rate converter library
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
CDSPHBDownsampler.h File Reference

Half-band downsampling convolver class. More...

#include "CDSPHBUpsampler.h"
#include "CDSPHBDownsampler.inc"

Go to the source code of this file.

Classes

class  r8b::CDSPHBDownsampler
 Half-band downsampler class. More...
 

Namespaces

namespace  r8b
 The "r8brain-free-src" library namespace.
 

Macros

#define R8BHBC1(fn)
 
#define R8BHBC2
 

Detailed Description

Half-band downsampling convolver class.

This file includes half-band downsampling convolver class.

r8brain-free-src Copyright (c) 2013-2022 Aleksey Vaneev See the "LICENSE" file for license.

Macro Definition Documentation

◆ R8BHBC1

#define R8BHBC1 (   fn)
Value:
static void fn( double* op, double* const opend, const double* const flt, \
const double* const rp01, const double* const rp02, int rpos ) \
{ \
while( op != opend ) \
{ \
const double* const rp1 = rp01 + rpos; \
const double* const rp = rp02 + rpos;

◆ R8BHBC2

#define R8BHBC2
Value:
rpos = ( rpos + 1 ) & BufLenMask; \
op++; \
} \
}