xref: /haiku/src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 #ifndef _GFX_CONV_C_H
2 #define _GFX_CONV_C_H
3 
4 
5 #include <GraphicsDefs.h>
6 
7 extern "C" {
8 	#include "libavcodec/avcodec.h"
9 }
10 
11 
12 void gfx_conv_null(AVFrame *in, AVFrame *out, int width, int height);
13 
14 
15 void gfx_conv_yuv410p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
16 	int height);
17 void gfx_conv_yuv411p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
18 	int height);
19 void gfx_conv_yuv420p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
20 	int height);
21 
22 
23 void gfx_conv_yuv420p10le_rgb32_c(AVFrame *in, AVFrame *out, int width,
24 	int height);
25 void gfx_conv_yuv410p_rgb32_c(AVFrame *in, AVFrame *out, int width,
26 	int height);
27 void gfx_conv_yuv411p_rgb32_c(AVFrame *in, AVFrame *out, int width,
28 	int height);
29 void gfx_conv_YCbCr420p_RGB32_c(AVFrame *in, AVFrame *out, int width,
30 	int height);
31 void gfx_conv_YCbCr422_RGB32_c(AVFrame *in, AVFrame *out, int width,
32 	int height);
33 void gfx_conv_GBRP_RGB32_c(AVFrame *in, AVFrame *out, int width,
34 	int height);
35 
36 
37 #endif // _GFX_CONV_C_H
38