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_permute_scantable (uint8_t dst[64], const uint8_t src[64], const uint8_t permutation[64])
 
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 *restrict pixels, ptrdiff_t line_size)
 
static void put_pixels_clamped4_c (const int16_t *block, uint8_t *restrict pixels, int line_size)
 
static void put_pixels_clamped2_c (const int16_t *block, uint8_t *restrict pixels, int line_size)
 
static void put_signed_pixels_clamped_c (const int16_t *block, uint8_t *restrict pixels, ptrdiff_t line_size)
 
void ff_add_pixels_clamped_c (const int16_t *block, uint8_t *restrict pixels, ptrdiff_t line_size)
 
static void add_pixels_clamped4_c (const int16_t *block, uint8_t *restrict pixels, int line_size)
 
static void add_pixels_clamped2_c (const int16_t *block, uint8_t *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_permute_scantable()

av_cold void ff_permute_scantable ( uint8_t  dst[64],
const uint8_t  src[64],
const uint8_t  permutation[64] 
)

◆ 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 *restrict  pixels,
ptrdiff_t  line_size 
)

◆ put_pixels_clamped4_c()

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

Definition at line 94 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 *restrict  pixels,
int  line_size 
)
static

Definition at line 111 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 *restrict  pixels,
ptrdiff_t  line_size 
)
static

Definition at line 126 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 *restrict  pixels,
ptrdiff_t  line_size 
)

Definition at line 147 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 *restrict  pixels,
int  line_size 
)
static

Definition at line 167 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 *restrict  pixels,
int  line_size 
)
static

Definition at line 183 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 197 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 202 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 208 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 213 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 219 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 223 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init()

av_cold void ff_idctdsp_init ( IDCTDSPContext c,
AVCodecContext avctx 
)