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.c786 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local
804 stride_pixels = stride / pixel_size; in test_dmabuf_map()
812 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_dmabuf_map()
841 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
864 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_dmabuf_map()
879 uint32_t stride_pixels = 0; in test_gem_map_tiling() local
898 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
902 pixel[y * stride_pixels + x] = ((y << 16) | x); in test_gem_map_tiling()
919 stride_pixels = stride / pixel_size; in test_gem_map_tiling()
923 CHECK(pixel[y * stride_pixels + x] == ((y << 16) | x)); in test_gem_map_tiling()
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp46 int32_t stride_pixels = FxAlignToBoundary<32>(w); in CJBig2_Image() local
47 if (h > kMaxImagePixels / stride_pixels) in CJBig2_Image()
52 m_nStride = stride_pixels / 8; in CJBig2_Image()
68 int32_t stride_pixels = 8 * stride; in CJBig2_Image() local
69 if (stride_pixels < w || h > kMaxImagePixels / stride_pixels) in CJBig2_Image()