Home
last modified time | relevance | path

Searched refs:sourceFormat (Results 1 – 25 of 34) sorted by relevance

12

/external/guava/android/guava/src/com/google/common/base/
DCaseFormat.java158 private final CaseFormat sourceFormat; field in CaseFormat.StringConverter
161 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
162 this.sourceFormat = checkNotNull(sourceFormat); in StringConverter()
168 return sourceFormat.to(targetFormat, s); in doForward()
173 return targetFormat.to(sourceFormat, s); in doBackward()
180 return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); in equals()
187 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()
192 return sourceFormat + ".converterTo(" + targetFormat + ")"; in toString()
/external/guava/guava/src/com/google/common/base/
DCaseFormat.java158 private final CaseFormat sourceFormat; field in CaseFormat.StringConverter
161 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
162 this.sourceFormat = checkNotNull(sourceFormat); in StringConverter()
168 return sourceFormat.to(targetFormat, s); in doForward()
173 return targetFormat.to(sourceFormat, s); in doBackward()
180 return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); in equals()
187 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()
192 return sourceFormat + ".converterTo(" + targetFormat + ")"; in toString()
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/
DLocalizedFormats.java310 private final String sourceFormat; field in LocalizedFormats
316 private LocalizedFormats(final String sourceFormat) { in LocalizedFormats() argument
317 this.sourceFormat = sourceFormat; in LocalizedFormats()
322 return sourceFormat; in getSourceString()
341 return sourceFormat; in getLocalizedString()
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp220 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions() argument
229 if ((sourceFormat == GL_BGRA_EXT || destFormat == GL_BGRA_EXT) && in checkExtensions()
238 void calculateCopyTextureResults(GLenum sourceFormat, in calculateCopyTextureResults() argument
247 switch (sourceFormat) in calculateCopyTextureResults()
303 const uint8_t *getSourceColors(GLenum sourceFormat, size_t *colorCount, uint8_t *componentCount) in getSourceColors() argument
359 switch (sourceFormat) in getSourceColors()
384 GLenum sourceFormat, in initializeSourceTexture() argument
403 glTexImage2D(target, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture()
408 GLenum sourceFormat, in testCopyTexture() argument
414 if (!checkExtensions(sourceFormat, destFormat)) in testCopyTexture()
[all …]
/external/swiftshader/src/Device/
DBlitter.hpp83 …State(vk::Format sourceFormat, vk::Format destFormat, int srcSamples, int destSamples, const Optio… in State()
86 , sourceFormat(sourceFormat) in State()
98 vk::Format sourceFormat; member
DBlitter.cpp285 switch(state.sourceFormat) in readFloat4()
465 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readFloat4()
979 switch(state.sourceFormat) in readInt4()
1049 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readInt4()
1302 state.sourceFormat.isUnnormalizedInteger() && in ApplyScaleAndClamp()
1307 switch(state.sourceFormat) in ApplyScaleAndClamp()
1316 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in ApplyScaleAndClamp()
1321 unscale = state.sourceFormat.getScale(); in ApplyScaleAndClamp()
1326 bool srcSRGB = state.sourceFormat.isSRGBformat(); in ApplyScaleAndClamp()
1341 if(state.sourceFormat.isFloatFormat() && !state.destFormat.isFloatFormat()) in ApplyScaleAndClamp()
[all …]
/external/swiftshader/src/Main/
DFrameBuffer.cpp119 updateState.sourceFormat = source->getInternalFormat(); in copy()
168 const int sBytes = Surface::bytes(state.sourceFormat); in copyRoutine()
191 switch(state.sourceFormat) in copyRoutine()
249 switch(state.sourceFormat) in copyRoutine()
299 switch(state.sourceFormat) in copyRoutine()
358 switch(state.sourceFormat) in copyRoutine()
404 switch(state.sourceFormat) in copyRoutine()
446 switch(state.sourceFormat) in copyRoutine()
540 switch(state.sourceFormat) in blend()
DFrameBuffer.hpp33 Format sourceFormat; member
/external/swiftshader/src/D3D9/
DDirect3D9Ex.cpp190 …rmatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targ… in CheckDeviceFormatConversion() argument
192 … sourceFormat = %d, D3DFORMAT targetFormat = %d", adapter, deviceType, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
200 return d3d9ex->CheckDeviceFormatConversion(adapter, deviceType, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
204 return CheckDeviceFormatConversion(adapter, D3DDEVTYPE_HAL, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
DDirect3D9.hpp50 …rmatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targ…
DDirect3D9Ex.hpp50 …rmatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targ…
DDirect3D9.cpp727 …rmatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targ… in CheckDeviceFormatConversion() argument
729 … sourceFormat = %d, D3DFORMAT targetFormat = %d", adapter, deviceType, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
737 return d3d9->CheckDeviceFormatConversion(adapter, deviceType, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
741 return CheckDeviceFormatConversion(adapter, D3DDEVTYPE_HAL, sourceFormat, targetFormat); in CheckDeviceFormatConversion()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp230 const angle::Format &sourceFormat, in PackPixels() argument
246 if (sourceFormat == *params.destFormat) in PackPixels()
252 params.area.width * sourceFormat.pixelBytes); in PackPixels()
257 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels()
268 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels()
286 PixelReadFunction pixelReadFunction = sourceFormat.pixelReadFunction; in PackPixels()
295 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels()
Drenderer_utils.h100 const angle::Format &sourceFormat,
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBlit11.h41 GLenum sourceFormat,
170 GLenum sourceFormat,
236 GLenum sourceFormat,
DImage11.cpp96 const auto &sourceFormat = in CopyImage() local
99 gl::GetSizedInternalFormatInfo(sourceFormat.fboImplementationInternalFormat).pixelBytes; in CopyImage()
114 sourceFormat.pixelReadFunction, destData, destMapped.RowPitch, destPixelBytes, in CopyImage()
DBlit11.cpp912 GLenum sourceFormat, in copyTexture() argument
966 ANGLE_TRY(getBlitShader(context, destFormat, sourceFormat, isSrcSigned, isDestSigned, in copyTexture()
1378 GLenum sourceFormat, in getBlitShaderOperation() argument
1386 !gl::IsIntegerFormat(sourceFormat) && gl::IsIntegerFormat(destinationFormat); in getBlitShaderOperation()
1578 GLenum sourceFormat, in getBlitShader() argument
1589 blitShaderOperation = getBlitShaderOperation(destFormat, sourceFormat, isSrcSigned, in getBlitShader()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp129 : sourceFormat(sourceFormat_), in LevelInfoGL()
701 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage()
707 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage()
776 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, clippedOffset, in copySubImage()
890 GLenum sourceFormat = sourceFormatInfo.format; in copySubTextureHelper() local
892 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper()
893 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper()
924 sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper()
936 needsLumaWorkaround, sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper()
1642 if (levelInfo.sourceFormat == GL_LUMINANCE || in syncTextureStateSwizzle()
[all …]
DTextureGL.h37 GLenum sourceFormat; member
55 LevelInfoGL(GLenum sourceFormat,
/external/swiftshader/src/Renderer/
DBlitter.cpp228 switch(state.sourceFormat) in read()
792 switch(state.sourceFormat) in read()
1085 Surface::isNonNormalizedInteger(state.sourceFormat) && in ApplyScaleAndClamp()
1090 switch(state.sourceFormat) in ApplyScaleAndClamp()
1102 else if(!GetScale(unscale, state.sourceFormat)) in ApplyScaleAndClamp()
1112 bool srcSRGB = Surface::isSRGBformat(state.sourceFormat); in ApplyScaleAndClamp()
1131 else if(Surface::isFloatFormat(state.sourceFormat) && !Surface::isFloatFormat(state.destFormat)) in ApplyScaleAndClamp()
1206 bool intSrc = Surface::isNonNormalizedInteger(state.sourceFormat); in generate()
1209 bool srcQuadLayout = Surface::hasQuadLayout(state.sourceFormat); in generate()
1211 int srcBytes = Surface::bytes(state.sourceFormat); in generate()
[all …]
DBlitter.hpp67 Format sourceFormat; member
/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp145 tcu::Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureF… in getFixedPointFormatThreshold() argument
147 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in getFixedPointFormatThreshold()
150 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in getFixedPointFormatThreshold()
153 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in getFixedPointFormatThreshold()
156 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold()
162 tcu::UVec4 getFloatULPThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& … in getFloatULPThreshold() argument
164 const tcu::IVec4 srcMantissaBits = tcu::getTextureFormatMantissaBitDepth(sourceFormat); in getFloatULPThreshold()
Des31fDrawBuffersIndexedTests.cpp435 Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat… in getFixedPointFormatThreshold() argument
437 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in getFixedPointFormatThreshold()
440 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in getFixedPointFormatThreshold()
443 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in getFixedPointFormatThreshold()
446 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold()
452 UVec4 getFloatULPThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& readP… in getFloatULPThreshold() argument
454 const tcu::IVec4 srcMantissaBits = tcu::getTextureFormatMantissaBitDepth(sourceFormat); in getFloatULPThreshold()
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py883 sourceFormat = _messages.StringField(9) variable in ExternalDataConfiguration
1164 sourceFormat = _messages.StringField(17) variable in JobConfigurationLoad
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.h294 const angle::Format &sourceFormat,

12