OpenVX-sample-impl icon indicating copy to clipboard operation
OpenVX-sample-impl copied to clipboard

vx_scalar that is created by vxCreateScalarWithSize cannot be read

Open lses40311 opened this issue 4 years ago • 0 comments

Hi,

vx_scalar values can be accessed by vxCopyScalarWithSize(...) only.

Either vxWriteScalarValue(...) and vxReadScalarValue(...) does not work with these scalar since they will access the union memory of the struct instead of the data_addr pointer.

Hence, the users have to trace the variables to select the compatible apis even though they are all vx_scalars.

Was this designed in purpose? Thanks!!

lses40311 avatar Jan 06 '22 06:01 lses40311