FFmpeg
Functions
apv.c File Reference
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include "libavcodec/apv_decode.h"
#include "libavcodec/apv_dsp.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/apv_entropy.c"

Go to the source code of this file.

Functions

static unsigned int apv_read_vlc_spec (GetBitContext *gbc, int k_param)
 
static void apv_write_vlc_spec (PutBitContext *pbc, unsigned int symbol_val, int k_param)
 
static int apv_entropy_decode_block (int16_t *restrict coeff, GetBitContext *restrict gbc, APVEntropyState *restrict state)
 
static void binary (char *buf, uint32_t value, int bits)
 
static int test_apv_read_vlc (void)
 
static int random_coeff (AVLFG *lfg)
 
static int random_run (AVLFG *lfg)
 
static int test_apv_entropy_decode_block (void)
 
int main (void)
 

Function Documentation

◆ apv_read_vlc_spec()

static unsigned int apv_read_vlc_spec ( GetBitContext gbc,
int  k_param 
)
static

Definition at line 36 of file apv.c.

Referenced by test_apv_read_vlc().

◆ apv_write_vlc_spec()

static void apv_write_vlc_spec ( PutBitContext pbc,
unsigned int  symbol_val,
int  k_param 
)
static

Definition at line 75 of file apv.c.

Referenced by test_apv_entropy_decode_block().

◆ apv_entropy_decode_block()

static int apv_entropy_decode_block ( int16_t *restrict  coeff,
GetBitContext *restrict  gbc,
APVEntropyState *restrict  state 
)
static

Definition at line 107 of file apv.c.

Referenced by test_apv_entropy_decode_block().

◆ binary()

static void binary ( char *  buf,
uint32_t  value,
int  bits 
)
static

Definition at line 210 of file apv.c.

Referenced by test_apv_read_vlc().

◆ test_apv_read_vlc()

static int test_apv_read_vlc ( void  )
static

Definition at line 217 of file apv.c.

Referenced by main().

◆ random_coeff()

static int random_coeff ( AVLFG lfg)
static

Definition at line 272 of file apv.c.

Referenced by test_apv_entropy_decode_block().

◆ random_run()

static int random_run ( AVLFG lfg)
static

Definition at line 286 of file apv.c.

Referenced by test_apv_entropy_decode_block().

◆ test_apv_entropy_decode_block()

static int test_apv_entropy_decode_block ( void  )
static

Definition at line 298 of file apv.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 432 of file apv.c.