19#ifndef AVCODEC_ME_CMP_H
20#define AVCODEC_ME_CMP_H
47 const uint8_t *blk2 , ptrdiff_t
stride,
87 int type,
int mpvenc);
Libavcodec external API header.
void ff_me_cmp_init_ppc(MECmpContext *c, AVCodecContext *avctx)
int(* me_cmp_func)(MPVEncContext *c, const uint8_t *blk1, const uint8_t *blk2, ptrdiff_t stride, int h)
void ff_dsputil_init_dwt(MECmpContext *c)
void ff_me_cmp_init_riscv(MECmpContext *c, AVCodecContext *avctx)
void ff_me_cmp_init(MECmpContext *c, AVCodecContext *avctx)
int ff_set_cmp(const MECmpContext *c, me_cmp_func *cmp, int type, int mpvenc)
Fill the function pointer array cmp[6] with me_cmp_funcs from c based upon type.
void ff_me_cmp_init_mips(MECmpContext *c, AVCodecContext *avctx)
void ff_me_cmp_init_arm(MECmpContext *c, AVCodecContext *avctx)
void ff_me_cmp_init_aarch64(MECmpContext *c, AVCodecContext *avctx)
void ff_me_cmp_init_x86(MECmpContext *c, AVCodecContext *avctx)
static av_always_inline int cmp(MPVEncContext *const s, const int x, const int y, const int subx, const int suby, const int size, const int h, int ref_index, int src_index, me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags)
compares a block (either a full macroblock or a partition thereof) against a proposed motion-compensa...
main external API structure.
me_cmp_func median_sad[6]
int(* sum_abs_dctelem)(const int16_t *block)
me_cmp_func dct264_sad[6]
me_cmp_func quant_psnr[6]
me_cmp_func hadamard8_diff[6]
me_cmp_func pix_abs[2][4]