xref: /haiku/src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h (revision 03187b607b2b5eec7ee059f1ead09bdba14991fb)
1 #ifndef _GFX_CONV_MMX_H
2 #define _GFX_CONV_MMX_H
3 
4 // BeOS and libavcodec bitmap formats
5 #include <GraphicsDefs.h>
6 #include "libavcodec/avcodec.h"
7 
8 bool IsMmxCpu();
9 
10 void gfx_conv_null_mmx(AVFrame *in, AVFrame *out, int width, int height);
11 
12 void gfx_conv_yuv410p_ycbcr422_mmx(AVFrame *in, AVFrame *out, int width, int height);
13 void gfx_conv_yuv411p_ycbcr422_mmx(AVFrame *in, AVFrame *out, int width, int height);
14 void gfx_conv_yuv420p_ycbcr422_mmx(AVFrame *in, AVFrame *out, int width, int height);
15 
16 void gfx_conv_yuv410p_rgb32_mmx(AVFrame *in, AVFrame *out, int width, int height);
17 void gfx_conv_yuv411p_rgb32_mmx(AVFrame *in, AVFrame *out, int width, int height);
18 void gfx_conv_yuv420p_rgb32_mmx(AVFrame *in, AVFrame *out, int width, int height);
19 
20 #endif
21