- //检查
- //printf("检查开始\n\r");
- ret = imcheck(src, dst, src_rect, dst_rect);
- //printf("imcheck_ret:%d\n\r",ret);
- if (IM_STATUS_NOERROR != ret) {
- printf("Rga resize: %d, check error! %s\n", __LINE__, imStrError((IM_STATUS)ret));
- return ;
- }
- //图像缩放
- STATUS = imresize(src, dst,input_params.dst_width/src.width,input_params.dst_height/src.height);
- //STATUS = imresize(src, dst);
- if (STATUS <= 0) {
- printf("Rga resize: resize error for status: %s\n", imStrError(STATUS));
- return ;
- }
复制代码
- Rga resize: resize error for status: Fatal error: Failed to call RockChipRga interface, query log to find the cause of failure.
- resize ===> width: 1920, height: 1080, h_stride: 1920, v_stride: 1088
- RgaBlit(1387) RGA_BLIT fail: Device or resource busy
- RgaBlit(1388) RGA_BLIT fail: Device or resource busy
- fd-vir-phy-hnd-format[0, 0x7f7f010000, (nil), (nil), 0]
- rect[0, 0, 1920, 1088, 1920, 1088, 3584, 0]
- f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
- fd-vir-phy-hnd-format[0, (nil), 0x7f8dbba010, (nil), 0]
- rect[0, 0, 1280, 720, 1280, 720, 3584, 0]
- f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 0]
- 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, 1088, 1920, 1088]
- drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [1280, 720, 1280, 720]
- usage[0x80000]
复制代码
jefferyzhang 发表于 2022-5-7 11:28
看过去像驱动问题,你板子是toybrick的么?什么型号?
lozenyin 发表于 2023-1-9 18:16
我是用的并不是toybrick的板子,目前使用OPI5也出现这种情况。
LeeFree 发表于 2023-4-14 17:57
图像是什么格式的?
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |