LMMS
Loading...
Searching...
No Matches
fixed.c File Reference
#include <math.h>
#include <string.h>
#include "../compat.h"
#include "include/private/bitmath.h"
#include "include/private/fixed.h"
#include "../assert.h"

Macros

#define local_abs(x)

Functions

unsigned FLAC__fixed_compute_best_predictor (const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1])
unsigned FLAC__fixed_compute_best_predictor_wide (const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1])
void FLAC__fixed_compute_residual (const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[])
void FLAC__fixed_restore_signal (const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[])

Macro Definition Documentation

◆ local_abs

#define local_abs ( x)
Value:
((unsigned)((x)<0? -(x) : (x)))
unsigned x[BMAX+1]
Definition inflate.c:1586

Function Documentation

◆ FLAC__fixed_compute_best_predictor()

unsigned FLAC__fixed_compute_best_predictor ( const FLAC__int32 data[],
unsigned data_len,
FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1] )

◆ FLAC__fixed_compute_best_predictor_wide()

unsigned FLAC__fixed_compute_best_predictor_wide ( const FLAC__int32 data[],
unsigned data_len,
FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1] )

◆ FLAC__fixed_compute_residual()

void FLAC__fixed_compute_residual ( const FLAC__int32 data[],
unsigned data_len,
unsigned order,
FLAC__int32 residual[] )

◆ FLAC__fixed_restore_signal()

void FLAC__fixed_restore_signal ( const FLAC__int32 residual[],
unsigned data_len,
unsigned order,
FLAC__int32 data[] )