FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
idctdsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "dct.h"
#include "faanidct.h"
#include "idctdsp.h"
#include "simple_idct.h"

Go to the source code of this file.

Functions

av_cold void ff_init_scantable (uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable)
 
av_cold void ff_init_scantable_permutation (uint8_t *idct_permutation, int idct_permutation_type)
 
static void put_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void put_pixels_clamped4_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void put_pixels_clamped2_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void put_signed_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void add_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void add_pixels_clamped4_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void add_pixels_clamped2_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size)
 
static void jref_idct_put (uint8_t *dest, int line_size, int16_t *block)
 
static void jref_idct_add (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct4_put (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct4_add (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct2_put (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct2_add (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct1_put (uint8_t *dest, int line_size, int16_t *block)
 
static void ff_jref_idct1_add (uint8_t *dest, int line_size, int16_t *block)
 
av_cold void ff_idctdsp_init (IDCTDSPContext *c, AVCodecContext *avctx)
 

Function Documentation

av_cold void ff_init_scantable ( uint8_t permutation,
ScanTable st,
const uint8_t src_scantable 
)
av_cold void ff_init_scantable_permutation ( uint8_t idct_permutation,
int  idct_permutation_type 
)
static void put_pixels_clamped_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 82 of file idctdsp.c.

Referenced by ff_idctdsp_init(), and jref_idct_put().

static void put_pixels_clamped4_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 103 of file idctdsp.c.

Referenced by ff_jref_idct4_put().

static void put_pixels_clamped2_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 120 of file idctdsp.c.

Referenced by ff_jref_idct2_put().

static void put_signed_pixels_clamped_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 135 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void add_pixels_clamped_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 156 of file idctdsp.c.

Referenced by ff_idctdsp_init(), and jref_idct_add().

static void add_pixels_clamped4_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 176 of file idctdsp.c.

Referenced by ff_jref_idct4_add().

static void add_pixels_clamped2_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
int  line_size 
)
static

Definition at line 192 of file idctdsp.c.

Referenced by ff_jref_idct2_add().

static void jref_idct_put ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 206 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void jref_idct_add ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 212 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct4_put ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 217 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct4_add ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 222 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct2_put ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 228 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct2_add ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 233 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct1_put ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 239 of file idctdsp.c.

Referenced by ff_idctdsp_init().

static void ff_jref_idct1_add ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 243 of file idctdsp.c.

Referenced by ff_idctdsp_init().

av_cold void ff_idctdsp_init ( IDCTDSPContext c,
AVCodecContext avctx 
)