Home
last modified time | relevance | path

Searched refs:stride_pixels (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c772 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local
790 stride_pixels = stride / pixel_size; in test_dmabuf_map()
798 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_dmabuf_map()
827 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
850 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
865 uint32_t stride_pixels = 0; in test_gem_map_tiling() local
884 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
888 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_gem_map_tiling()
905 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
909 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_gem_map_tiling()
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp31 int32_t stride_pixels = (w + 31) & ~31; in CJBig2_Image() local
32 if (h > kMaxImagePixels / stride_pixels) in CJBig2_Image()
37 m_nStride = stride_pixels / 8; in CJBig2_Image()
47 int32_t stride_pixels = 8 * stride; in CJBig2_Image() local
48 if (stride_pixels < w || h > kMaxImagePixels / stride_pixels) in CJBig2_Image()