FFmpeg
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"
#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)
 
void ff_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)
 
void ff_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, ptrdiff_t line_size, int16_t *block)
 
static void ff_jref_idct4_add (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
static void ff_jref_idct2_put (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
static void ff_jref_idct2_add (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
static void ff_jref_idct1_put (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
static void ff_jref_idct1_add (uint8_t *dest, ptrdiff_t 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,
enum idct_permutation_type  perm_type 
)
void ff_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

Definition at line 104 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 121 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 136 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 157 of file idctdsp.c.

Referenced by ff_idctdsp_init(), ff_jref_idct_add(), and xvid_idct_add().

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

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

Referenced by ff_jref_idct2_add().

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

Definition at line 207 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 212 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 218 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 223 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 229 of file idctdsp.c.

Referenced by ff_idctdsp_init().

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

Definition at line 233 of file idctdsp.c.

Referenced by ff_idctdsp_init().

av_cold void ff_idctdsp_init ( IDCTDSPContext c,
AVCodecContext avctx 
)