/third_party/skia/src/gpu/ |
D | GrYUVABackendTextures.cpp | 35 int n = yuvaInfo.numPlanes(); in GrYUVABackendTextureInfo() 60 int n = fYUVAInfo.numPlanes(); in operator ==() 70 SkDEBUGCODE(int numPlanes;) in toYUVALocations() 71 SkASSERT(SkYUVAInfo::YUVALocation::AreValidLocations(result, &numPlanes)); in toYUVALocations() 72 SkASSERT(numPlanes == this->numPlanes()); in toYUVALocations() 87 int numPlanes = yuvaInfo.planeDimensions(planeDimensions); in GrYUVABackendTextures() local 88 for (int i = 0; i < numPlanes; ++i) { in GrYUVABackendTextures() 107 SkDEBUGCODE(int numPlanes;) in toYUVALocations() 108 SkASSERT(SkYUVAInfo::YUVALocation::AreValidLocations(result, &numPlanes)); in toYUVALocations() 109 SkASSERT(numPlanes == this->numPlanes()); in toYUVALocations()
|
D | GrYUVATextureProxies.h | 45 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function
|
D | GrYUVATextureProxies.cpp | 32 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies() 74 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies()
|
/third_party/skia/src/core/ |
D | SkYUVAPixmaps.cpp | 123 int numPlanes = yuvaInfo.numPlanes(); in SkYUVAPixmapInfo() local 124 for (int i = 0; i < numPlanes; ++i) { in SkYUVAPixmapInfo() 156 int n = this->numPlanes(); in initPixmapsFromSingleAllocation() 214 int n = result.numPlanes(); in MakeCopy() 244 int numPlanes = yuvaInfo.numPlanes(); in FromExternalPixmaps() local 245 for (int i = 0; i < numPlanes; ++i) { in FromExternalPixmaps() 270 std::copy_n(pixmaps, yuvaInfo.numPlanes(), fPlanes.data()); in SkYUVAPixmaps() 279 int numPlanes = this->numPlanes(); in pixmapsInfo() local 280 for (int i = 0; i < numPlanes; ++i) { in pixmapsInfo() 293 SkDEBUGCODE(int numPlanes;) in toYUVALocations() [all …]
|
D | SkYUVAInfoLocation.h | 30 int* numPlanes = nullptr) { 54 if (numPlanes) { 55 *numPlanes = valid ? maxSlotUsed + 1 : 0;
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 44 int numPlanes; in Make() local 45 SkAssertResult(SkYUVAIndex::AreValidIndices(yuvaIndices, &numPlanes)); in Make() 55 for (int i = 0; i < numPlanes; ++i) { in Make() 63 proxies, scales, filterModes, numPlanes, yuvaIndices, yuvColorSpace, localMatrix, in Make() 232 int numPlanes = src.numTextureSamplers(); local 233 for (int i = 0; i < numPlanes; ++i) { 239 this->setTextureSamplerCnt(numPlanes); 240 for (int i = 0; i < numPlanes; ++i) {
|
D | GrYUVtoRGBEffect.h | 44 const GrSamplerState::Filter filterModes[], int numPlanes, in GrYUVtoRGBEffect() argument 51 for (int i = 0; i < numPlanes; ++i) { 74 this->setTextureSamplerCnt(numPlanes); 75 for (int i = 0; i < numPlanes; ++i) {
|
/third_party/skia/tests/ |
D | YUVTest.cpp | 49 int numPlanes = yuvaPixmapInfo.numPlanes(); in codec_yuv() local 50 REPORTER_ASSERT(reporter, numPlanes <= SkYUVAInfo::kMaxPlanes); in codec_yuv() 51 for (int i = 0; i < numPlanes; ++i) { in codec_yuv() 61 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv() 75 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv()
|
/third_party/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 75 int n = fYUVAProxies.yuvaInfo().numPlanes(); in setupMipmapsForPlanes() 112 size_t numProxies = fYUVAProxies.numPlanes(); in onFlush() 125 for (int i = 0; i < fYUVAProxies.numPlanes(); ++i) { in onTextureSize() 232 int numPlanes = yuvaTextures.yuvaInfo().numPlanes(); in MakeFromYUVATextures() local 234 for (int plane = 0; plane < numPlanes; ++plane) { in MakeFromYUVATextures() 276 int numPlanes = pixmaps.numPlanes(); in MakeFromYUVAPixmaps() local 299 for (int i = 0; i < numPlanes; ++i) { in MakeFromYUVAPixmaps() 310 for (int i = 0; i < numPlanes; ++i) { in MakeFromYUVAPixmaps()
|
/third_party/skia/include/gpu/ |
D | GrYUVABackendTextures.h | 55 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function 106 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function
|
/third_party/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 41 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make() local 55 for (int i = 0; i < numPlanes; ++i) { in Make() 191 numPlanes, in Make() 204 int numPlanes, in GrYUVtoRGBEffect() argument 217 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 221 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 247 int numPlanes = yuvEffect.numChildProcessors(); in onMakeProgramImpl() local 264 for (int planeIdx = 0; planeIdx < numPlanes; ++planeIdx) { in onMakeProgramImpl()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageMemoryAliasing.cpp | 325 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 327 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 458 planeOffsets[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 459 planeRowPitches[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 462 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 474 …std::vector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipL… in iterate() 478 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 480 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 511 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 540 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() [all …]
|
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 515 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 551 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 553 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 752 …std::vector <VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInf… in iterate() 756 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 758 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 791 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 837 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 839 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 875 …std::vector <VkBufferImageCopy> bufferImageResidencyCopy(formatDescription.numPlanes * imageSparse… in iterate() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 263 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 265 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 405 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 409 …std::vector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes*imageSparseInfo.mipLev… in iterate() 413 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 415 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 472 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 474 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 496 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 498 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 288 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 292 …std::vector<VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLe… in iterate() 295 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 297 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 349 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 351 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 372 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 374 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 427 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate()
|
D | vktSparseResourcesImageSparseResidency.cpp | 199 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() 215 if(formatDescription.numPlanes>1) in initPrograms() 423 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 425 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 609 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 611 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNd… in iterate() 694 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 705 std::vector<VkBufferImageCopy> bufferImageCopy (formatDescription.numPlanes); in iterate() 707 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 709 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkImageGenerator.cpp | 51 int numPlanes = 0; in getYUVA8Planes() local 52 SkASSERT(SkYUVAIndex::AreValidIndices(yuvaIndices, &numPlanes)); in getYUVA8Planes() 54 for (int i = 0; i < numPlanes; ++i) { in getYUVA8Planes()
|
/third_party/skia/include/core/ |
D | SkYUVAPixmaps.h | 122 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function 227 int numPlanes() const { return this->isValid() ? fYUVAInfo.numPlanes() : 0; } in numPlanes() function
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkYCbCrImageWithMemory.cpp | 43 const deUint32 numPlanes = getPlaneCount(imageCreateInfo.format); in YCbCrImageWithMemory() local 45 bindImagePlanesMemory(vk, device, *m_image, numPlanes, m_allocations, allocator, requirement); in YCbCrImageWithMemory()
|
D | vkMemUtil.cpp | 375 const deUint32 numPlanes, in bindImagePlanesMemory() argument 382 coreInfos.reserve(numPlanes); in bindImagePlanesMemory() 383 planeInfos.reserve(numPlanes); in bindImagePlanesMemory() 385 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in bindImagePlanesMemory() 411 VK_CHECK(vkd.bindImageMemory2(device, numPlanes, coreInfos.data())); in bindImagePlanesMemory()
|
/third_party/flutter/skia/include/core/ |
D | SkYUVAIndex.h | 49 static bool AreValidIndices(const SkYUVAIndex yuvaIndices[4], int* numPlanes) { in AreValidIndices() 76 *numPlanes = maxSlotUsed + 1; in AreValidIndices()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrStorageImageWriteTests.cpp | 151 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormatForWriting() 239 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 241 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNd… in testStorageImageWrite() 300 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 311 std::vector<VkBufferImageCopy> bufferImageCopy ( formatDescription.numPlanes ); in testStorageImageWrite() 313 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 315 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in testStorageImageWrite() 352 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 635 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() 651 if (formatDescription.numPlanes > 1) in initPrograms()
|
D | vktYCbCrUtil.cpp | 69 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() 78 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() 91 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() 110 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() 136 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateStagingBuffers() 169 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateAndWriteStagingBuffers() 181 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in readStagingBuffers() 273 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillRandom() 314 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillZero() 330 const deUint32 numPlanes = getPlaneCount(format); in allocateAndBindImageMemory() local [all …]
|
D | vktYCbCrCopyTests.cpp | 463 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in genCopies() 465 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in genCopies() 503 …static_cast<vk::VkImageAspectFlags>(srcPlaneInfo.numPlanes > 1 ? vk::getPlaneAspect(srcPlaneNdx) … in genCopies() 515 …static_cast<vk::VkImageAspectFlags>(dstPlaneInfo.numPlanes > 1 ? vk::getPlaneAspect(dstPlaneNdx) … in genCopies() 734 for (deUint32 planeNdx = 0; planeNdx < result.getDescription().numPlanes; ++planeNdx) in imageCopyTest() 777 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in isCopyCompatible() 779 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in isCopyCompatible() 793 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in isCopyCompatible() 805 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in isCopyCompatible()
|
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 153 int numPixmaps = info->yuvaInfo().numPlanes(); in CreateBETexturesForPromiseImage() 196 int numPixmaps = info->yuvaInfo().numPlanes(); in DeleteBETexturesForPromiseImage() 224 int numPixmaps = info.yuvaInfo().numPlanes(); in createCallbackContexts() 330 int textureCount = yuvaInfo.numPlanes(); in CreatePromiseImages()
|