FFmpeg  4.0
Macros | Functions
hq_hqadsp.c File Reference
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "hq_hqadsp.h"

Go to the source code of this file.

Macros

#define FIX_1_082   17734
 
#define FIX_1_847   30274
 
#define FIX_1_414   23170
 
#define FIX_2_613   21407
 
#define IDCTMUL(a, b)   ((int)((a) * (unsigned)(b)) >> 16)
 

Functions

static void idct_row (int16_t *blk)
 
static void idct_col (int16_t *blk)
 
static void hq_idct_put (uint8_t *dst, int stride, int16_t *block)
 
av_cold void ff_hqdsp_init (HQDSPContext *c)
 

Macro Definition Documentation

◆ FIX_1_082

#define FIX_1_082   17734

Definition at line 28 of file hq_hqadsp.c.

Referenced by idct_col(), and idct_row().

◆ FIX_1_847

#define FIX_1_847   30274

Definition at line 29 of file hq_hqadsp.c.

Referenced by idct_col(), and idct_row().

◆ FIX_1_414

#define FIX_1_414   23170

Definition at line 30 of file hq_hqadsp.c.

Referenced by idct_col(), and idct_row().

◆ FIX_2_613

#define FIX_2_613   21407

Definition at line 31 of file hq_hqadsp.c.

Referenced by idct_col(), and idct_row().

◆ IDCTMUL

#define IDCTMUL (   a,
  b 
)    ((int)((a) * (unsigned)(b)) >> 16)

Definition at line 33 of file hq_hqadsp.c.

Referenced by idct_col(), and idct_row().

Function Documentation

◆ idct_row()

static void idct_row ( int16_t *  blk)
inlinestatic

Definition at line 35 of file hq_hqadsp.c.

Referenced by hq_idct_put().

◆ idct_col()

static void idct_col ( int16_t *  blk)
inlinestatic

Definition at line 73 of file hq_hqadsp.c.

Referenced by hq_idct_put().

◆ hq_idct_put()

static void hq_idct_put ( uint8_t dst,
int  stride,
int16_t *  block 
)
static

Definition at line 111 of file hq_hqadsp.c.

Referenced by ff_hqdsp_init().

◆ ff_hqdsp_init()

av_cold void ff_hqdsp_init ( HQDSPContext c)

Definition at line 127 of file hq_hqadsp.c.

Referenced by hq_hqa_decode_init().