FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
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"
#include "xvididct.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, enum idct_permutation_type perm_type)
 
static void put_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, ptrdiff_t 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, ptrdiff_t line_size)
 
static void add_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, ptrdiff_t 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 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)
 

Variables

void(* ff_put_pixels_clamped )(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size)
 
void(* ff_add_pixels_clamped )(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size)
 

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,
enum idct_permutation_type  perm_type 
)
static void put_pixels_clamped_c ( const int16_t *  block,
uint8_t *av_restrict  pixels,
ptrdiff_t  line_size 
)
static

Definition at line 86 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 107 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 124 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,
ptrdiff_t  line_size 
)
static

Definition at line 139 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 160 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 180 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 196 of file idctdsp.c.

Referenced by ff_jref_idct2_add().

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

Definition at line 210 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 215 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 221 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 226 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 232 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 236 of file idctdsp.c.

Referenced by ff_idctdsp_init().

av_cold void ff_idctdsp_init ( IDCTDSPContext c,
AVCodecContext avctx 
)

Variable Documentation

void(* ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size)
void(* ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size)