Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcToRgb.comp10 uvec2 blockSize;
22 uvec2 blockPos = texelPos / u_pushConstant.blockSize;
23 uvec2 posInBlock = texelPos % u_pushConstant.blockSize;
26 astcDecoderInitialize(astcBlock, u_pushConstant.blockSize);
DAstc.comp30 uvec2 blockSize;
516 for (int h = 0; h < u_pushConstant.blockSize.y; h++) {
517 for (int w = 0; w < u_pushConstant.blockSize.x; w++) {
518 ret[h * u_pushConstant.blockSize.x + w] = color;
598 if (width > u_pushConstant.blockSize.x || height > u_pushConstant.blockSize.y) {
834 uvec2 dst = (1024 + u_pushConstant.blockSize / 2) / (u_pushConstant.blockSize - 1);
836 for (uint h = 0; h < u_pushConstant.blockSize.y; h++) {
837 for (uint w = 0; w < u_pushConstant.blockSize.x; w++) {
841 ret[h * u_pushConstant.blockSize.x + w] = uvec4(0xff, 0, 0xff, 0xff);
869 ret[h * u_pushConstant.blockSize.x + w] = c;
[all …]
DAstcDecompressor.glsl8 // astcDecoderInitialize(astcBlock, blockSize);
58 uvec2 blockSize; // Size of the ASTC block
62 uvec2 weightGridSize; // Width and height of the weight grid. Always <= blockSize.
82 blockSize = blockSize_;
144 if (any(greaterThan(weightGridSize, blockSize))) {
356 uvec2 scaleFactor = (1024 + blockSize / 2) / (blockSize - 1);
394 if (blockSize.x * blockSize.y < 31) {
DAstcNew.comp8 // astcDecoderInitialize(astcBlock, blockSize);
58 uvec2 blockSize; // Size of the ASTC block
62 uvec2 weightGridSize; // Width and height of the weight grid. Always <= blockSize.
82 blockSize = blockSize_;
144 if (any(greaterThan(weightGridSize, blockSize))) {
356 uvec2 scaleFactor = (1024 + blockSize / 2) / (blockSize - 1);
394 if (blockSize.x * blockSize.y < 31) {
DAstcToBc3.comp80 uvec2 blockSize;
88 uvec2 blockPos = texelPos / u_pushConstant.blockSize;
89 uvec2 posInBlock = texelPos % u_pushConstant.blockSize;
92 astcDecoderInitialize(astcBlock, u_pushConstant.blockSize);
/hardware/nxp/keymint/KM300/
DJavacardKeyMintOperation.cpp139 void JavacardKeyMintOperation::blockAlign(DataView& view, uint16_t blockSize) { in blockAlign() argument
141 uint16_t offset = getDataViewOffset(view, blockSize); in blockAlign()
161 uint16_t JavacardKeyMintOperation::getDataViewOffset(DataView& view, uint16_t blockSize) { in getDataViewOffset() argument
167 offset = ((view.length / blockSize)) * blockSize; in getDataViewOffset()
168 remaining = (view.length % blockSize); in getDataViewOffset()
169 if (offset >= blockSize && remaining == 0) { in getDataViewOffset()
170 offset -= blockSize; in getDataViewOffset()
175 offset = ((view.length / blockSize)) * blockSize; in getDataViewOffset()
DJavacardKeyMintOperation.h142 void blockAlign(DataView& data, uint16_t blockSize);
143 uint16_t getDataViewOffset(DataView& view, uint16_t blockSize);
/hardware/nxp/keymint/KM200/
DJavacardKeyMintOperation.cpp132 void JavacardKeyMintOperation::blockAlign(DataView& view, uint16_t blockSize) { in blockAlign() argument
134 uint16_t offset = getDataViewOffset(view, blockSize); in blockAlign()
154 uint16_t JavacardKeyMintOperation::getDataViewOffset(DataView& view, uint16_t blockSize) { in getDataViewOffset() argument
160 offset = ((view.length / blockSize)) * blockSize; in getDataViewOffset()
161 remaining = (view.length % blockSize); in getDataViewOffset()
162 if (offset >= blockSize && remaining == 0) { in getDataViewOffset()
163 offset -= blockSize; in getDataViewOffset()
168 offset = ((view.length / blockSize)) * blockSize; in getDataViewOffset()
DJavacardKeyMintOperation.h119 void blockAlign(DataView& data, uint16_t blockSize);
120 uint16_t getDataViewOffset(DataView& view, uint16_t blockSize);
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DGpuDecompressionPipeline.h38 uint32_t blockSize[2]; member
DCompressedImageInfo.cpp767 .blockSize = {mBlock.width, mBlock.height}, in decompress()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/xml/
Dregistry.rnc541 # blockSize - Used for 'Compatible Formats' table
551 attribute blockSize { text } ,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_QCOM_image_processing.adoc216 | uvec2 blockSize) | images. The error metric is the Sum of |
224 | uvec2 blockSize) | images. The error metric is the Sum of |
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dcopies.adoc495 offsets in the range [eq]#[texelOffset, texelOffset {plus} blockSize)#,
499 blockSize) {plus} (y {times} rowExtent) {plus} (z {times}
501 {empty}:: [eq]#blockSize# is the size of the block in bytes for the format
504 blockSize)#
Dtextures.adoc3603 The code:blockSize specifies the integer width and height of the target and
3683 code:blockSize operand.
Ddevsandqueues.adoc1090 pname:height) that can: be specified for code:blockSize in
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_format_traits.hpp107 VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize( VULKAN_HPP_NAMESPACE::Format format ) in blockSize() function
Dvulkan_format_traits.hpp115 VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize( VULKAN_HPP_NAMESPACE::Format format ) in blockSize() function
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/
Dregistry.adoc1860 * attr:blockSize - required.
1905 <format name="VK_FORMAT_G16_B16R16_2PLANE_420_UNORM" class="16-bit 2-plane 420" blockSize="6" texel…