FFmpeg
Macros | Functions
h2656_inter_template.c File Reference

Go to the source code of this file.

Macros

#define CHROMA_EXTRA_BEFORE   1
 
#define CHROMA_EXTRA   3
 
#define LUMA_EXTRA_BEFORE   3
 
#define LUMA_EXTRA   7
 
#define LUMA_FILTER(src, stride)
 
#define CHROMA_FILTER(src, stride)
 

Functions

static void FUNC() put_pixels (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_pixels (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_w_pixels (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int denom, const int wx, const int _ox, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_luma_h (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_luma_v (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_luma_hv (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_h (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_v (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_hv (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_w_h (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, int height, const int denom, const int wx, const int _ox, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_w_v (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int denom, const int wx, const int _ox, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_luma_w_hv (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int denom, const int wx, const int _ox, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_chroma_h (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_chroma_v (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_chroma_hv (int16_t *dst, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_chroma_h (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_chroma_v (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_chroma_hv (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_chroma_w_h (uint8_t *_dst, ptrdiff_t _dst_stride, const uint8_t *_src, ptrdiff_t _src_stride, int height, int denom, int wx, int ox, const int8_t *hf, const int8_t *vf, int width)
 
static void FUNC() put_uni_chroma_w_v (uint8_t *_dst, const ptrdiff_t _dst_stride, const uint8_t *_src, const ptrdiff_t _src_stride, const int height, const int denom, const int wx, const int _ox, const int8_t *hf, const int8_t *vf, const int width)
 
static void FUNC() put_uni_chroma_w_hv (uint8_t *_dst, ptrdiff_t _dst_stride, const uint8_t *_src, ptrdiff_t _src_stride, int height, int denom, int wx, int ox, const int8_t *hf, const int8_t *vf, int width)
 

Macro Definition Documentation

◆ CHROMA_EXTRA_BEFORE

#define CHROMA_EXTRA_BEFORE   1

Definition at line 24 of file h2656_inter_template.c.

◆ CHROMA_EXTRA

#define CHROMA_EXTRA   3

Definition at line 25 of file h2656_inter_template.c.

◆ LUMA_EXTRA_BEFORE

#define LUMA_EXTRA_BEFORE   3

Definition at line 26 of file h2656_inter_template.c.

◆ LUMA_EXTRA

#define LUMA_EXTRA   7

Definition at line 27 of file h2656_inter_template.c.

◆ LUMA_FILTER

#define LUMA_FILTER (   src,
  stride 
)
Value:
(filter[0] * src[x - 3 * stride] + \
filter[1] * src[x - 2 * stride] + \
filter[2] * src[x - stride] + \
filter[3] * src[x ] + \
filter[4] * src[x + stride] + \
filter[5] * src[x + 2 * stride] + \
filter[6] * src[x + 3 * stride] + \
filter[7] * src[x + 4 * stride])

Definition at line 87 of file h2656_inter_template.c.

◆ CHROMA_FILTER

#define CHROMA_FILTER (   src,
  stride 
)
Value:
(filter[0] * src[x - stride] + \
filter[1] * src[x] + \
filter[2] * src[x + stride] + \
filter[3] * src[x + 2 * stride])

Definition at line 336 of file h2656_inter_template.c.

Function Documentation

◆ put_pixels()

static void FUNC() put_pixels ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 29 of file h2656_inter_template.c.

◆ put_uni_pixels()

static void FUNC() put_uni_pixels ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 44 of file h2656_inter_template.c.

◆ put_uni_w_pixels()

static void FUNC() put_uni_w_pixels ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int  denom,
const int  wx,
const int  _ox,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 60 of file h2656_inter_template.c.

◆ put_luma_h()

static void FUNC() put_luma_h ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 97 of file h2656_inter_template.c.

◆ put_luma_v()

static void FUNC() put_luma_v ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 112 of file h2656_inter_template.c.

◆ put_luma_hv()

static void FUNC() put_luma_hv ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 127 of file h2656_inter_template.c.

◆ put_uni_luma_h()

static void FUNC() put_uni_luma_h ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 154 of file h2656_inter_template.c.

◆ put_uni_luma_v()

static void FUNC() put_uni_luma_v ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 180 of file h2656_inter_template.c.

◆ put_uni_luma_hv()

static void FUNC() put_uni_luma_hv ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 207 of file h2656_inter_template.c.

◆ put_uni_luma_w_h()

static void FUNC() put_uni_luma_w_h ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
int  height,
const int  denom,
const int  wx,
const int  _ox,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 247 of file h2656_inter_template.c.

◆ put_uni_luma_w_v()

static void FUNC() put_uni_luma_w_v ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int  denom,
const int  wx,
const int  _ox,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 273 of file h2656_inter_template.c.

◆ put_uni_luma_w_hv()

static void FUNC() put_uni_luma_w_hv ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int  denom,
const int  wx,
const int  _ox,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 299 of file h2656_inter_template.c.

◆ put_chroma_h()

static void FUNC() put_chroma_h ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 342 of file h2656_inter_template.c.

◆ put_chroma_v()

static void FUNC() put_chroma_v ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 357 of file h2656_inter_template.c.

◆ put_chroma_hv()

static void FUNC() put_chroma_hv ( int16_t *  dst,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 372 of file h2656_inter_template.c.

◆ put_uni_chroma_h()

static void FUNC() put_uni_chroma_h ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 401 of file h2656_inter_template.c.

◆ put_uni_chroma_v()

static void FUNC() put_uni_chroma_v ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 425 of file h2656_inter_template.c.

◆ put_uni_chroma_hv()

static void FUNC() put_uni_chroma_hv ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 449 of file h2656_inter_template.c.

◆ put_uni_chroma_w_h()

static void FUNC() put_uni_chroma_w_h ( uint8_t *  _dst,
ptrdiff_t  _dst_stride,
const uint8_t *  _src,
ptrdiff_t  _src_stride,
int  height,
int  denom,
int  wx,
int  ox,
const int8_t *  hf,
const int8_t *  vf,
int  width 
)
static

Definition at line 487 of file h2656_inter_template.c.

◆ put_uni_chroma_w_v()

static void FUNC() put_uni_chroma_w_v ( uint8_t *  _dst,
const ptrdiff_t  _dst_stride,
const uint8_t *  _src,
const ptrdiff_t  _src_stride,
const int  height,
const int  denom,
const int  wx,
const int  _ox,
const int8_t *  hf,
const int8_t *  vf,
const int  width 
)
static

Definition at line 513 of file h2656_inter_template.c.

◆ put_uni_chroma_w_hv()

static void FUNC() put_uni_chroma_w_hv ( uint8_t *  _dst,
ptrdiff_t  _dst_stride,
const uint8_t *  _src,
ptrdiff_t  _src_stride,
int  height,
int  denom,
int  wx,
int  ox,
const int8_t *  hf,
const int8_t *  vf,
int  width 
)
static

Definition at line 540 of file h2656_inter_template.c.

filter
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
Definition: filter_design.txt:228
stride
#define stride
Definition: h264pred_template.c:537
src
INIT_CLIP pixel * src
Definition: h264pred_template.c:418