FFmpeg
Data Structures | Typedefs | Functions | Variables
me_cmp.h File Reference
#include <stdint.h>
#include "libavutil/attributes_internal.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  MECmpContext
 

Typedefs

typedef int(* me_cmp_func) (struct MpegEncContext *c, const uint8_t *blk1, const uint8_t *blk2, ptrdiff_t stride, int h)
 

Functions

void ff_me_cmp_init (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_aarch64 (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_alpha (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_arm (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_ppc (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_riscv (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_x86 (MECmpContext *c, AVCodecContext *avctx)
 
void ff_me_cmp_init_mips (MECmpContext *c, AVCodecContext *avctx)
 
int ff_set_cmp (MECmpContext *c, me_cmp_func *cmp, int type)
 
void ff_dsputil_init_dwt (MECmpContext *c)
 

Variables

const uint32_t attribute_visibility_hidden ff_square_tab [512]
 

Typedef Documentation

◆ me_cmp_func

typedef int(* me_cmp_func) (struct MpegEncContext *c, const uint8_t *blk1, const uint8_t *blk2, ptrdiff_t stride, int h)

Definition at line 50 of file me_cmp.h.

Function Documentation

◆ ff_me_cmp_init()

void ff_me_cmp_init ( MECmpContext c,
AVCodecContext avctx 
)

◆ ff_me_cmp_init_aarch64()

void ff_me_cmp_init_aarch64 ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 80 of file me_cmp_init_aarch64.c.

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_alpha()

void ff_me_cmp_init_alpha ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 267 of file me_cmp_alpha.c.

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_arm()

void ff_me_cmp_init_arm ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 41 of file me_cmp_init_arm.c.

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_ppc()

void ff_me_cmp_init_ppc ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 726 of file me_cmp.c.

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_riscv()

void ff_me_cmp_init_riscv ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 80 of file me_cmp_init.c.

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_x86()

void ff_me_cmp_init_x86 ( MECmpContext c,
AVCodecContext avctx 
)

Referenced by ff_me_cmp_init().

◆ ff_me_cmp_init_mips()

void ff_me_cmp_init_mips ( MECmpContext c,
AVCodecContext avctx 
)

Definition at line 25 of file me_cmp_init_mips.c.

Referenced by ff_me_cmp_init().

◆ ff_set_cmp()

int ff_set_cmp ( MECmpContext c,
me_cmp_func cmp,
int  type 
)

Definition at line 476 of file me_cmp.c.

Referenced by dvvideo_encode_init(), encode_init(), ff_init_me(), and ff_mpv_encode_init().

◆ ff_dsputil_init_dwt()

void ff_dsputil_init_dwt ( MECmpContext c)

Definition at line 842 of file snow_dwt.c.

Referenced by ff_me_cmp_init().

Variable Documentation

◆ ff_square_tab

const uint32_t attribute_visibility_hidden ff_square_tab[512]

Definition at line 35 of file me_cmp.c.

Referenced by pix_norm1(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().