Provides a reduced sampling rate by taking a sample at every factor location (ingoring factor-1 samples).
More...
#include <CodecOpusOgg.h>
|
| | Decimate ()=default |
| | Decimate ()=default |
| | Decimate (int factor, int channels, int bits_per_sample) |
| | Decimate (int factor, int channels, int bits_per_sample) |
| | ~Decimate () override |
| | ~Decimate () override |
| void | clear () |
| void | clear () |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| | operator bool () |
| | operator bool () |
| void | reset () |
| void | reset () |
| void | setBits (int bits) |
| void | setBits (int bits) |
| void | setChannels (int channels) |
| | Defines the number of channels.
|
| void | setChannels (int channels) |
| | Defines the number of channels.
|
| void | setFactor (int factor) |
| | Sets the factor: e.g. with 4 we keep every forth sample.
|
| void | setFactor (int factor) |
| | Sets the factor: e.g. with 4 we keep every forth sample.
|
Provides a reduced sampling rate by taking a sample at every factor location (ingoring factor-1 samples).
◆ Decimate() [1/4]
◆ Decimate() [2/4]
| Decimate |
( |
int | factor, |
|
|
int | channels, |
|
|
int | bits_per_sample ) |
|
inline |
◆ ~Decimate() [1/2]
◆ Decimate() [3/4]
◆ Decimate() [4/4]
| Decimate |
( |
int | factor, |
|
|
int | channels, |
|
|
int | bits_per_sample ) |
|
inline |
◆ ~Decimate() [2/2]
◆ clear() [1/2]
◆ clear() [2/2]
◆ convert() [1/4]
| size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ convert() [2/4]
| size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ convert() [3/4]
| size_t convert |
( |
uint8_t * | target, |
|
|
uint8_t * | src, |
|
|
size_t | size ) |
|
inline |
◆ convert() [4/4]
| size_t convert |
( |
uint8_t * | target, |
|
|
uint8_t * | src, |
|
|
size_t | size ) |
|
inline |
◆ isConfigValid() [1/2]
◆ isConfigValid() [2/2]
◆ operator bool() [1/2]
◆ operator bool() [2/2]
◆ reset() [1/2]
◆ reset() [2/2]
◆ resetState() [1/2]
◆ resetState() [2/2]
◆ setBits() [1/2]
◆ setBits() [2/2]
◆ setChannels() [1/2]
| void setChannels |
( |
int | channels | ) |
|
|
inline |
Defines the number of channels.
◆ setChannels() [2/2]
| void setChannels |
( |
int | channels | ) |
|
|
inline |
Defines the number of channels.
◆ setFactor() [1/2]
| void setFactor |
( |
int | factor | ) |
|
|
inline |
Sets the factor: e.g. with 4 we keep every forth sample.
◆ setFactor() [2/2]
| void setFactor |
( |
int | factor | ) |
|
|
inline |
Sets the factor: e.g. with 4 we keep every forth sample.
◆ bits
◆ channels
◆ factor
◆ state
The documentation for this class was generated from the following files: