blob: 16ef745c07186e10896fac6f8649873e11d181bd
1 | #ifndef __UTIL_H |
2 | #define __UTIL_H |
3 | |
4 | #ifdef __cplusplus |
5 | extern "C" { |
6 | #endif |
7 | |
8 | void yuyv422_to_rgb24(unsigned char *buf, unsigned char *rgb, int width, int height); |
9 | void nv21_to_rgb24(unsigned char *buf, unsigned char *rgb, int width, int height); |
10 | void nv21_memcpy_align32(unsigned char *dst, unsigned char *src, int width, int height); |
11 | void yv12_memcpy_align32(unsigned char *dst, unsigned char *src, int width, int height); |
12 | |
13 | #ifdef __cplusplus |
14 | } |
15 | #endif |
16 | |
17 | #endif |
18 |