FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
dcaadpcm.h File Reference
#include "dcamath.h"
#include "dcadata.h"
#include "dcaenc.h"

Go to the source code of this file.

Data Structures

struct  DCAADPCMEncContext
 

Functions

static int64_t ff_dcaadpcm_predict (int pred_vq_index, const int32_t *input)
 
int ff_dcaadpcm_subband_analysis (const DCAADPCMEncContext *s, const int32_t *input, int len, int *diff)
 
int ff_dcaadpcm_do_real (int pred_vq_index, softfloat quant, int32_t scale_factor, int32_t step_size, const int32_t *prev_hist, const int32_t *in, int32_t *next_hist, int32_t *out, int len, int32_t peak)
 
av_cold int ff_dcaadpcm_init (DCAADPCMEncContext *s)
 
av_cold void ff_dcaadpcm_free (DCAADPCMEncContext *s)
 

Function Documentation

static int64_t ff_dcaadpcm_predict ( int  pred_vq_index,
const int32_t input 
)
inlinestatic

Definition at line 33 of file dcaadpcm.h.

Referenced by calc_prediction_gain(), ff_dcaadpcm_do_real(), and inverse_adpcm().

int ff_dcaadpcm_subband_analysis ( const DCAADPCMEncContext s,
const int32_t input,
int  len,
int diff 
)

Definition at line 125 of file dcaadpcm.c.

Referenced by adpcm_analysis().

int ff_dcaadpcm_do_real ( int  pred_vq_index,
softfloat  quant,
int32_t  scale_factor,
int32_t  step_size,
const int32_t prev_hist,
const int32_t in,
int32_t next_hist,
int32_t out,
int  len,
int32_t  peak 
)

Definition at line 183 of file dcaadpcm.c.

Referenced by quantize_adpcm_subband().

av_cold int ff_dcaadpcm_init ( DCAADPCMEncContext s)

Definition at line 212 of file dcaadpcm.c.

Referenced by encode_init().

av_cold void ff_dcaadpcm_free ( DCAADPCMEncContext s)

Definition at line 225 of file dcaadpcm.c.

Referenced by encode_close().