int width[2] = {672, 2560}
int height[2] = {672, 1080}
sp_open_camera(camera, 0, -1, 2, width, height);
// 错误记录见附件
// sensor, imx219
https://developer.horizon.cc/documents\_rdk/clang\_development/cdev\_multimedia\_api\_x3/vio\_api
int width[2] = {672, 2560}
int height[2] = {672, 1080}
sp_open_camera(camera, 0, -1, 2, width, height);
// 错误记录见附件
// sensor, imx219
https://developer.horizon.cc/documents\_rdk/clang\_development/cdev\_multimedia\_api\_x3/vio\_api
注意width和height需要保持源尺寸的纵横比,在你上传的图片中源图片尺寸是1920x1080,那么如果width为[672,2560],那么height为[378,1440]
你好,完整的代码还有log日志帮忙提供下