FFmpeg
Macros | Functions
colorspacedsp_yuv2yuv_template.c File Reference
#include "libavutil/avassert.h"

Go to the source code of this file.

Macros

#define opixel   pixel
 
#define ipixel   uint16_t
 
#define fn3(a, b, c, d)   a##_##d##p##b##to##c##_c
 
#define fn2(a, b, c, d)   fn3(a,b,c,d)
 
#define fn(a)   fn2(a, IN_BIT_DEPTH, OUT_BIT_DEPTH, ss)
 

Functions

static void fn() yuv2yuv (uint8_t *_dst[3], const ptrdiff_t dst_stride[3], uint8_t *_src[3], const ptrdiff_t src_stride[3], int w, int h, const int16_t c[3][3][8], const int16_t yuv_offset[2][8])
 

Macro Definition Documentation

◆ opixel

#define opixel   pixel

Definition at line 24 of file colorspacedsp_yuv2yuv_template.c.

◆ ipixel

#define ipixel   uint16_t

Definition at line 30 of file colorspacedsp_yuv2yuv_template.c.

◆ fn3

#define fn3 (   a,
  b,
  c,
  d 
)    a##_##d##p##b##to##c##_c

Definition at line 36 of file colorspacedsp_yuv2yuv_template.c.

◆ fn2

#define fn2 (   a,
  b,
  c,
  d 
)    fn3(a,b,c,d)

Definition at line 37 of file colorspacedsp_yuv2yuv_template.c.

◆ fn

#define fn (   a)    fn2(a, IN_BIT_DEPTH, OUT_BIT_DEPTH, ss)

Definition at line 38 of file colorspacedsp_yuv2yuv_template.c.

Function Documentation

◆ yuv2yuv()

static void fn() yuv2yuv ( uint8_t *  _dst[3],
const ptrdiff_t  dst_stride[3],
uint8_t *  _src[3],
const ptrdiff_t  src_stride[3],
int  w,
int  h,
const int16_t  c[3][3][8],
const int16_t  yuv_offset[2][8] 
)
static

Definition at line 40 of file colorspacedsp_yuv2yuv_template.c.

Referenced by create_filtergraph().