/external/skia/src/gpu/ganesh/ |
D | GrYUVABackendTextures.cpp | 35 int n = yuvaInfo.numPlanes(); in GrYUVABackendTextureInfo() 61 int n = fYUVAInfo.numPlanes(); in operator ==() 71 SkDEBUGCODE(int numPlanes;) in toYUVALocations() 72 SkASSERT(SkYUVAInfo::YUVALocation::AreValidLocations(result, &numPlanes)); in toYUVALocations() 73 SkASSERT(numPlanes == this->numPlanes()); in toYUVALocations() 88 int numPlanes = yuvaInfo.planeDimensions(planeDimensions); in GrYUVABackendTextures() local 89 for (int i = 0; i < numPlanes; ++i) { in GrYUVABackendTextures() 108 SkDEBUGCODE(int numPlanes;) in toYUVALocations() 109 SkASSERT(SkYUVAInfo::YUVALocation::AreValidLocations(result, &numPlanes)); in toYUVALocations() 110 SkASSERT(numPlanes == this->numPlanes()); in toYUVALocations()
|
D | GrYUVATextureProxies.h | 45 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function
|
D | GrYUVATextureProxies.cpp | 34 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies() 76 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies()
|
/external/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 | 32 int* numPlanes = nullptr) { 56 if (numPlanes) { 57 *numPlanes = valid ? maxSlotUsed + 1 : 0;
|
/external/skia/tests/ |
D | YUVTest.cpp | 64 int numPlanes = yuvaPixmapInfo.numPlanes(); in codec_yuv() local 65 REPORTER_ASSERT(reporter, numPlanes <= SkYUVAInfo::kMaxPlanes); in codec_yuv() 66 for (int i = 0; i < numPlanes; ++i) { in codec_yuv() 76 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv() 90 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv() 161 REPORTER_ASSERT(r, a.numPlanes() == b.numPlanes()); in verify_same() 162 for (int plane = 0; plane < a.numPlanes(); ++plane) { in verify_same()
|
/external/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
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrImageOffsetTests.cpp | 103 const deUint32 numPlanes = getPlaneCount(config.format); in imageOffsetTest() local 107 coreInfos.reserve(numPlanes); in imageOffsetTest() 108 planeInfos.reserve(numPlanes); in imageOffsetTest() 110 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in imageOffsetTest() 138 VK_CHECK(vkd.bindImageMemory2(device, numPlanes, coreInfos.data())); in imageOffsetTest() 142 for (deUint32 i = 0; i < numPlanes; i++) in imageOffsetTest()
|
D | vktYCbCrStorageImageWriteTests.cpp | 122 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormatForWriting() 210 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 212 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNd… in testStorageImageWrite() 271 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 282 std::vector<VkBufferImageCopy> bufferImageCopy ( formatDescription.numPlanes ); in testStorageImageWrite() 284 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 286 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in testStorageImageWrite() 323 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 606 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() 622 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() 299 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillRandom() 344 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillZero() 360 const deUint32 numPlanes = getPlaneCount(format); in allocateAndBindImageMemory() local [all …]
|
D | vktYCbCrCopyTests.cpp | 467 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in genCopies() 469 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in genCopies() 507 …static_cast<vk::VkImageAspectFlags>(srcPlaneInfo.numPlanes > 1 ? vk::getPlaneAspect(srcPlaneNdx) … in genCopies() 519 …static_cast<vk::VkImageAspectFlags>(dstPlaneInfo.numPlanes > 1 ? vk::getPlaneAspect(dstPlaneNdx) … in genCopies() 738 for (deUint32 planeNdx = 0; planeNdx < result.getDescription().numPlanes; ++planeNdx) in imageCopyTest() 781 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in isCopyCompatible() 783 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in isCopyCompatible() 797 for (deUint32 srcPlaneNdx = 0; srcPlaneNdx < srcPlaneInfo.numPlanes; srcPlaneNdx++) in isCopyCompatible() 809 for (deUint32 dstPlaneNdx = 0; dstPlaneNdx < dstPlaneInfo.numPlanes; dstPlaneNdx++) in isCopyCompatible()
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 103 int n = fYUVAProxies.yuvaInfo().numPlanes(); in setupMipmapsForPlanes() 140 size_t numProxies = fYUVAProxies.numPlanes(); in onFlush() 153 for (int i = 0; i < fYUVAProxies.numPlanes(); ++i) { in onTextureSize() 273 int numPlanes = yuvaTextures.yuvaInfo().numPlanes(); in MakeFromYUVATextures() local 275 for (int plane = 0; plane < numPlanes; ++plane) { in MakeFromYUVATextures() 325 int numPlanes = pixmaps.numPlanes(); in MakeFromYUVAPixmaps() local 348 for (int i = 0; i < numPlanes; ++i) { in MakeFromYUVAPixmaps() 359 for (int i = 0; i < numPlanes; ++i) { in MakeFromYUVAPixmaps()
|
/external/skia/src/gpu/ganesh/effects/ |
D | GrYUVtoRGBEffect.cpp | 42 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make() local 56 for (int i = 0; i < numPlanes; ++i) { in Make() 195 numPlanes, in Make() 208 int numPlanes, in GrYUVtoRGBEffect() argument 221 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 225 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 251 int numPlanes = yuvEffect.numChildProcessors(); in onMakeProgramImpl() local 268 for (int planeIdx = 0; planeIdx < numPlanes; ++planeIdx) { in onMakeProgramImpl()
|
/external/deqp/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 | 538 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 574 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 576 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 739 …std::vector <VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInf… in iterate() 743 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 745 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 778 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 824 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 826 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 862 …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 …]
|
/external/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
|
/external/deqp/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 | 409 const deUint32 numPlanes, in bindImagePlanesMemory() argument 416 coreInfos.reserve(numPlanes); in bindImagePlanesMemory() 417 planeInfos.reserve(numPlanes); in bindImagePlanesMemory() 419 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in bindImagePlanesMemory() 445 VK_CHECK(vkd.bindImageMemory2(device, numPlanes, coreInfos.data())); in bindImagePlanesMemory()
|
/external/skia/src/gpu/graphite/ |
D | YUVATextureProxies.h | 38 int numPlanes() const { return fYUVAInfo.numPlanes(); } in numPlanes() function
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageCompressionControlTests.cpp | 108 const int numPlanes = isYCbCr ? getPlaneCount(testParams.format) : 1; in validate() local 109 for (int planeIndex = 0; planeIndex < numPlanes; planeIndex++) in validate() 331 …const uint32_t numPlanes = isYCbCrFormat(testParams.format) ? getPlaneCount(testParams.forma… in ahbImageCreateTest() local 333 testParams.control.compressionControlPlaneCount = is_fixed_rate_ex ? numPlanes : 0; in ahbImageCreateTest() 345 testParams.control.compressionControlPlaneCount = numPlanes; in ahbImageCreateTest() 476 …const uint32_t numPlanes = isYCbCrFormat(testParams.format) ? getPlaneCount(testParams.format) : 1; in addImageCompressionControlTests() local 477 testParams.control.compressionControlPlaneCount = is_fixed_rate_ex ? numPlanes : 0; in addImageCompressionControlTests() 668 …const uint32_t numPlanes = isYCbCrFormat(testParams.format) ? getPlaneCount(testParams.format) : 1; in swapchainCreateTest() local 669 testParams.control.compressionControlPlaneCount = is_fixed_rate_ex ? numPlanes : 0; in swapchainCreateTest()
|
/external/v4l2_codec2/common/ |
D | VideoPixelFormat.cpp | 183 size_t numPlanes(VideoPixelFormat format) { in numPlanes() function 225 for (size_t i = 0; i < numPlanes(format); ++i) { in allocationSize() 314 ALOG_ASSERT(numPlanes(format) <= static_cast<size_t>(kMaxPlanes)); in isValidPlane() 315 return plane < numPlanes(format); in isValidPlane()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 155 int numPixmaps = info->yuvaInfo().numPlanes(); in CreateBETexturesForPromiseImage() 199 int numPixmaps = info->yuvaInfo().numPlanes(); in DeleteBETexturesForPromiseImage() 227 int numPixmaps = info.yuvaInfo().numPlanes(); in createCallbackContexts() 333 int textureCount = yuvaInfo.numPlanes(); in CreatePromiseImages()
|