Home
last modified time | relevance | path

Searched refs:pixelMask (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_clear.c78 TYPE pixel, pixelMask; \ in clear_rgba_buffer()
81 _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ in clear_rgba_buffer()
82 pixel &= pixelMask; \ in clear_rgba_buffer()
83 pixelMask = ~pixelMask; \ in clear_rgba_buffer()
89 row[j] = (row[j] & pixelMask) | pixel; \ in clear_rgba_buffer()
105 TYPE pixel[N], pixelMask[N]; \ in clear_rgba_buffer()
109 _mesa_pack_colormask(rb->Format, colorMask, pixelMask); \ in clear_rgba_buffer()
111 pixel[k] &= pixelMask[k]; \ in clear_rgba_buffer()
112 pixelMask[k] = ~pixelMask[k]; \ in clear_rgba_buffer()
121 (row[j * N + k] & pixelMask[k]) | pixel[k]; \ in clear_rgba_buffer()
/external/opencv3/modules/cudalegacy/src/cuda/
DNCVHaarObjectDetection.cu1469 __global__ void growDetectionsKernel(Ncv32u *pixelMask, Ncv32u numElements, in growDetectionsKernel() argument
1479 hypotheses[elemAddr] = pixelToRect(pixelMask[elemAddr], rectWidth, rectHeight, curScale); in growDetectionsKernel()
1483 NCVStatus ncvGrowDetectionsVector_device(NCVVector<Ncv32u> &pixelMask, in ncvGrowDetectionsVector_device() argument
1493 ncvAssertReturn(pixelMask.ptr() != NULL && hypotheses.ptr() != NULL, NCV_NULL_PTR); in ncvGrowDetectionsVector_device()
1495 ncvAssertReturn(pixelMask.memType() == hypotheses.memType() && in ncvGrowDetectionsVector_device()
1496 pixelMask.memType() == NCVMemoryTypeDevice, NCV_MEM_RESIDENCE_ERROR); in ncvGrowDetectionsVector_device()
1503 numPixelMaskDetections <= pixelMask.length() && in ncvGrowDetectionsVector_device()
1527 growDetectionsKernel<<<grid, block, 0, cuStream>>>(pixelMask.ptr(), numDetsToCopy, in ncvGrowDetectionsVector_device()
2068 NCVStatus ncvGrowDetectionsVector_host(NCVVector<Ncv32u> &pixelMask, in ncvGrowDetectionsVector_host() argument
2077 ncvAssertReturn(pixelMask.ptr() != NULL && hypotheses.ptr() != NULL, NCV_NULL_PTR); in ncvGrowDetectionsVector_host()
[all …]
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCVHaarObjectDetection.hpp423 CV_EXPORTS NCVStatus ncvGrowDetectionsVector_device(NCVVector<Ncv32u> &pixelMask,
434 CV_EXPORTS NCVStatus ncvGrowDetectionsVector_host(NCVVector<Ncv32u> &pixelMask,