void vxDestructDistribution(vx_reference ref) { vx_distribution distribution = (vx_distribution)ref; vxFreeMemory(distribution->base.context, &distribution->memory); }
void vxDestructConvolution(vx_reference_t *ref) { vx_convolution_t *convolution = (vx_convolution_t *)ref; vxFreeMemory(convolution->base.base.context, &convolution->base.memory); }
void vxDestructArray(vx_reference ref) { vx_array arr = (vx_array)ref; vxFreeMemory(arr->base.context, &arr->memory); }