Home
last modified time | relevance | path

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

/device/generic/vulkan-cereal/stream-servers/compressedTextureFormats/
DAstcCpuDecompressorImpl.cpp41 AstcencContextUniquePtr makeDecoderContext(uint32_t blockWidth, uint32_t blockHeight, in makeDecoderContext() argument
46 astcenc_config_init(ASTCENC_PRF_LDR, blockWidth, blockHeight, 1, ASTCENC_PRE_FASTEST, in makeDecoderContext()
117 std::pair<astcenc_context*, astcenc_error> get(uint32_t blockWidth, uint32_t blockHeight) { in get() argument
118 Value& value = mContexts[{blockWidth, blockHeight}]; in get()
120 value.context = makeDecoderContext(blockWidth, blockHeight, &value.error); in get()
129 uint32_t blockHeight; member
132 return blockWidth == other.blockWidth && blockHeight == other.blockHeight; in operator ==()
145 return k.blockWidth << 8 | k.blockHeight; in operator ()()
222 const uint32_t blockHeight, const uint8_t* astcData, size_t astcDataLength, in decompress() argument
228 auto [context, context_status] = mContextCache->get(blockWidth, blockHeight); in decompress()
DAstcCpuDecompressorNoOp.cpp26 uint32_t blockHeight, const uint8_t* astcData, size_t astcDataLength, in decompress() argument
DAstcCpuDecompressor.h49 uint32_t blockHeight, const uint8_t* astcData,
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLcommon/
DTextureUtils.cpp107 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in getCompressedFormats() argument
156 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in getAstcFormatInfo() argument
158 *width = blockWidth; *height = blockHeight; *srgb = srgbValue; break; \ in getAstcFormatInfo()
170 uint32_t blockWidth, uint32_t blockHeight, uint8_t* outBuffer, in astcDecompress() argument
176 int32_t status = AstcCpuDecompressor::get().decompress(width, height, blockWidth, blockHeight, in astcDecompress()
187 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in isAstcFormat() argument
508 uint32_t blockHeight = 0; in doCompressedTexImage2D() local
510 getAstcFormatInfo(internalformat, &blockWidth, &blockHeight, &srgb); in doCompressedTexImage2D()
520 height, blockWidth, blockHeight, alignedUncompressedData.data(), size); in doCompressedTexImage2D()
841 #define CALL_ON_ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in forEachAstcFormat() argument
/device/generic/vulkan-cereal/stream-servers/vulkan/emulated_textures/
DAstcTexture.cpp67 VkExtent3D imgSize, uint32_t blockWidth, uint32_t blockHeight, in AstcTexture() argument
74 mBlockHeight(blockHeight), in AstcTexture()
DAstcTexture.h28 VkExtent3D imgSize, uint32_t blockWidth, uint32_t blockHeight,