This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: image stride_y

Part Number: TDA4VM

HI TI

我有下面的代码,创建一个Image

input_image = vxCreateImage(vxContext, 1440, 704, VX_DF_IMAGE_NV12);

但是在进行数据处理的时候发现,image_addr.stride_y = 1472,这将影响到我进行数据处理,我不理解的是,在nv12图像下,stride_y应该是1440才对

status = vxMapImagePatch(input_image,
&rect,
0,
&map_id,
&image_addr,
&data_ptr,
VX_WRITE_ONLY,
VX_MEMORY_TYPE_HOST,
VX_NOGAP_X);