- 2022-04-06 14:35:57.058 3631-3658/com.tencent.yolov5 E/ion: ioctl c0044901 failed with code -1: Inappropriate ioctl for device
- 2022-04-06 14:35:57.068 3631-3658/com.tencent.yolov5 A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x90 in tid 3658 (ImageReader-640), pid 3631 (.tencent.yolov5)
复制代码
- int32_t y_pixelStride = 0;
- int32_t u_pixelStride = 0;
- int32_t v_pixelStride = 0;
- AImage_getPlanePixelStride(image, 0, &y_pixelStride); //错误定位在这里
- AImage_getPlanePixelStride(image, 1, &u_pixelStride);
- AImage_getPlanePixelStride(image, 2, &v_pixelStride);
复制代码
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |