调用VPC功能接口返回0xA0078003,即HI_ERR_VPC_ILLEGAL_PARAM,参数超出合法范围。查看日志有类似如下报错信息,不同版本的报错日志可能存在差别:
resize width (224) is greater than output width (120)
或
width should be in [10, 32768], width is 654321
crop width 120 cannot be greater than input width 100
resize interpolation [8] is not supported
或
flip mode[5] not supported, support mode [0, 1, 2]
buffer size(50176) is smaller than need buffer size(95264) when format is 1
或
buffer size(50176) is smaller than need buffer size(95264) when format is 1
on device 0, num 0 input addr (start 0x100020003000 end 0x100020004000) is illegal
或
buffer address is null
crop width[300] or height[300] is greater than input width[224] or height[224]
针对上面日志信息分析,可能存在以下对应原因:
根据提示的错误信息进行修改: