esp-iot-solution 摄像头一直报溢出
Posted: Fri Aug 05, 2022 10:06 am
#define DEMO_FRAME_WIDTH 320
#define DEMO_FRAME_HEIGHT 240
#define DEMO_XFER_BUFFER_SIZE (35 * 1024) //Double buffer
#define DEMO_FRAME_INDEX DESCRIPTOR_FRAME_320_240_INDEX
#define DEMO_FRAME_INTERVAL DESCRIPTOR_FRAME_10FPS_INTERVAL
35k 打印UVC_STREAM: Transfer buffer overflow, gotdata=36172 B报溢出后,我把DEMO_XFER_BUFFER_SIZE 改为40*1024,发现UVC_STREAM: Transfer buffer overflow, gotdata=41280 B这个godata数据也随着DEMO_XFER_BUFFER_SIZE这个变大了,通样的配置这是为啥
#define DEMO_FRAME_HEIGHT 240
#define DEMO_XFER_BUFFER_SIZE (35 * 1024) //Double buffer
#define DEMO_FRAME_INDEX DESCRIPTOR_FRAME_320_240_INDEX
#define DEMO_FRAME_INTERVAL DESCRIPTOR_FRAME_10FPS_INTERVAL
35k 打印UVC_STREAM: Transfer buffer overflow, gotdata=36172 B报溢出后,我把DEMO_XFER_BUFFER_SIZE 改为40*1024,发现UVC_STREAM: Transfer buffer overflow, gotdata=41280 B这个godata数据也随着DEMO_XFER_BUFFER_SIZE这个变大了,通样的配置这是为啥