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.c604 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local
622 stride_pixels = stride / pixel_size; in test_dmabuf_map()
630 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_dmabuf_map()
659 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
682 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
697 uint32_t stride_pixels = 0; in test_gem_map_tiling() local
716 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
720 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_gem_map_tiling()
737 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
741 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_gem_map_tiling()
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp51 int32_t stride_pixels = FxAlignToBoundary<32>(w); in CJBig2_Image() local
52 if (h > kMaxImagePixels / stride_pixels) in CJBig2_Image()
57 m_nStride = stride_pixels / 8; in CJBig2_Image()
73 int32_t stride_pixels = 8 * stride; in CJBig2_Image() local
74 if (stride_pixels < w || h > kMaxImagePixels / stride_pixels) in CJBig2_Image()