Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/vulkan/emulated_textures/
DCompressedImageInfo.cpp32 inline constexpr uint32_t ceil_div(uint32_t x, uint32_t y) { return (x + y - 1) / y; } in ceil_div() function
208 return ceil_div(offset, alignment) * alignment; in nextAlignedOffset()
780 vk->vkCmdDispatch(commandBuffer, ceil_div(extent.width, 8), ceil_div(extent.height, 8), in decompress()
795 result.width = ceil_div(result.width, mBlock.width); in compressedMipmapExtent()
796 result.height = ceil_div(result.height, mBlock.height); in compressedMipmapExtent()
804 .width = std::min(ceil_div(origExtent.width, mBlock.width), maxExtent.width), in compressedMipmapPortion()
805 .height = std::min(ceil_div(origExtent.height, mBlock.height), maxExtent.height), in compressedMipmapPortion()