Home
last modified time | relevance | path

Searched refs:blockHeight (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()
134 uint32_t blockHeight; member
137 return blockWidth == other.blockWidth && blockHeight == other.blockHeight; in operator ==()
150 return k.blockWidth << 8 | k.blockHeight; in operator ()()
227 const uint32_t blockHeight, const uint8_t* astcData, size_t astcDataLength, in decompress() argument
233 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,
/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
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
/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
74 mBlockHeight(blockHeight), in AstcTexture()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dcopies.adoc466 {empty}:: [eq]#y# is in the range [eq]#[pname:imageOffset.y / blockHeight,
468 blockHeight{rceil})#,
477 and where [eq]#blockWidth#, [eq]#blockHeight#, and [eq]#blockDepth# are the
486 {empty}:: [eq]#[y {times} blockHeight, max( (y {times} blockHeight) {plus}
487 blockHeight, imageHeight) )#
521 {empty}:: [eq]#blockHeight' = blockHeight#
526 {minus} pname:imageExtent.height) / blockHeight{rceil},
527 pname:imageOffset.x {minus} image/ blockHeight)#
531 {empty}:: [eq]#blockWidth' = blockHeight#
532 {empty}:: [eq]#blockHeight' = blockWidth#
[all …]
Dtextures.adoc3563 \tau_{weightSampling} &= \sum_{{j=j_0} \atop {l=l_0}}^{j_{blockHeight-1} \atop {l_{blockHeight-1}}}…
3671 latexmath:[j_{blockHeight-1}].
3672 The set is of size latexmath:[blockWidth \times blockHeight].
3678 \{j_q\}_{q=0}^{q=blockHeight-1} \quad &= j_{0} + q
3682 where latexmath:[blockWidth] and latexmath:[blockHeight] is specified by the
3697 \{l_q\}_{q=0}^{q=blockHeight-1} \quad &= l_{0} + q
3719 \tau_{SAD} &= \sum_{{j=j_0} \atop {l=l_0}}^{{j_{blockHeight-1}} \atop {l_{blockHeight-1}}} \quad\su…
3728 \tau_{SSD} &= \sum_{{j=j_0} \atop {l=l_0}}^{{j_{blockHeight-1}} \atop {l_{blockHeight-1}}} \quad\su…