FFmpeg
Macros | Functions
mpegvideoenc_qns_template.c File Reference
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/x86/asm.h"
#include "inline_asm.h"

Go to the source code of this file.

Macros

#define MAX_ABS   (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0))
 

Functions

static int try_8x8basis_TMPL (const int16_t rem[64], const int16_t weight[64], const int16_t basis[64], int scale)
 
static void add_8x8basis_TMPL (int16_t rem[64], const int16_t basis[64], int scale)
 

Macro Definition Documentation

◆ MAX_ABS

#define MAX_ABS   (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0))

Definition at line 33 of file mpegvideoenc_qns_template.c.

Function Documentation

◆ try_8x8basis_TMPL()

static int try_8x8basis_TMPL ( const int16_t  rem[64],
const int16_t  weight[64],
const int16_t  basis[64],
int  scale 
)
static

Definition at line 35 of file mpegvideoenc_qns_template.c.

◆ add_8x8basis_TMPL()

static void add_8x8basis_TMPL ( int16_t  rem[64],
const int16_t  basis[64],
int  scale 
)
static

Definition at line 77 of file mpegvideoenc_qns_template.c.