FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 (int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
 
static void add_8x8basis_TMPL (int16_t rem[64], int16_t basis[64], int scale)
 

Macro Definition Documentation

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

Definition at line 33 of file mpegvideoenc_qns_template.c.

Referenced by add_8x8basis_TMPL(), and try_8x8basis_TMPL().

Function Documentation

static int try_8x8basis_TMPL ( 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.

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

Definition at line 77 of file mpegvideoenc_qns_template.c.