Home
last modified time | relevance | path

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

/third_party/flutter/skia/tests/
DImageGeneratorTest.cpp65 SkYUVASizeInfo sizeInfo; in DEF_TEST() local
66 sizeInfo.fSizes[0] = SkISize::Make(200, 200); in DEF_TEST()
67 sizeInfo.fSizes[1] = SkISize::Make(100, 100); in DEF_TEST()
68 sizeInfo.fSizes[2] = SkISize::Make( 50, 50); in DEF_TEST()
69 sizeInfo.fSizes[3] = SkISize::Make( 25, 25); in DEF_TEST()
70 sizeInfo.fWidthBytes[0] = 0; in DEF_TEST()
71 sizeInfo.fWidthBytes[1] = 0; in DEF_TEST()
72 sizeInfo.fWidthBytes[2] = 0; in DEF_TEST()
73 sizeInfo.fWidthBytes[3] = 0; in DEF_TEST()
79 ig.queryYUVA8(&sizeInfo, yuvaIndices, nullptr); in DEF_TEST()
[all …]
/third_party/flutter/skia/src/core/
DSkImageGenerator.cpp33 bool SkImageGenerator::queryYUVA8(SkYUVASizeInfo* sizeInfo, in queryYUVA8() argument
36 SkASSERT(sizeInfo); in queryYUVA8()
38 return this->onQueryYUVA8(sizeInfo, yuvaIndices, colorSpace); in queryYUVA8()
41 bool SkImageGenerator::getYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in getYUVA8Planes() argument
46 SkASSERT(sizeInfo.fSizes[i].fWidth >= 0); in getYUVA8Planes()
47 SkASSERT(sizeInfo.fSizes[i].fHeight >= 0); in getYUVA8Planes()
48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
58 return this->onGetYUVA8Planes(sizeInfo, yuvaIndices, planes); in getYUVA8Planes()
/third_party/flutter/skia/include/codec/
DSkCodec.h380 bool queryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument
381 if (nullptr == sizeInfo) { in queryYUV8()
385 bool result = this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
388 SkASSERT(sizeInfo->fSizes[i].fWidth > 0 && sizeInfo->fSizes[i].fHeight > 0 && in queryYUV8()
389 sizeInfo->fWidthBytes[i] > 0); in queryYUV8()
391 SkASSERT(!sizeInfo->fSizes[3].fWidth && in queryYUV8()
392 !sizeInfo->fSizes[3].fHeight && in queryYUV8()
393 !sizeInfo->fWidthBytes[3]); in queryYUV8()
408 Result getYUV8Planes(const SkYUVASizeInfo& sizeInfo, void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUV8Planes() argument
418 return this->onGetYUV8Planes(sizeInfo, planes); in getYUV8Planes()
/third_party/flutter/skia/src/codec/
DSkJpegCodec.cpp842 bool SkJpegCodec::onQueryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8() argument
850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8()
851 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8()
855 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8()
857 sizeInfo->fOrigin = this->getOrigin(); in onQueryYUV8()
866 SkCodec::Result SkJpegCodec::onGetYUV8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUV8Planes() argument
873 sizeInfo.fSizes[0] != defaultInfo.fSizes[0] || in onGetYUV8Planes()
874 sizeInfo.fSizes[1] != defaultInfo.fSizes[1] || in onGetYUV8Planes()
875 sizeInfo.fSizes[2] != defaultInfo.fSizes[2] || in onGetYUV8Planes()
876 sizeInfo.fWidthBytes[0] < defaultInfo.fWidthBytes[0] || in onGetYUV8Planes()
[all …]
DSkCodecImageGenerator.cpp69 bool SkCodecImageGenerator::onQueryYUVA8(SkYUVASizeInfo* sizeInfo, in onQueryYUVA8() argument
82 return fCodec->queryYUV8(sizeInfo, colorSpace); in onQueryYUVA8()
85 bool SkCodecImageGenerator::onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUVA8Planes() argument
88 SkCodec::Result result = fCodec->getYUV8Planes(sizeInfo, planes); in onGetYUVA8Planes()
DSkJpegCodec.h47 bool onQueryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
49 Result onGetYUV8Planes(const SkYUVASizeInfo& sizeInfo,
/third_party/flutter/skia/src/gpu/
DGrYUVProvider.h68 virtual bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo,
83 virtual bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
/third_party/flutter/skia/include/core/
DSkImageGenerator.h94 bool queryYUVA8(SkYUVASizeInfo* sizeInfo,
110 bool getYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
/third_party/flutter/skia/src/image/
DSkImage_Lazy.cpp365 bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo, in onQueryYUVA8() argument
368 return fGen->queryYUVA8(sizeInfo, yuvaIndices, colorSpace); in onQueryYUVA8()
370 bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUVA8Planes() argument
373 return fGen->getYUVA8Planes(sizeInfo, yuvaIndices, planes); in onGetYUVA8Planes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderFConvertTests.cpp353 BufferSizeInfo sizeInfo = BufferSizeInfo::calculate<T>(values.size(), vectorLength); in packFloats() local
355 std::vector<deUint8> memory(sizeInfo.memorySizeBytes); in packFloats()
356 for (size_t i = 0; i < sizeInfo.totalVectors; ++i) in packFloats()
358 T* vectorPtr = reinterpret_cast<T*>(memory.data() + sizeInfo.vectorStrideBytes * i); in packFloats()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp1066 VkAccelerationStructureBuildSizesInfoKHR sizeInfo = in create() local
1075 …ce, m_buildType, &accelerationStructureBuildGeometryInfoKHR, maxPrimitiveCounts.data(), &sizeInfo); in create()
1077 m_structureSize = sizeInfo.accelerationStructureSize; in create()
1078 m_updateScratchSize = sizeInfo.updateScratchSize; in create()
1079 m_buildScratchSize = sizeInfo.buildScratchSize; in create()
1907 VkAccelerationStructureBuildSizesInfoKHR sizeInfo = in create() local
1916 …ce, m_buildType, &accelerationStructureBuildGeometryInfoKHR, maxPrimitiveCounts.data(), &sizeInfo); in create()
1918 m_structureSize = sizeInfo.accelerationStructureSize; in create()
1919 m_updateScratchSize = sizeInfo.updateScratchSize; in create()
1920 m_buildScratchSize = sizeInfo.buildScratchSize; in create()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_raii.hpp13914 VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR sizeInfo; in getAccelerationStructureBuildSizesKHR() local
13920 reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); in getAccelerationStructureBuildSizesKHR()
13921 return sizeInfo; in getAccelerationStructureBuildSizesKHR()
Dvulkan_funcs.hpp14165 VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR sizeInfo; in getAccelerationStructureBuildSizesKHR() local
14171 reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); in getAccelerationStructureBuildSizesKHR()
14172 return sizeInfo; in getAccelerationStructureBuildSizesKHR()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_raii.hpp15157 VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR sizeInfo; in getAccelerationStructureBuildSizesKHR() local
15163 reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); in getAccelerationStructureBuildSizesKHR()
15164 return sizeInfo; in getAccelerationStructureBuildSizesKHR()
Dvulkan_funcs.hpp14306 VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR sizeInfo; in getAccelerationStructureBuildSizesKHR() local
14312 reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); in getAccelerationStructureBuildSizesKHR()
14313 return sizeInfo; in getAccelerationStructureBuildSizesKHR()