Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/compressedTextureFormats/
DAstcCpuDecompressorImpl.cpp42 AstcencContextUniquePtr makeDecoderContext(uint32_t blockWidth, uint32_t blockHeight, in makeDecoderContext() argument
47 astcenc_config_init(ASTCENC_PRF_LDR, blockWidth, blockHeight, 1, ASTCENC_PRE_FASTEST, in makeDecoderContext()
122 std::pair<astcenc_context*, astcenc_error> get(uint32_t blockWidth, uint32_t blockHeight) { in get() argument
123 Value& value = mContexts[{blockWidth, blockHeight}]; in get()
125 value.context = makeDecoderContext(blockWidth, blockHeight, &value.error); in get()
133 uint32_t blockWidth; member
137 return blockWidth == other.blockWidth && blockHeight == other.blockHeight; in operator ==()
150 return k.blockWidth << 8 | k.blockHeight; in operator ()()
226 int32_t decompress(const uint32_t imgWidth, const uint32_t imgHeight, const uint32_t blockWidth, in decompress() argument
233 auto [context, context_status] = mContextCache->get(blockWidth, blockHeight); in decompress()
DAstcCpuDecompressorNoOp.cpp25 int32_t decompress(uint32_t imgWidth, uint32_t imgHeight, uint32_t blockWidth, in decompress() argument
DAstcCpuDecompressor.h48 virtual int32_t decompress(uint32_t imgWidth, uint32_t imgHeight, uint32_t blockWidth,
/hardware/google/gfxstream/host/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
507 uint32_t blockWidth = 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
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DAstcTexture.h28 VkExtent3D imgSize, uint32_t blockWidth, uint32_t blockHeight,
DAstcTexture.cpp67 VkExtent3D imgSize, uint32_t blockWidth, uint32_t blockHeight, in AstcTexture() argument
73 mBlockWidth(blockWidth), in AstcTexture()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dcopies.adoc463 {empty}:: [eq]#x# is in the range [eq]#[pname:imageOffset.x / blockWidth,
465 blockWidth{rceil})#,
477 and where [eq]#blockWidth#, [eq]#blockHeight#, and [eq]#blockDepth# are the
484 {empty}:: [eq]#[x {times} blockWidth, max( (x {times} blockWidth) {plus}
485 blockWidth, imageWidth) )#
503 {lceil}pname:imageExtent.width / blockWidth{rceil} {times}
520 {empty}:: [eq]#blockWidth' = blockWidth#
529 blockWidth, {lceil}(pname:imageOffset.y {plus}
530 pname:imageExtent.width) / blockWidth{rceil})#
531 {empty}:: [eq]#blockWidth' = blockHeight#
[all …]
Dtextures.adoc3563 … {l_{blockHeight-1}}}\quad \sum_{{i=i_0}\atop {k=k_0}}^{i_{blockWidth-1} \atop {k_{blockWidth-1}}}…
3670 latexmath:[i_{blockWidth-1}] and latexmath:[j_{0}] to
3672 The set is of size latexmath:[blockWidth \times blockHeight].
3677 \{i_q\}_{q=0}^{q=blockWidth-1} \quad &= i_{0} + q \\[1em]
3682 where latexmath:[blockWidth] and latexmath:[blockHeight] is specified by the
3696 \{k_q\}_{q=0}^{q=blockWidth-1} \quad &= k_{0} + q \\[1em]
3719 …l_{blockHeight-1}}} \quad\sum_{{i=i_0} \atop {k=k_0}}^{{i_{blockWidth-1}} \atop {k_{blockWidth-1}}…
3728 …l_{blockHeight-1}}} \quad\sum_{{i=i_0} \atop {k=k_0}}^{{i_{blockWidth-1}} \atop {k_{blockWidth-1}}…