xref: /haiku/src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
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_yuv410p_rgb32_c(AVFrame *in, AVFrame *out, int width,
24 	int height);
25 void gfx_conv_yuv411p_rgb32_c(AVFrame *in, AVFrame *out, int width,
26 	int height);
27 void gfx_conv_YCbCr420p_RGB32_c(AVFrame *in, AVFrame *out, int width,
28 	int height);
29 void gfx_conv_YCbCr422_RGB32_c(AVFrame *in, AVFrame *out, int width,
30 	int height);
31 
32 
33 #endif // _GFX_CONV_C_H
34