Software Version
DRIVE OS 6.0.9.0
我使用nvmimg_2d实现YUV420p转BGRA格式的功能,使用如下配置进行转化,但是最终的结果出现色彩与原图不匹配的现象,其中下图input.png为输入
下图output.png为输出,
配置文件内容如下
SrcLayer1InputFile = nemo_220x176.yuv
SrcLayer1Layout = PitchLinear
SrcLayer1ScanType = Progressive
SrcLayer1Plane1ColorFormat = Y8
SrcLayer1Plane1Width = 220
SrcLayer1Plane1Height = 176
SrcLayer1Plane2ColorFormat = U8
SrcLayer1Plane2Width = 110
SrcLayer1Plane2Height = 88
SrcLayer1Plane3ColorFormat = V8
SrcLayer1Plane3Width = 110
SrcLayer1Plane3Height = 88
SrcLayer1Transform = FlipVertical
DstOutputFile = output_flip_vertical_bgr2.bgr
DstLayout = PitchLinear
DstScanType = Progressive
DstPlane1ColorFormat = B8G8R8A8
DstPlane1Width = 220
DstPlane1Height = 176
请问是缺少什么cfg导致的色彩异常吗?

