Home
last modified time | relevance | path

Searched refs:srcFormat (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexstore.c323 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_float_image() argument
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_float_image()
367 srcFormat, srcType, in _mesa_make_temp_float_image()
371 dst, srcFormat, srcType, src, in _mesa_make_temp_float_image()
435 GLenum srcFormat, GLenum srcType, in make_temp_uint_image() argument
442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in make_temp_uint_image()
476 srcFormat, srcType, in make_temp_uint_image()
480 dst, srcFormat, srcType, src, in make_temp_uint_image()
564 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_ubyte_image() argument
603 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_ubyte_image()
[all …]
Dtexcompress_s3tc.c173 if (srcFormat != GL_RGB || in _mesa_texstore_rgb_dxt1()
183 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1()
188 srcFormat = GL_RGB; in _mesa_texstore_rgb_dxt1()
192 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_dxt1()
226 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_dxt1()
236 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1()
241 srcFormat = GL_RGBA; in _mesa_texstore_rgba_dxt1()
245 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt1()
279 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_dxt3()
289 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt3()
[all …]
Dpack.c2774 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_uint_indexes() argument
2777 ASSERT(srcFormat == GL_COLOR_INDEX || srcFormat == GL_STENCIL_INDEX); in extract_uint_indexes()
3132 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_float_rgba() argument
3141 ASSERT(srcFormat == GL_RED || in extract_float_rgba()
3142 srcFormat == GL_GREEN || in extract_float_rgba()
3143 srcFormat == GL_BLUE || in extract_float_rgba()
3144 srcFormat == GL_ALPHA || in extract_float_rgba()
3145 srcFormat == GL_LUMINANCE || in extract_float_rgba()
3146 srcFormat == GL_LUMINANCE_ALPHA || in extract_float_rgba()
3147 srcFormat == GL_INTENSITY || in extract_float_rgba()
[all …]
Dpack.h63 GLenum srcFormat, GLenum srcType,
72 GLenum srcFormat, GLenum srcType,
80 GLenum srcFormat, GLenum srcType,
87 GLenum srcFormat, GLenum srcType,
Dtexstore.h64 GLenum srcFormat, GLenum srcType, \
78 GLenum srcFormat, GLenum srcType,
87 GLenum srcFormat, GLenum srcType,
Dtexcompress_rgtc.c109 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1()
156 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1()
204 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2()
258 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
Dtexcompress_fxt1.c71 if (srcFormat != GL_RGB || in _mesa_texstore_rgb_fxt1()
81 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_fxt1()
87 srcFormat = GL_RGB; in _mesa_texstore_rgb_fxt1()
91 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_fxt1()
93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1()
122 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_fxt1()
131 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_fxt1()
137 srcFormat = GL_RGBA; in _mesa_texstore_rgba_fxt1()
141 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_fxt1()
143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1()
Dfbobject.c2700 compatible_color_datatypes(gl_format srcFormat, gl_format dstFormat) in compatible_color_datatypes() argument
2702 GLenum srcType = _mesa_get_format_datatype(srcFormat); in compatible_color_datatypes()
Ddd.h201 GLenum srcFormat, GLenum srcType );
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c285 GLenum srcFormat, in radeonChoose8888TexFormat() argument
298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat()
300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat()
303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat()
305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c285 GLenum srcFormat, in radeonChoose8888TexFormat() argument
298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat()
300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat()
303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat()
305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp330 …BlitColorConversionCase (Context& context, const char* name, const char* desc, deUint32 srcFormat,… in BlitColorConversionCase() argument
332 , m_srcFormat (srcFormat) in BlitColorConversionCase()
347 tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); in render() local
349 glu::DataType srcOutputType = getFragmentOutputType(srcFormat); in render()
353 tcu::TextureFormatInfo srcFmtRangeInfo = tcu::getTextureFormatInfo(srcFormat); in render()
355 …tcu::BVec4 copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstForm… in render()
427 const tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); in compare() local
429 const bool srcIsSRGB = tcu::isSRGB(srcFormat); in compare()
436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); in compare()
440 const tcu::RGBA srcMaxDiff = getFormatThreshold(srcFormat) * (srcIsSRGB ? 2 : 1); in compare()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_icc.cpp118 int srcFormat; in IccLib_CreateTransform() local
123 srcFormat = in IccLib_CreateTransform()
127 srcFormat = in IccLib_CreateTransform()
130 srcFormat |= DOSWAP_SH(1); in IccLib_CreateTransform()
141 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in IccLib_CreateTransform()
145 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in IccLib_CreateTransform()
150 srcProfile, srcFormat, dstProfile, in IccLib_CreateTransform()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp184 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap() local
201 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap()
202 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap()
210 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap()
228 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { in copyFTBitmap()
247 SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat)); in copyFTBitmap()
/external/opencv3/3rdparty/include/ffmpeg_/libswscale/
Dswscale.h194 struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat,
321 int srcW, int srcH, enum AVPixelFormat srcFormat,
/external/vulkan-validation-layers/layers/
Dimage.cpp846 VkFormat srcFormat = srcImageEntry->second.format; in vkCmdBlitImage() local
850 if ((vk_format_is_sint(srcFormat) && !vk_format_is_sint(dstFormat)) || in vkCmdBlitImage()
851 (vk_format_is_uint(srcFormat) && !vk_format_is_uint(dstFormat))) { in vkCmdBlitImage()
855 …<< "Source format is " << string_VkFormat(srcFormat) << " Destination format is " << string_VkForm… in vkCmdBlitImage()
862 if (vk_format_is_depth_or_stencil(srcFormat) || vk_format_is_depth_or_stencil(dstFormat)) { in vkCmdBlitImage()
863 if (srcFormat != dstFormat) { in vkCmdBlitImage()
867 …<< "Source format is " << string_VkFormat(srcFormat) << " Destination format is " << string_VkForm… in vkCmdBlitImage()
908 if (vk_format_is_depth_and_stencil(srcFormat)) { in vkCmdBlitImage()
918 } else if (vk_format_is_stencil_only(srcFormat)) { in vkCmdBlitImage()
927 } else if (vk_format_is_depth_only(srcFormat)) { in vkCmdBlitImage()
[all …]
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp2086 void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) in addCopyTests() argument
2088 const string groupName = string(formatToName(srcFormat)) + "_" + formatToName(dstFormat); in addCopyTests()
2107 if (glu::isCompressedFormat(srcFormat) && srcTarget == GL_RENDERBUFFER) in addCopyTests()
2110 if (srcTarget == GL_RENDERBUFFER && !isColorRenderable(srcFormat)) in addCopyTests()
2113 …if (glu::isCompressedFormat(srcFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(srcForm… in addCopyTests()
2135 …const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, (srcIs3D ? targetSize3D : targetSize2… in addCopyTests()
2139 ImageInfo(srcFormat, srcTarget, srcSize), in addCopyTests()
2405 const deUint32 srcFormat = formats[srcFormatNdx]; in init() local
2408 if (srcFormat != dstFormat && isFloatFormat(srcFormat) && isFloatFormat(dstFormat)) in init()
2411 addCopyTests(viewGroup, srcFormat, dstFormat); in init()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c865 const GLenum srcFormat = _mesa_base_fbo_format(ctx, src->InternalFormat); in compatible_src_dst_formats() local
873 if (srcFormat == dstFormat) { in compatible_src_dst_formats()
879 else if (srcFormat == GL_RGB && dstFormat == GL_RGBA) { in compatible_src_dst_formats()
885 else if (srcFormat == GL_RGBA && dstFormat == GL_RGB) { in compatible_src_dst_formats()
896 _mesa_lookup_enum_by_nr(srcFormat), in compatible_src_dst_formats()
Dst_cb_drawpixels.c1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local
1499 srcFormat = rbRead->texture->format; in st_CopyPixels()
1501 if (screen->is_format_supported(screen, srcFormat, st->internal_target, in st_CopyPixels()
1504 texFormat = srcFormat; in st_CopyPixels()
1564 if (srcFormat == texFormat) { in st_CopyPixels()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c237 GLenum srcFormat, GLenum srcType) in nouveau_choose_tex_format() argument