W*NBHF
ˢˢˢ'14ˢˢˢ
രʂ
const vImage_Buffer src = {
CVPixelBufferGetBaseAddress(buffer), height, width, bytesPerRow };
const vImage_Buffer dst = {
malloc(bufferSize), height, width, bytesPerRow };
Pixel_8888 backgroundColor = {0,0,0,0};
vImageConvolve_ARGB8888(&src, &dst, NULL, 0, 0,
gaussianKernel, 7, 7, divisor,
backgroundColor, kvImageCopyInPlace);