package: starfive: v4l2_test: Add ayuv to nv12

Add ayuv to nv12.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
This commit is contained in:
Changhuang Liang
2023-06-27 14:54:41 +08:00
parent 4e6c0bc9d0
commit 434bff4603
4 changed files with 81 additions and 2 deletions
+1
View File
@@ -16,6 +16,7 @@ extern int convert_yuyv_to_rgb(const uint8_t *inBuf, uint8_t *outBuf, int imgWid
extern int convert_yuv444_to_rgb(uint8_t *inBuf, uint8_t *outBuf, int imgWidth, int imgHeight, int cvtMethod);
extern int convert_rgb565_to_rgb(const uint8_t *inBuf, uint8_t *outBuf, int imgWidth, int imgHeight, int cvtMethod);
extern int convert_rgb888_to_rgb(const uint8_t *inBuf, uint8_t *outBuf, int imgWidth, int imgHeight, int cvtMethod);
extern int convert_ayuv32_to_nv12(const uint8_t *inBuf, uint8_t *outBuf, int imgWidth, int imgHeight);
extern void update_videocvt_param(int distype, int scr_width, int scr_height,
int scr_bpp, int scr_size);