FFmpeg  4.0
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 DEF() try_8x8basis (int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
 
static void DEF() add_8x8basis (int16_t rem[64], 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.

Referenced by add_8x8basis(), and try_8x8basis().

Function Documentation

◆ try_8x8basis()

static int DEF() try_8x8basis ( int16_t  rem[64],
int16_t  weight[64],
int16_t  basis[64],
int  scale 
)
static

Definition at line 35 of file mpegvideoenc_qns_template.c.

◆ add_8x8basis()

static void DEF() add_8x8basis ( int16_t  rem[64],
int16_t  basis[64],
int  scale 
)
static

Definition at line 77 of file mpegvideoenc_qns_template.c.