FFmpeg
Data Structures | Enumerations | Functions
idctdsp.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  IDCTDSPContext
 

Enumerations

enum  idct_permutation_type {
  FF_IDCT_PERM_NONE, FF_IDCT_PERM_LIBMPEG2, FF_IDCT_PERM_SIMPLE, FF_IDCT_PERM_TRANSPOSE,
  FF_IDCT_PERM_PARTTRANS, FF_IDCT_PERM_SSE2
}
 

Functions

void ff_permute_scantable (uint8_t dst[64], const uint8_t src[64], const uint8_t permutation[64])
 
void ff_init_scantable_permutation (uint8_t *idct_permutation, enum idct_permutation_type perm_type)
 
int ff_init_scantable_permutation_x86 (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)
 
void ff_add_pixels_clamped_c (const int16_t *block, uint8_t *restrict pixels, ptrdiff_t line_size)
 
void ff_idctdsp_init (IDCTDSPContext *c, struct AVCodecContext *avctx)
 
void ff_idctdsp_init_aarch64 (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_alpha (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_arm (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_ppc (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_riscv (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_x86 (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_mips (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 
void ff_idctdsp_init_loongarch (IDCTDSPContext *c, struct AVCodecContext *avctx, unsigned high_bit_depth)
 

Enumeration Type Documentation

◆ idct_permutation_type

Enumerator
FF_IDCT_PERM_NONE 
FF_IDCT_PERM_LIBMPEG2 
FF_IDCT_PERM_SIMPLE 
FF_IDCT_PERM_TRANSPOSE 
FF_IDCT_PERM_PARTTRANS 
FF_IDCT_PERM_SSE2 

Definition at line 27 of file idctdsp.h.

Function Documentation

◆ ff_permute_scantable()

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

◆ ff_init_scantable_permutation()

void ff_init_scantable_permutation ( uint8_t *  idct_permutation,
enum idct_permutation_type  perm_type 
)

◆ ff_init_scantable_permutation_x86()

int ff_init_scantable_permutation_x86 ( uint8_t *  idct_permutation,
enum idct_permutation_type  perm_type 
)

Definition at line 42 of file idctdsp_init.c.

Referenced by ff_init_scantable_permutation().

◆ ff_put_pixels_clamped_c()

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

◆ 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().

◆ ff_idctdsp_init()

void ff_idctdsp_init ( IDCTDSPContext c,
struct AVCodecContext avctx 
)

◆ ff_idctdsp_init_aarch64()

void ff_idctdsp_init_aarch64 ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 34 of file idctdsp_init_aarch64.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_alpha()

void ff_idctdsp_init_alpha ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

◆ ff_idctdsp_init_arm()

void ff_idctdsp_init_arm ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 66 of file idctdsp_init_arm.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_ppc()

void ff_idctdsp_init_ppc ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 256 of file idctdsp.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_riscv()

void ff_idctdsp_init_riscv ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 36 of file idctdsp_init.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_x86()

void ff_idctdsp_init_x86 ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 63 of file idctdsp_init.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_mips()

void ff_idctdsp_init_mips ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 27 of file idctdsp_init_mips.c.

Referenced by ff_idctdsp_init().

◆ ff_idctdsp_init_loongarch()

void ff_idctdsp_init_loongarch ( IDCTDSPContext c,
struct AVCodecContext avctx,
unsigned  high_bit_depth 
)

Definition at line 26 of file idctdsp_init_loongarch.c.

Referenced by ff_idctdsp_init().