Home
last modified time | relevance | path

Searched refs:numPlanes (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/src/gpu/
DGrYUVABackendTextures.cpp35 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()
DGrYUVATextureProxies.h45 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function
DGrYUVATextureProxies.cpp32 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies()
74 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies()
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp123 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 …]
DSkYUVAInfoLocation.h30 int* numPlanes = nullptr) {
54 if (numPlanes) {
55 *numPlanes = valid ? maxSlotUsed + 1 : 0;
/third_party/skia/tests/
DYUVTest.cpp49 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()
DYUVCacheTest.cpp70 for (int i = 0; i < yuvaPixmaps.numPlanes(); ++i) { in DEF_TEST()
/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp75 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/
DGrYUVABackendTextures.h55 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/
DGrYUVtoRGBEffect.cpp41 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()
DGrYUVtoRGBEffect.h31 int numPlanes,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp325 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 …]
DvktSparseResourcesShaderIntrinsicsBase.cpp515 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 …]
DvktSparseResourcesMipmapSparseResidency.cpp263 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 …]
DvktSparseResourcesImageSparseBinding.cpp288 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()
DvktSparseResourcesImageSparseResidency.cpp199 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/skia/include/core/
DSkYUVAPixmaps.h122 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/
DvkYCbCrImageWithMemory.cpp43 const deUint32 numPlanes = getPlaneCount(imageCreateInfo.format); in YCbCrImageWithMemory() local
45 bindImagePlanesMemory(vk, device, *m_image, numPlanes, m_allocations, allocator, requirement); in YCbCrImageWithMemory()
DvkMemUtil.cpp375 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/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp151 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()
DvktYCbCrUtil.cpp69 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 …]
DvktYCbCrCopyTests.cpp463 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/
DDDLPromiseImageHelper.cpp153 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp336 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
367 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
369 const vk::VkImageAspectFlags aspect = formatDesc.numPlanes > 1 in uploadYCbCrImage()
396 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
398 const vk::VkImageAspectFlagBits aspect = (formatDesc.numPlanes > 1) in uploadYCbCrImage()
401 const deUint32 planeW = (formatDesc.numPlanes > 1) in uploadYCbCrImage()
404 const deUint32 planeH = (formatDesc.numPlanes > 1) in uploadYCbCrImage()
420 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
422 const vk::VkImageAspectFlags aspect = formatDesc.numPlanes > 1 in uploadYCbCrImage()
1026 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in generateYCbCrImage()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp177 int numPlanes() const { return SkYUVAInfo::NumPlanes(fPlaneConfig); } in numPlanes() function in YUVAPlanarConfig
196 int n = info.numPlanes(); in makeYUVAPixmaps()
839 int numPlanes = create_YUV(planes, format, resultBMs, opaque); in createImages() local
847 numPlanes); in createImages()
1210 for (int i = 0; i < info.numPlanes(); ++i) { in onDraw()
1228 for (int i = 0; i < info.numPlanes(); ++i) { in onDraw()

12