Firefly开源社区
标题:
about YUV to RGB
[打印本页]
作者:
chengjiejie
时间:
2022-12-21 16:59
标题:
about YUV to RGB
src
=
wrapbuffer_virtualaddr
((
void
*)(
aFrame
->
data
[
0
]),
aFrame
->
width
,
aFrame
->
height
, RK_FORMAT_YCbCr_420_SP);
dst
=
wrapbuffer_virtualaddr
((
void
*)(
aRGBMat
.
data
),
img_width
,
img_height
, RK_FORMAT_RGB_888);
IM_STATUS
istatus
=
imcvtcolor
(
src
,
dst
, RK_FORMAT_YCbCr_420_SP, RK_FORMAT_RGB_888);
//,IM_YUV_TO_RGB_BT709_LIMIT,1
1188 IM_STATUS istatus = imcvtcolor(src, dst, RK_FORMAT_YCbCr_420_SP, RK_FORMAT_RGB_888);//,IM_YUV_TO_RGB_BT709_LIMIT,1
(gdb) n
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[0, 0x7fe8c97000, (nil), 0, 0]
rect[0, 0, 1920, 816, 1920, 816, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7fe97dd040, (nil), 0, 0]
rect[0, 0, 1920, 816, 1920, 816, 512, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
srect[x,y,w,h] = [0, 0, 0, 0] src[w,h,ws,hs] = [1920, 816, 1920, 816]
drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [1920, 816, 1920, 816]
what is the problem for convertion?
tchip_askquestions
CMakeCache.txt
2022-12-21 16:59 上传
点击文件名下载附件
下载积分: 灯泡 -1 , 经验 -1
13.49 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1