/external/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()
|
/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 | 30 int* numPlanes = nullptr) { 54 if (numPlanes) { 55 *numPlanes = valid ? maxSlotUsed + 1 : 0;
|
/external/skqp/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 35 int numPlanes; in Make() local 36 SkAssertResult(SkYUVAIndex::AreValidIndices(yuvaIndices, &numPlanes)); in Make() 46 for (int i = 0; i < numPlanes; ++i) { in Make() 66 proxies, scales, filterModes, numPlanes, yuvaIndices, mat)); in Make() 197 int numPlanes = src.numTextureSamplers(); in GrYUVtoRGBEffect() local 198 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 204 this->setTextureSamplerCnt(numPlanes); in GrYUVtoRGBEffect() 205 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect()
|
D | GrYUVtoRGBEffect.h | 37 const GrSamplerState::Filter filterModes[], int numPlanes, in GrYUVtoRGBEffect() argument 41 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 49 this->setTextureSamplerCnt(numPlanes); in GrYUVtoRGBEffect() 50 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect()
|
/external/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()
|
/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/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 75 int n = fYUVAProxies.yuvaInfo().numPlanes(); in setupMipmapsForPlanes() 111 size_t numProxies = fYUVAProxies.numPlanes(); in onFlush() 124 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()
|
/external/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 40 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make() local 54 for (int i = 0; i < numPlanes; ++i) { in Make() 172 numPlanes, in Make() 185 int numPlanes, in GrYUVtoRGBEffect() argument 198 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 202 for (int i = 0; i < numPlanes; ++i) { in GrYUVtoRGBEffect() 230 int numPlanes = yuvEffect.numChildProcessors(); in onMakeProgramImpl() local 247 for (int planeIdx = 0; planeIdx < numPlanes; ++planeIdx) { in onMakeProgramImpl()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 506 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 542 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 544 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 715 …std::vector <VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInf… in iterate() 719 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 721 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 754 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 800 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 802 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 838 …std::vector <VkBufferImageCopy> bufferImageResidencyCopy(formatDescription.numPlanes * imageSparse… in iterate() [all …]
|
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 | 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/skqp/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()
|
/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 | 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()
|
/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/skqp/include/core/ |
D | SkYUVAIndex.h | 60 static bool AreValidIndices(const SkYUVAIndex yuvaIndices[4], int* numPlanes) { in AreValidIndices() 87 *numPlanes = maxSlotUsed + 1; in AreValidIndices()
|
/external/deqp/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 | 67 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() 76 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() 89 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() 108 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() 134 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateStagingBuffers() 167 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateAndWriteStagingBuffers() 179 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in readStagingBuffers() 271 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillRandom() 312 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in fillZero() 328 const deUint32 numPlanes = getPlaneCount(format); in allocateAndBindImageMemory() local [all …]
|
/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 | 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()
|