Searched refs:imageDesc (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 48 const ImageDesc& imageDesc) { in CreateResource() argument 54 VkImageLayout initialLayout = (VK_IMAGE_TILING_LINEAR == imageDesc.fImageTiling) in CreateResource() 60 if (!GrSampleCountToVkSampleCount(imageDesc.fSamples, &vkSamples)) { in CreateResource() 67 imageDesc.fImageType, // VkImageType in CreateResource() 68 imageDesc.fFormat, // VkFormat in CreateResource() 69 { imageDesc.fWidth, imageDesc.fHeight, 1 }, // VkExtent3D in CreateResource() 70 imageDesc.fLevels, // mipLevels in CreateResource() 73 imageDesc.fImageTiling, // VkImageTiling in CreateResource() 74 imageDesc.fUsageFlags, // VkImageUsageFlags in CreateResource() 84 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, imageDesc.fMemProps, &alloc)) { in CreateResource() [all …]
|
D | GrVkStencilAttachment.cpp | 37 GrVkImage::ImageDesc imageDesc; in Create() local 38 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in Create() 39 imageDesc.fFormat = format.fInternalFormat; in Create() 40 imageDesc.fWidth = width; in Create() 41 imageDesc.fHeight = height; in Create() 42 imageDesc.fLevels = 1; in Create() 43 imageDesc.fSamples = sampleCnt; in Create() 44 imageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in Create() 45 imageDesc.fUsageFlags = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in Create() 46 imageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in Create() [all …]
|
D | GrVkTextureRenderTarget.cpp | 120 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTextureRenderTarget() argument 121 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewTextureRenderTarget() 122 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTextureRenderTarget() 124 const GrVkImage::Resource* imageRsrc = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTextureRenderTarget() 131 imageDesc.fFormat, imageRsrc); in CreateNewTextureRenderTarget()
|
D | GrVkGpu.cpp | 508 GrVkImage::ImageDesc imageDesc; in onCreateTexture() local 509 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in onCreateTexture() 510 imageDesc.fFormat = pixelFormat; in onCreateTexture() 511 imageDesc.fWidth = desc.fWidth; in onCreateTexture() 512 imageDesc.fHeight = desc.fHeight; in onCreateTexture() 513 imageDesc.fLevels = 1; in onCreateTexture() 514 imageDesc.fSamples = 1; in onCreateTexture() 515 imageDesc.fImageTiling = linearTiling ? VK_IMAGE_TILING_LINEAR : VK_IMAGE_TILING_OPTIMAL; in onCreateTexture() 516 imageDesc.fUsageFlags = usageFlags; in onCreateTexture() 517 imageDesc.fMemProps = memProps; in onCreateTexture() [all …]
|
D | GrVkTexture.cpp | 58 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTexture() argument 59 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTexture() 61 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTexture() 66 GrVkTexture* texture = Create(gpu, desc, lifeCycle, imageDesc.fFormat, imageResource); in CreateNewTexture()
|
D | GrVkRenderTarget.cpp | 188 const GrVkImage::ImageDesc& imageDesc) { in CreateNewRenderTarget() argument 189 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewRenderTarget() 191 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewRenderTarget()
|
D | GrVkImage.h | 95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc);
|
/external/skia/src/images/ |
D | SkMovie_gif.cpp | 135 int copyHeight, const GifImageDesc& imageDesc, int rowStep, in copyInterlaceGroup() argument 141 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); in copyInterlaceGroup() 143 src += imageDesc.Width; in copyInterlaceGroup() 147 src += imageDesc.Width * ((imageDesc.Height - row + rowStep - 1) / rowStep); in copyInterlaceGroup()
|
/external/opencv3/modules/videoio/src/ |
D | cap_qt.cpp | 975 ImageDescriptionHandle imageDesc = (ImageDescriptionHandle)NewHandle(0); in icvOpenCamera_QT() local 976 result = SGGetChannelSampleDescription(capture->channel, (Handle)imageDesc); in icvOpenCamera_QT() 978 capture->bounds.right = (**imageDesc).width; in icvOpenCamera_QT() 979 capture->bounds.bottom = (**imageDesc).height; in icvOpenCamera_QT() 980 DisposeHandle ((Handle) imageDesc); in icvOpenCamera_QT()
|