xref: /haiku/src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h (revision e661df29804f2703a65e23f5789c3c87c0915298)
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 
34 
35 #endif // _GFX_CONV_C_H
36