FFmpeg
Macros | Functions
colorspacedsp_init.c File Reference
#include "libavutil/x86/cpu.h"
#include "libavfilter/colorspacedsp.h"

Go to the source code of this file.

Macros

#define decl_yuv2yuv_fn(t)
 
#define decl_yuv2yuv_fns(ss)
 
#define decl_yuv2rgb_fn(t)
 
#define decl_yuv2rgb_fns(ss)
 
#define decl_rgb2yuv_fn(t)
 
#define decl_rgb2yuv_fns(ss)
 
#define assign_yuv2yuv_fns(ss)
 
#define assign_yuv2rgb_fns(ss)
 
#define assign_rgb2yuv_fns(ss)
 

Functions

 decl_yuv2yuv_fns (420)
 
 decl_yuv2yuv_fns (422)
 
 decl_yuv2yuv_fns (444)
 
 decl_yuv2rgb_fns (420)
 
 decl_yuv2rgb_fns (422)
 
 decl_yuv2rgb_fns (444)
 
 decl_rgb2yuv_fns (420)
 
 decl_rgb2yuv_fns (422)
 
 decl_rgb2yuv_fns (444)
 
void ff_multiply3x3_sse2 (int16_t *data[3], ptrdiff_t stride, int w, int h, const int16_t coeff[3][3][8])
 
void ff_colorspacedsp_x86_init (ColorSpaceDSPContext *dsp)
 

Macro Definition Documentation

◆ decl_yuv2yuv_fn

#define decl_yuv2yuv_fn (   t)
Value:
void ff_yuv2yuv_##t##_sse2(uint8_t *yuv_out[3], const ptrdiff_t yuv_out_stride[3], \
uint8_t *yuv_in[3], const ptrdiff_t yuv_in_stride[3], \
int w, int h, const int16_t yuv2yuv_coeffs[3][3][8], \
const int16_t yuv_offset[2][8])

Definition at line 25 of file colorspacedsp_init.c.

◆ decl_yuv2yuv_fns

