Searched refs:stride_pixels (Results 1 – 2 of 2) sorted by relevance
772 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local790 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() local884 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()
31 int32_t stride_pixels = (w + 31) & ~31; in CJBig2_Image() local32 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() local48 if (stride_pixels < w || h > kMaxImagePixels / stride_pixels) in CJBig2_Image()