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