FFmpeg
Loading...
Searching...
No Matches
jfdctfst.c File Reference

Independent JPEG Group's fast AAN dct. More...

#include <stdint.h>
#include "libavutil/attributes.h"
#include "fdctdsp.h"

Go to the source code of this file.

Macros

#define DCTSIZE   8
 
#define GLOBAL(x)
 
#define RIGHT_SHIFT(x, n)
 
#define CONST_BITS   8
 
#define FIX_0_382683433   FIX(0.382683433)
 
#define FIX_0_541196100   FIX(0.541196100)
 
#define FIX_0_707106781   FIX(0.707106781)
 
#define FIX_1_306562965   FIX(1.306562965)
 
#define DESCALE(x, n)
 
#define MULTIPLY(var, const)
 

Functions

static av_always_inline void row_fdct (int16_t *data)
 
 ff_fdct_ifast (int16_t *data)
 
 ff_fdct_ifast248 (int16_t *data)
 

Variables

 Sorry
 

Detailed Description

Independent JPEG Group's fast AAN dct.

Definition in file jfdctfst.c.

Macro Definition Documentation

◆ DCTSIZE

◆ GLOBAL

#define GLOBAL ( x)
Value:
x

Definition at line 74 of file jfdctfst.c.

◆ RIGHT_SHIFT

#define RIGHT_SHIFT ( x,
n )
Value:
((x) >> (n))

Definition at line 75 of file jfdctfst.c.

◆ CONST_BITS

#define CONST_BITS   8

◆ FIX_0_382683433

#define FIX_0_382683433   FIX(0.382683433)

Definition at line 120 of file jfdctfst.c.

Referenced by ff_column_fidct_c(), ff_fdct_ifast(), ff_row_fdct_c(), and row_fdct().

◆ FIX_0_541196100

#define FIX_0_541196100   FIX(0.541196100)

◆ FIX_0_707106781

#define FIX_0_707106781   FIX(0.707106781)

◆ FIX_1_306562965

#define FIX_1_306562965   FIX(1.306562965)

◆ DESCALE

#define DESCALE ( x,
n )
Value:
#define RIGHT_SHIFT(x, n)
Definition jfdctfst.c:75

Definition at line 134 of file jfdctfst.c.

◆ MULTIPLY

#define MULTIPLY ( var,
const )
Value:
((int16_t) DESCALE((var) * (const), CONST_BITS))
#define CONST_BITS
Definition jfdctfst.c:104
#define DESCALE(x, n)
Definition jfdctfst.c:134

Definition at line 142 of file jfdctfst.c.

Referenced by ff_fdct_ifast(), ff_fdct_ifast248(), and row_fdct().

Function Documentation

◆ row_fdct()

static av_always_inline void row_fdct ( int16_t * data)
static

Definition at line 144 of file jfdctfst.c.

Referenced by ff_fdct_ifast(), and ff_fdct_ifast248().

◆ ff_fdct_ifast()

ff_fdct_ifast ( int16_t * data)

◆ ff_fdct_ifast248()

ff_fdct_ifast248 ( int16_t * data)

Definition at line 273 of file jfdctfst.c.

Referenced by ff_fdct_ifast248(), and ff_fdctdsp_init().

Variable Documentation

◆ Sorry

Sorry

Definition at line 82 of file jfdctfst.c.