/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | texstore.c | 323 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 …]
|
D | texcompress_s3tc.c | 173 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 …]
|
D | pack.c | 2774 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 …]
|
D | texstore.h | 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | texcompress_rgtc.c | 109 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()
|
D | texcompress_fxt1.c | 71 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()
|
/external/mesa3d/src/mesa/main/ |
D | texstore.c | 323 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 …]
|
D | texcompress_s3tc.c | 173 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 …]
|
D | pack.c | 2774 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 …]
|
D | texstore.h | 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | texcompress_rgtc.c | 109 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()
|
D | texcompress_fxt1.c | 71 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()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 285 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/ |
D | radeon_texture.c | 285 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/r200/ |
D | radeon_texture.c | 285 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 285 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/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_icc.cpp | 83 int srcFormat; in IccLib_CreateTransform() local 92 srcFormat = COLORSPACE_SH(PT_Lab) | CHANNELS_SH(nSrcComponents) | BYTES_SH(0); in IccLib_CreateTransform() 95 srcFormat = COLORSPACE_SH(PT_ANY) | CHANNELS_SH(nSrcComponents) | BYTES_SH(1); in IccLib_CreateTransform() 97 srcFormat |= DOSWAP_SH(1); in IccLib_CreateTransform() 108 … hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_GRAY_8, intent, 0); in IccLib_CreateTransform() 111 … hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_BGR_8, intent, 0); in IccLib_CreateTransform() 114 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in IccLib_CreateTransform()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 330 …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 = (srcFormat.order == tcu::TextureFormat::sRGBA); in compare() 436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); in compare() 440 const tcu::RGBA srcMaxDiff = getFormatThreshold(srcFormat) * (srcIsSRGB ? 2 : 1); in compare() [all …]
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 184 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/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 184 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/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_cb_texture.c | 865 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()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 865 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()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | formatutils.cpp | 1039 static bool GetEffectiveInternalFormat(const InternalFormatInfo &srcFormat, const InternalFormatInf… in GetEffectiveInternalFormat() argument 1061 …(formatInfo.mMinRedBits <= srcFormat.mRedBits && formatInfo.mMaxRedBits >= srcFormat.mRedBit… in GetEffectiveInternalFormat() 1062 …(formatInfo.mMinGreenBits <= srcFormat.mGreenBits && formatInfo.mMaxGreenBits >= srcFormat.mGreenB… in GetEffectiveInternalFormat() 1063 …(formatInfo.mMinBlueBits <= srcFormat.mBlueBits && formatInfo.mMaxBlueBits >= srcFormat.mBlueBi… in GetEffectiveInternalFormat() 1064 …(formatInfo.mMinAlphaBits <= srcFormat.mAlphaBits && formatInfo.mMaxAlphaBits >= srcFormat.mAlphaB… in GetEffectiveInternalFormat()
|