FFmpeg
Functions
idctdsp.c File Reference
#include "config.h"
#include "config_components.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 (const 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

◆ ff_init_scantable()

av_cold void ff_init_scantable ( const uint8_t *  permutation,
ScanTable st,
const uint8_t *  src_scantable 
)

◆ ff_init_scantable_permutation()

av_cold void ff_init_scantable_permutation ( uint8_t *  idct_permutation,
enum idct_permutation_type  perm_type 
)

◆ ff_put_pixels_clamped_c()

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

◆ put_pixels_clamped4_c()

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

Definition at line 106 of file idctdsp.c.

Referenced by ff_jref_idct4_put().

◆ put_pixels_clamped2_c()

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

Definition at line 123 of file idctdsp.c.

Referenced by ff_jref_idct2_put().

◆ put_signed_pixels_clamped_c()

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

Definition at line 138 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_add_pixels_clamped_c()

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

Definition at line 159 of file idctdsp.c.

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

◆ add_pixels_clamped4_c()

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

Definition at line 179 of file idctdsp.c.

Referenced by ff_jref_idct4_add().

◆ add_pixels_clamped2_c()

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

Definition at line 195 of file idctdsp.c.

Referenced by ff_jref_idct2_add().

◆ ff_jref_idct4_put()

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

Definition at line 209 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct4_add()

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

Definition at line 214 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct2_put()

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

Definition at line 220 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct2_add()

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

Definition at line 225 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct1_put()

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

Definition at line 231 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct1_add()

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

Definition at line 235 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init()

av_cold void ff_idctdsp_init ( IDCTDSPContext c,
AVCodecContext avctx 
)