FFmpeg
Macros
h2656dsp.c File Reference
#include "h2656dsp.h"

Go to the source code of this file.

Macros

#define mc_rep_func(name, bitd, step, W, opt)
 
#define mc_rep_uni_func(name, bitd, step, W, opt)
 
#define mc_rep_funcs(name, bitd, step, W, opt)
 
#define MC_REP_FUNCS_SSE4(fname)
 

Macro Definition Documentation

◆ mc_rep_func

#define mc_rep_func (   name,
  bitd,
  step,
  W,
  opt 
)
Value:
void ff_h2656_put_##name##W##_##bitd##_##opt(int16_t *_dst, ptrdiff_t dststride, \
const uint8_t *_src, ptrdiff_t _srcstride, int height, const int8_t *hf, const int8_t *vf, int width) \
{ \
int i; \
int16_t *dst; \
for (i = 0; i < W; i += step) { \
const uint8_t *src = _src + (i * ((bitd + 7) / 8)); \
dst = _dst + i; \
ff_h2656_put_##name##step##_##bitd##_##opt(dst, dststride, src, _srcstride, height, hf, vf, width); \
} \
}

Definition at line 26 of file h2656dsp.c.

◆ mc_rep_uni_func

#define mc_rep_uni_func (   name,
  bitd,
  step,
  W,
  opt 
)
Value:
void ff_h2656_put_uni_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststride, \
const uint8_t *_src, ptrdiff_t _srcstride, int height, const int8_t *hf, const int8_t *vf, int width) \
{ \
int i; \
uint8_t *dst; \
for (i = 0; i < W; i += step) { \
const uint8_t *src = _src + (i * ((bitd + 7) / 8)); \
dst = _dst + (i * ((bitd + 7) / 8)); \
ff_h2656_put_uni_##name##step##_##bitd##_##opt(dst, dststride, src, _srcstride, \
height, hf, vf, width); \
} \
}

Definition at line 39 of file h2656dsp.c.

◆ mc_rep_funcs

#define mc_rep_funcs (   name,
  bitd,
  step,
  W,
  opt 
)
Value:
mc_rep_func(name, bitd, step, W, opt) \
mc_rep_uni_func(name, bitd, step, W, opt)

Definition at line 53 of file h2656dsp.c.

◆ MC_REP_FUNCS_SSE4

#define MC_REP_FUNCS_SSE4 (   fname)
Value:
mc_rep_funcs(fname, 8, 16,128, sse4) \
mc_rep_funcs(fname, 8, 16, 64, sse4) \
mc_rep_funcs(fname, 8, 16, 32, sse4) \
mc_rep_funcs(fname, 10, 8,128, sse4) \
mc_rep_funcs(fname, 10, 8, 64, sse4) \
mc_rep_funcs(fname, 10, 8, 32, sse4) \
mc_rep_funcs(fname, 10, 8, 16, sse4) \
mc_rep_funcs(fname, 12, 8,128, sse4) \
mc_rep_funcs(fname, 12, 8, 64, sse4) \
mc_rep_funcs(fname, 12, 8, 32, sse4) \
mc_rep_funcs(fname, 12, 8, 16, sse4) \

Definition at line 57 of file h2656dsp.c.

name
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
step
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about which is also called distortion Distortion can be quantified by almost any quality measurement one chooses the sum of squared differences is used but more complex methods that consider psychovisual effects can be used as well It makes no difference in this discussion First step
Definition: rate_distortion.txt:58
width
#define width
mc_rep_func
#define mc_rep_func(name, bitd, step, W, opt)
Definition: h2656dsp.c:26
height
#define height
W
@ W
Definition: vf_addroi.c:27
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:255
mc_rep_funcs
#define mc_rep_funcs(name, bitd, step, W, opt)
Definition: h2656dsp.c:53
_
#define _
src
INIT_CLIP pixel * src
Definition: h264pred_template.c:418