/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | texstore.c | 312 * \param srcFormat source image format 323 GLenum srcFormat, GLenum srcType, 331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 367 srcFormat, srcType, 371 dst, srcFormat, srcType, src, 435 GLenum srcFormat, GLenum srcType, 442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 476 srcFormat, srcType, 480 dst, srcFormat, srcType, src, 553 * \param srcFormat sourc 319 _mesa_make_temp_float_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps) argument 431 make_temp_uint_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument 560 _mesa_make_temp_ubyte_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument 845 _mesa_swizzle_ubyte_image(struct gl_context *ctx, GLuint dimensions, GLenum srcFormat, GLenum srcType, GLenum baseInternalFormat, const GLubyte *rgba2dst, GLuint dstComponents, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking ) argument 925 memcpy_texture(struct gl_context *ctx, GLuint dimensions, gl_format dstFormat, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument [all...] |
H A D | texstore.h | 52 * \param srcFormat incoming image format 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
H A D | texcompress_s3tc.c | 173 if (srcFormat != GL_RGB || 183 srcFormat, srcType, srcAddr, 188 srcFormat = GL_RGB; 192 srcFormat, srcType, 0, 0); 226 if (srcFormat != GL_RGBA || 236 srcFormat, srcType, srcAddr, 241 srcFormat = GL_RGBA; 245 srcFormat, srcType, 0, 0); 279 if (srcFormat != GL_RGBA || 289 srcFormat, srcTyp [all...] |
H A D | pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
H A D | pack.c | 2774 GLenum srcFormat, GLenum srcType, const GLvoid *src, 2777 ASSERT(srcFormat == GL_COLOR_INDEX || srcFormat == GL_STENCIL_INDEX); 3106 _mesa_problem(NULL, "bad srcFormat %s in get_component_mapping", 3116 * image data. srcFormat and srcType are the format and type parameters 3125 * srcFormat - format of incoming data 3132 GLenum srcFormat, GLenum srcType, const GLvoid *src, 3141 ASSERT(srcFormat == GL_RED || 3142 srcFormat == GL_GREEN || 3143 srcFormat 2773 extract_uint_indexes(GLuint n, GLuint indexes[], GLenum srcFormat, GLenum srcType, const GLvoid *src, const struct gl_pixelstore_attrib *unpack ) argument 3131 extract_float_rgba(GLuint n, GLfloat rgba[][4], GLenum srcFormat, GLenum srcType, const GLvoid *src, GLboolean swapBytes) argument 3742 extract_uint_rgba(GLuint n, GLuint rgba[][4], GLenum srcFormat, GLenum srcType, const GLvoid *src, GLboolean swapBytes) argument 4245 _mesa_unpack_color_span_ubyte(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLubyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument 4488 _mesa_unpack_color_span_float( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLfloat dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument 4688 _mesa_unpack_color_span_uint(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLuint *dest, GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking) argument 4847 _mesa_unpack_dudv_span_byte( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLbyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument [all...] |
H A D | texcompress_rgtc.c | 109 srcFormat, srcType, srcAddr, 156 srcFormat, srcType, srcAddr, 204 srcFormat, srcType, srcAddr, 258 srcFormat, srcType, srcAddr,
|
H A D | texcompress_fxt1.c | 71 if (srcFormat != GL_RGB || 81 srcFormat, srcType, srcAddr, 87 srcFormat = GL_RGB; 91 srcFormat, srcType, 0, 0); 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, 122 if (srcFormat != GL_RGBA || 131 srcFormat, srcType, srcAddr, 137 srcFormat = GL_RGBA; 141 srcFormat, srcType, 0, 0); 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texstore.c | 312 * \param srcFormat source image format 323 GLenum srcFormat, GLenum srcType, 331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 367 srcFormat, srcType, 371 dst, srcFormat, srcType, src, 435 GLenum srcFormat, GLenum srcType, 442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 476 srcFormat, srcType, 480 dst, srcFormat, srcType, src, 553 * \param srcFormat sourc 319 _mesa_make_temp_float_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps) argument 431 make_temp_uint_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument 560 _mesa_make_temp_ubyte_image(struct gl_context *ctx, GLuint dims, GLenum logicalBaseFormat, GLenum textureBaseFormat, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument 845 _mesa_swizzle_ubyte_image(struct gl_context *ctx, GLuint dimensions, GLenum srcFormat, GLenum srcType, GLenum baseInternalFormat, const GLubyte *rgba2dst, GLuint dstComponents, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking ) argument 925 memcpy_texture(struct gl_context *ctx, GLuint dimensions, gl_format dstFormat, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument [all...] |
H A D | texstore.h | 52 * \param srcFormat incoming image format 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
H A D | texcompress_s3tc.c | 173 if (srcFormat != GL_RGB || 183 srcFormat, srcType, srcAddr, 188 srcFormat = GL_RGB; 192 srcFormat, srcType, 0, 0); 226 if (srcFormat != GL_RGBA || 236 srcFormat, srcType, srcAddr, 241 srcFormat = GL_RGBA; 245 srcFormat, srcType, 0, 0); 279 if (srcFormat != GL_RGBA || 289 srcFormat, srcTyp [all...] |
H A D | pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
H A D | pack.c | 2774 GLenum srcFormat, GLenum srcType, const GLvoid *src, 2777 ASSERT(srcFormat == GL_COLOR_INDEX || srcFormat == GL_STENCIL_INDEX); 3106 _mesa_problem(NULL, "bad srcFormat %s in get_component_mapping", 3116 * image data. srcFormat and srcType are the format and type parameters 3125 * srcFormat - format of incoming data 3132 GLenum srcFormat, GLenum srcType, const GLvoid *src, 3141 ASSERT(srcFormat == GL_RED || 3142 srcFormat == GL_GREEN || 3143 srcFormat 2773 extract_uint_indexes(GLuint n, GLuint indexes[], GLenum srcFormat, GLenum srcType, const GLvoid *src, const struct gl_pixelstore_attrib *unpack ) argument 3131 extract_float_rgba(GLuint n, GLfloat rgba[][4], GLenum srcFormat, GLenum srcType, const GLvoid *src, GLboolean swapBytes) argument 3742 extract_uint_rgba(GLuint n, GLuint rgba[][4], GLenum srcFormat, GLenum srcType, const GLvoid *src, GLboolean swapBytes) argument 4245 _mesa_unpack_color_span_ubyte(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLubyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument 4488 _mesa_unpack_color_span_float( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLfloat dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument 4688 _mesa_unpack_color_span_uint(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLuint *dest, GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking) argument 4847 _mesa_unpack_dudv_span_byte( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLbyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument [all...] |
H A D | texcompress_rgtc.c | 109 srcFormat, srcType, srcAddr, 156 srcFormat, srcType, srcAddr, 204 srcFormat, srcType, srcAddr, 258 srcFormat, srcType, srcAddr,
|
H A D | texcompress_fxt1.c | 71 if (srcFormat != GL_RGB || 81 srcFormat, srcType, srcAddr, 87 srcFormat = GL_RGB; 91 srcFormat, srcType, 0, 0); 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, 122 if (srcFormat != GL_RGBA || 131 srcFormat, srcType, srcAddr, 137 srcFormat = GL_RGBA; 141 srcFormat, srcType, 0, 0); 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | radeon_texture.c | 285 GLenum srcFormat, 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { 284 radeonChoose8888TexFormat(radeonContextPtr rmesa, GLenum srcFormat, GLenum srcType, GLboolean fbo) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texture.c | 285 GLenum srcFormat, 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { 284 radeonChoose8888TexFormat(radeonContextPtr rmesa, GLenum srcFormat, GLenum srcType, GLboolean fbo) argument
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_texture.c | 285 GLenum srcFormat, 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { 284 radeonChoose8888TexFormat(radeonContextPtr rmesa, GLenum srcFormat, GLenum srcType, GLboolean fbo) argument
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texture.c | 285 GLenum srcFormat, 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { 284 radeonChoose8888TexFormat(radeonContextPtr rmesa, GLenum srcFormat, GLenum srcType, GLboolean fbo) argument
|
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_icc.cpp | 83 int srcFormat;
local 92 srcFormat = COLORSPACE_SH(PT_Lab) | CHANNELS_SH(nSrcComponents) | BYTES_SH(0);
95 srcFormat = COLORSPACE_SH(PT_ANY) | CHANNELS_SH(nSrcComponents) | BYTES_SH(1);
97 srcFormat |= DOSWAP_SH(1);
108 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_GRAY_8, intent, 0);
111 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_BGR_8, intent, 0);
114 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile,
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 184 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); local 201 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || 202 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) 210 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { 228 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { 247 SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat));
|
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 184 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); local 201 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || 202 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) 210 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { 228 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { 247 SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFramebufferBlitTests.cpp | 330 BlitColorConversionCase (Context& context, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& size) argument 332 , m_srcFormat (srcFormat) 347 tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); local 349 glu::DataType srcOutputType = getFragmentOutputType(srcFormat); 353 tcu::TextureFormatInfo srcFmtRangeInfo = tcu::getTextureFormatInfo(srcFormat); 355 tcu::BVec4 copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstFormat.order)); 427 const tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); local 429 const bool srcIsSRGB = (srcFormat.order == tcu::TextureFormat::sRGBA); 436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); 440 const tcu::RGBA srcMaxDiff = getFormatThreshold(srcFormat) * (srcIsSRG [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES3.cpp | 642 static bool GetEffectiveInternalFormat(const InternalFormat &srcFormat, const InternalFormat &destFormat, argument 664 (formatInfo.mMinRedBits <= srcFormat.redBits && formatInfo.mMaxRedBits >= srcFormat.redBits) && 665 (formatInfo.mMinGreenBits <= srcFormat.greenBits && formatInfo.mMaxGreenBits >= srcFormat.greenBits) && 666 (formatInfo.mMinBlueBits <= srcFormat.blueBits && formatInfo.mMaxBlueBits >= srcFormat.blueBits) && 667 (formatInfo.mMinAlphaBits <= srcFormat.alphaBits && formatInfo.mMaxAlphaBits >= srcFormat.alphaBits))
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 865 const GLenum srcFormat = _mesa_base_fbo_format(ctx, src->InternalFormat); local 873 if (srcFormat == dstFormat) { 879 else if (srcFormat == GL_RGB && dstFormat == GL_RGBA) { 885 else if (srcFormat == GL_RGBA && dstFormat == GL_RGB) { 896 _mesa_lookup_enum_by_nr(srcFormat),
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 865 const GLenum srcFormat = _mesa_base_fbo_format(ctx, src->InternalFormat); local 873 if (srcFormat == dstFormat) { 879 else if (srcFormat == GL_RGB && dstFormat == GL_RGBA) { 885 else if (srcFormat == GL_RGBA && dstFormat == GL_RGB) { 896 _mesa_lookup_enum_by_nr(srcFormat),
|