#define decl_yuv2yuv_fns (   ss)
Value:
decl_yuv2yuv_fn(ss##p8to8); \
decl_yuv2yuv_fn(ss##p10to8); \
decl_yuv2yuv_fn(ss##p12to8); \
decl_yuv2yuv_fn(ss##p8to10); \
decl_yuv2yuv_fn(ss##p10to10); \
decl_yuv2yuv_fn(ss##p12to10); \
decl_yuv2yuv_fn(ss##p8to12); \
decl_yuv2yuv_fn(ss##p10to12); \
decl_yuv2yuv_fn(ss##p12to12)

Definition at line 31 of file colorspacedsp_init.c.

◆ decl_yuv2rgb_fn

#define decl_yuv2rgb_fn (   t)
Value:
void ff_yuv2rgb_##t##_sse2(int16_t *rgb_out[3], ptrdiff_t rgb_stride, \
uint8_t *yuv_in[3], const ptrdiff_t yuv_stride[3], \
int w, int h, const int16_t coeff[3][3][8], \
const int16_t yuv_offset[8])

Definition at line 46 of file colorspacedsp_init.c.

◆ decl_yuv2rgb_fns

#define decl_yuv2rgb_fns (   ss)
Value:
decl_yuv2rgb_fn(ss##p10); \
decl_yuv2rgb_fn(ss##p12)

Definition at line 52 of file colorspacedsp_init.c.

◆ decl_rgb2yuv_fn

#define decl_rgb2yuv_fn (   t)
Value:
void ff_rgb2yuv_##t##_sse2(uint8_t *yuv_out[3], const ptrdiff_t yuv_stride[3], \
int16_t *rgb_in[3], ptrdiff_t rgb_stride, \
int w, int h, const int16_t coeff[3][3][8], \
const int16_t yuv_offset[8])

Definition at line 61 of file colorspacedsp_init.c.

◆ decl_rgb2yuv_fns

#define decl_rgb2yuv_fns (   ss)
Value:
decl_rgb2yuv_fn(ss##p10); \
decl_rgb2yuv_fn(ss##p12)

Definition at line 67 of file colorspacedsp_init.c.

◆ assign_yuv2yuv_fns

#define assign_yuv2yuv_fns (   ss)
Value:
dsp->yuv2yuv[BPP_8 ][BPP_8 ][SS_##ss] = ff_yuv2yuv_##ss##p8to8_sse2; \
dsp->yuv2yuv[BPP_8 ][BPP_10][SS_##ss] = ff_yuv2yuv_##ss##p8to10_sse2; \
dsp->yuv2yuv[BPP_8 ][BPP_12][SS_##ss] = ff_yuv2yuv_##ss##p8to12_sse2; \
dsp->yuv2yuv[BPP_10][BPP_8 ][SS_##ss] = ff_yuv2yuv_##ss##p10to8_sse2; \
dsp->yuv2yuv[BPP_10][BPP_10][SS_##ss] = ff_yuv2yuv_##ss##p10to10_sse2; \
dsp->yuv2yuv[BPP_10][BPP_12][SS_##ss] = ff_yuv2yuv_##ss##p10to12_sse2; \
dsp->yuv2yuv[BPP_12][BPP_8 ][SS_##ss] = ff_yuv2yuv_##ss##p12to8_sse2; \
dsp->yuv2yuv[BPP_12][BPP_10][SS_##ss] = ff_yuv2yuv_##ss##p12to10_sse2; \
dsp->yuv2yuv[BPP_12][BPP_12][SS_##ss] = ff_yuv2yuv_##ss##p12to12_sse2

◆ assign_yuv2rgb_fns

#define assign_yuv2rgb_fns (   ss)
Value:
dsp->yuv2rgb[BPP_8 ][SS_##ss] = ff_yuv2rgb_##ss##p8_sse2; \
dsp->yuv2rgb[BPP_10][SS_##ss] = ff_yuv2rgb_##ss##p10_sse2; \
dsp->yuv2rgb[BPP_12][SS_##ss] = ff_yuv2rgb_##ss##p12_sse2

◆ assign_rgb2yuv_fns

#define assign_rgb2yuv_fns (   ss)
Value:
dsp->rgb2yuv[BPP_8 ][SS_##ss] = ff_rgb2yuv_##ss##p8_sse2; \
dsp->rgb2yuv[BPP_10][SS_##ss] = ff_rgb2yuv_##ss##p10_sse2; \
dsp->rgb2yuv[BPP_12][SS_##ss] = ff_rgb2yuv_##ss##p12_sse2

Function Documentation

◆ decl_yuv2yuv_fns() [1/3]

decl_yuv2yuv_fns ( 420  )

◆ decl_yuv2yuv_fns() [2/3]

decl_yuv2yuv_fns ( 422  )

◆ decl_yuv2yuv_fns() [3/3]

decl_yuv2yuv_fns ( 444  )

◆ decl_yuv2rgb_fns() [1/3]

decl_yuv2rgb_fns ( 420  )

◆ decl_yuv2rgb_fns() [2/3]

decl_yuv2rgb_fns ( 422  )

◆ decl_yuv2rgb_fns() [3/3]

decl_yuv2rgb_fns ( 444  )

◆ decl_rgb2yuv_fns() [1/3]

decl_rgb2yuv_fns ( 420  )

◆ decl_rgb2yuv_fns() [2/3]

decl_rgb2yuv_fns ( 422  )

◆ decl_rgb2yuv_fns() [3/3]

decl_rgb2yuv_fns ( 444  )

◆ ff_multiply3x3_sse2()

void ff_multiply3x3_sse2 ( int16_t *  data[3],
ptrdiff_t  stride,
int  w,
int  h,
const int16_t  coeff[3][3][8] 
)

◆ ff_colorspacedsp_x86_init()

void ff_colorspacedsp_x86_init ( ColorSpaceDSPContext dsp)

Definition at line 79 of file colorspacedsp_init.c.

Referenced by ff_colorspacedsp_init().

w
uint8_t w
Definition: llviddspenc.c:38
decl_yuv2yuv_fn
#define decl_yuv2yuv_fn(t)
Definition: colorspacedsp_init.c:25
ss
#define ss(width, name, subs,...)
Definition: cbs_vp9.c:260
BPP_10
@ BPP_10
Definition: colorspacedsp.h:47
BPP_12
@ BPP_12
Definition: colorspacedsp.h:48
BPP_8
@ BPP_8
Definition: colorspacedsp.h:46
decl_rgb2yuv_fn
#define decl_rgb2yuv_fn(t)
Definition: colorspacedsp_init.c:61
decl_yuv2rgb_fn
#define decl_yuv2rgb_fn(t)
Definition: colorspacedsp_init.c:46
coeff
static const double coeff[2][5]
Definition: vf_owdenoise.c:78
h
h
Definition: vp9dsp_template.c:2038