Home
last modified time | relevance | path

Searched refs:dstFormat (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dtexstore.c100 mesa_format dstFormat, in _mesa_memcpy_texture() argument
114 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture()
153 assert(dstFormat == MESA_FORMAT_Z_UNORM32 || in _mesa_texstore_z32()
154 dstFormat == MESA_FORMAT_Z_FLOAT32); in _mesa_texstore_z32()
155 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32()
157 if (dstFormat == MESA_FORMAT_Z_UNORM32) in _mesa_texstore_z32()
190 assert(dstFormat == MESA_FORMAT_Z24_UNORM_X8_UINT); in _mesa_texstore_x8_z24()
220 assert(dstFormat == MESA_FORMAT_X8_UINT_Z24_UNORM); in _mesa_texstore_z24_x8()
253 assert(dstFormat == MESA_FORMAT_Z_UNORM16); in _mesa_texstore_z16()
254 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16()
[all …]
Dtexstore.h60 mesa_format dstFormat, \
75 mesa_format dstFormat);
80 mesa_format dstFormat,
90 GLenum baseInternalFormat, mesa_format dstFormat,
Dtexcompress_s3tc.c55 assert(dstFormat == MESA_FORMAT_RGB_DXT1 || in _mesa_texstore_rgb_dxt1()
56 dstFormat == MESA_FORMAT_SRGB_DXT1); in _mesa_texstore_rgb_dxt1()
107 assert(dstFormat == MESA_FORMAT_RGBA_DXT1 || in _mesa_texstore_rgba_dxt1()
108 dstFormat == MESA_FORMAT_SRGBA_DXT1); in _mesa_texstore_rgba_dxt1()
160 assert(dstFormat == MESA_FORMAT_RGBA_DXT3 || in _mesa_texstore_rgba_dxt3()
161 dstFormat == MESA_FORMAT_SRGBA_DXT3); in _mesa_texstore_rgba_dxt3()
212 assert(dstFormat == MESA_FORMAT_RGBA_DXT5 || in _mesa_texstore_rgba_dxt5()
213 dstFormat == MESA_FORMAT_SRGBA_DXT5); in _mesa_texstore_rgba_dxt5()
Dtexcompress_rgtc.c88 assert(dstFormat == MESA_FORMAT_R_RGTC1_UNORM || in _mesa_texstore_red_rgtc1()
89 dstFormat == MESA_FORMAT_L_LATC1_UNORM); in _mesa_texstore_red_rgtc1()
141 assert(dstFormat == MESA_FORMAT_R_RGTC1_SNORM || in _mesa_texstore_signed_red_rgtc1()
142 dstFormat == MESA_FORMAT_L_LATC1_SNORM); in _mesa_texstore_signed_red_rgtc1()
195 assert(dstFormat == MESA_FORMAT_RG_RGTC2_UNORM || in _mesa_texstore_rg_rgtc2()
196 dstFormat == MESA_FORMAT_LA_LATC2_UNORM); in _mesa_texstore_rg_rgtc2()
262 assert(dstFormat == MESA_FORMAT_RG_RGTC2_SNORM || in _mesa_texstore_signed_rg_rgtc2()
263 dstFormat == MESA_FORMAT_LA_LATC2_SNORM); in _mesa_texstore_signed_rg_rgtc2()
Dcopyimage.c504 GLenum srcFormat, GLenum dstFormat) in copy_format_compatible() argument
520 if (_mesa_texture_view_compatible_format(ctx, srcFormat, dstFormat)) { in copy_format_compatible()
524 return compressed_format_compatible(ctx, srcFormat, dstFormat); in copy_format_compatible()
525 } else if (_mesa_is_compressed_format(ctx, dstFormat)) { in copy_format_compatible()
526 return compressed_format_compatible(ctx, dstFormat, srcFormat); in copy_format_compatible()
607 mesa_format srcFormat, dstFormat; in _mesa_CopyImageSubData() local
637 &dstTexImage, &dstRenderbuffer, &dstFormat, in _mesa_CopyImageSubData()
674 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubData()
Dtexcompress_bptc.c1635 assert(dstFormat == MESA_FORMAT_BPTC_RGB_SIGNED_FLOAT); in _mesa_texstore_bptc_rgb_signed_float()
1638 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_signed_float()
1648 assert(dstFormat == MESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT); in _mesa_texstore_bptc_rgb_unsigned_float()
1651 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_unsigned_float()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp309 vk::VkFormat dstFormat) in isCompatible() argument
311 if (srcFormat == dstFormat) in isCompatible()
474 && de::contains(DE_ARRAY_BEGIN(class8Bit), DE_ARRAY_END(class8Bit), dstFormat)) in isCompatible()
478 && de::contains(DE_ARRAY_BEGIN(class16Bit), DE_ARRAY_END(class16Bit), dstFormat)) in isCompatible()
482 && de::contains(DE_ARRAY_BEGIN(class24Bit), DE_ARRAY_END(class24Bit), dstFormat)) in isCompatible()
486 && de::contains(DE_ARRAY_BEGIN(class32Bit), DE_ARRAY_END(class32Bit), dstFormat)) in isCompatible()
490 && de::contains(DE_ARRAY_BEGIN(class48Bit), DE_ARRAY_END(class48Bit), dstFormat)) in isCompatible()
494 && de::contains(DE_ARRAY_BEGIN(class64Bit), DE_ARRAY_END(class64Bit), dstFormat)) in isCompatible()
498 && de::contains(DE_ARRAY_BEGIN(class96Bit), DE_ARRAY_END(class96Bit), dstFormat)) in isCompatible()
502 && de::contains(DE_ARRAY_BEGIN(class128Bit), DE_ARRAY_END(class128Bit), dstFormat)) in isCompatible()
[all …]
DvktYCbCrUtil.cpp1022 bool areLsb6BitsDontCare(vk::VkFormat srcFormat, vk::VkFormat dstFormat) in areLsb6BitsDontCare() argument
1025 (dstFormat == vk::VK_FORMAT_R10X6_UNORM_PACK16) || in areLsb6BitsDontCare()
1027 (dstFormat == vk::VK_FORMAT_R10X6G10X6_UNORM_2PACK16) || in areLsb6BitsDontCare()
1029 (dstFormat == vk::VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16) || in areLsb6BitsDontCare()
1031 (dstFormat == vk::VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16) || in areLsb6BitsDontCare()
1033 (dstFormat == vk::VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16) || in areLsb6BitsDontCare()
1035 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16) || in areLsb6BitsDontCare()
1037 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16) || in areLsb6BitsDontCare()
1039 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16) || in areLsb6BitsDontCare()
1041 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16) || in areLsb6BitsDontCare()
[all …]
DvktYCbCrUtil.hpp170 vk::VkFormat dstFormat);
172 vk::VkFormat dstFormat);
/external/mesa3d/src/gallium/drivers/swr/
Dswr_memory.h28 SWR_FORMAT dstFormat, in swr_LoadHotTile() argument
37 …pDC->pAPI->pfnSwrLoadHotTile(pSrcSurface, dstFormat, renderTargetIndex, x, y, renderTargetArrayInd… in swr_LoadHotTile()
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp330 …ntext, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& si… in BlitColorConversionCase() argument
333 , m_dstFormat (dstFormat) in BlitColorConversionCase()
348 tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); in render() local
350 glu::DataType dstOutputType = getFragmentOutputType(dstFormat); in render()
354 tcu::TextureFormatInfo dstFmtRangeInfo = tcu::getTextureFormatInfo(dstFormat); in render()
355 … copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstFormat.order)); in render()
422 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lo… in render()
428 const tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); in compare() local
430 const bool dstIsSRGB = tcu::isSRGB(dstFormat); in compare()
436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); in compare()
[all …]
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp223 const SkMask::Format dstFormat = static_cast<SkMask::Format>(dstMask.fFormat); in copyFTBitmap() local
229 if (SkMask::kLCD16_Format == dstFormat) { in copyFTBitmap()
234 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap()
235 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap()
243 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap()
261 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { in copyFTBitmap()
280 SkDEBUGF("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat); in copyFTBitmap()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp223 const SkMask::Format dstFormat = static_cast<SkMask::Format>(dstMask.fFormat); in copyFTBitmap() local
229 if (SkMask::kLCD16_Format == dstFormat) { in copyFTBitmap()
234 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap()
235 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap()
243 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap()
261 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { in copyFTBitmap()
280 SkDEBUGF("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat); in copyFTBitmap()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp1314 VK_LAYER_EXPORT bool FormatSizesAreEqual(VkFormat srcFormat, VkFormat dstFormat, uint32_t region_co… in FormatSizesAreEqual() argument
1318 if (FormatIsMultiplane(srcFormat) || FormatIsMultiplane(dstFormat)) { in FormatSizesAreEqual()
1326 if (FormatIsMultiplane(dstFormat)) { in FormatSizesAreEqual()
1327 …VkFormat planeFormat = FindMultiplaneCompatibleFormat(dstFormat, regions[i].dstSubresource.aspectM… in FormatSizesAreEqual()
1330 dstSize = FormatElementSize(dstFormat); in FormatSizesAreEqual()
1337 dstSize = FormatElementSize(dstFormat); in FormatSizesAreEqual()
Dvk_format_utils.h162 VK_LAYER_EXPORT bool FormatSizesAreEqual(VkFormat srcFormat, VkFormat dstFormat, uint32_t region_co…
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp197 VkFormat dstFormat) in createRenderPass() argument
212 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass()
257 VkFormat dstFormat, in createRenderPass() argument
263 …eference1, SubpassDescription1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, dstFormat); in createRenderPass()
265 …eference2, SubpassDescription2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, dstFormat); in createRenderPass()
DvktRenderPassSampleReadTests.cpp256 VkFormat dstFormat, in createRenderPass() argument
327 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass()
341 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass()
414 VkFormat dstFormat, in createRenderPass() argument
421 …on1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass()
423 …on2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass()
DvktRenderPassMultisampleTests.cpp466 VkFormat dstFormat, in createRenderPass() argument
530 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass()
558 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass()
665 VkFormat dstFormat, in createRenderPass() argument
672 …on1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass()
674 …on2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp2352 void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) in addCopyTests() argument
2354 const string groupName = string(formatToName(srcFormat)) + "_" + formatToName(dstFormat); in addCopyTests()
2387 if (glu::isCompressedFormat(dstFormat) && dstTarget == GL_RENDERBUFFER) in addCopyTests()
2390 if (dstTarget == GL_RENDERBUFFER && !isColorRenderable(dstFormat)) in addCopyTests()
2393 …if (glu::isCompressedFormat(dstFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(dstForm… in addCopyTests()
2399 … bool isCompressedCase = glu::isCompressedFormat(srcFormat) || glu::isCompressedFormat(dstFormat); in addCopyTests()
2402 const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, targetSize); in addCopyTests()
2406 ImageInfo(dstFormat, dstTarget, dstSize), in addCopyTests()
2672 const deUint32 dstFormat = formats[dstFormatNdx]; in init() local
2674 if (srcFormat != dstFormat && isFloatFormat(srcFormat) && isFloatFormat(dstFormat)) in init()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.h46 st_get_blit_mask(GLenum srcFormat, GLenum dstFormat);
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp326 …const VkFormat dstFormat = (m_parameters.operation == OPERATION_ATTACHMENT_READ) ? m_par… in transcode() local
338 …const VkDeviceSize dstImageSizeInBytes = getUncompressedImageSizeInBytes(dstFormat, m_parame… in transcode()
354 …const VkImageCreateInfo dstImageCreateInfo = makeCreateImageInfo(dstFormat, m_parameters.imag… in transcode()
576 …const VkFormat dstFormat = (m_parameters.operation == OPERATION_TEXTURE_READ) ? m_parame… in transcode() local
588 …const VkDeviceSize dstImageSizeInBytes = getUncompressedImageSizeInBytes(dstFormat, m_parame… in transcode()
604 …const VkImageCreateInfo dstImageCreateInfo = makeCreateImageInfo(dstFormat, m_parameters.imag… in transcode()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DLoadTile.cpp58 SWR_FORMAT dstFormat, in SwrLoadHotTile() argument
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.h118 typedef void(SWR_API *PFN_LOAD_TILE)(HANDLE hPrivateContext, SWR_FORMAT dstFormat,
718 SWR_FORMAT dstFormat,
/external/skia/src/codec/
DSkRawCodec.cpp716 skcms_PixelFormat dstFormat; in onGetPixels() local
717 if (!sk_select_xform_format(dstInfo.colorType(), false, &dstFormat)) { in onGetPixels()
740 dstRow, dstFormat, skcms_AlphaFormat_Unpremul, dstProfile, in onGetPixels()
/external/skqp/src/codec/
DSkRawCodec.cpp716 skcms_PixelFormat dstFormat; in onGetPixels() local
717 if (!sk_select_xform_format(dstInfo.colorType(), false, &dstFormat)) { in onGetPixels()
740 dstRow, dstFormat, skcms_AlphaFormat_Unpremul, dstProfile, in onGetPixels()

12