1#ifdef SDL_LSX_INTRINSICS
2
3#include "yuv_rgb_common.h"
4
5//yuv420 to bgra, lsx implementation
6void yuv420_rgb24_lsx(
7 uint32_t width, uint32_t height,
8 const uint8_t *y, const uint8_t *u, const uint8_t *v, uint32_t y_stride, uint32_t uv_stride,
9 uint8_t *rgb, uint32_t rgb_stride,
10 YCbCrType yuv_type);
11
12void yuv420_rgba_lsx(
13 uint32_t width, uint32_t height,
14 const uint8_t *y, const uint8_t *v, const uint8_t *u, uint32_t y_stride, uint32_t uv_stride,
15 uint8_t *rgb, uint32_t rgb_stride,
16 YCbCrType yuv_type);
17
18void yuv420_bgra_lsx(
19 uint32_t width, uint32_t height,
20 const uint8_t *y, const uint8_t *v, const uint8_t *u, uint32_t y_stride, uint32_t uv_stride,
21 uint8_t *rgb, uint32_t rgb_stride,
22 YCbCrType yuv_type);
23
24void yuv420_argb_lsx(
25 uint32_t width, uint32_t height,
26 const uint8_t *y, const uint8_t *v, const uint8_t *u, uint32_t y_stride, uint32_t uv_stride,
27 uint8_t *rgb, uint32_t rgb_stride,
28 YCbCrType yuv_type);
29
30void yuv420_abgr_lsx(
31 uint32_t width, uint32_t height,
32 const uint8_t *y, const uint8_t *v, const uint8_t *u, uint32_t y_stride, uint32_t uv_stride,
33 uint8_t *rgb, uint32_t rgb_stride,
34 YCbCrType yuv_type);
35
36#endif //SDL_LSX_INTRINSICS
37