Home
last modified time | relevance | path

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

12

/external/guava/android/guava/src/com/google/common/base/
DCaseFormat.java163 private final CaseFormat sourceFormat; field in CaseFormat.StringConverter
166 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
167 this.sourceFormat = checkNotNull(sourceFormat); in StringConverter()
173 return sourceFormat.to(targetFormat, s); in doForward()
178 return targetFormat.to(sourceFormat, s); in doBackward()
185 return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); in equals()
192 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()
197 return sourceFormat + ".converterTo(" + targetFormat + ")"; in toString()
/external/guava/guava/src/com/google/common/base/
DCaseFormat.java163 private final CaseFormat sourceFormat; field in CaseFormat.StringConverter
166 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
167 this.sourceFormat = checkNotNull(sourceFormat); in StringConverter()
173 return sourceFormat.to(targetFormat, s); in doForward()
178 return targetFormat.to(sourceFormat, s); in doBackward()
185 return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); in equals()
192 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()
197 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/oboe/src/common/
DDataConversionFlowGraph.cpp82 AudioFormat sourceFormat = sourceStream->getFormat(); in configure() local
96 sourceFormat, sinkFormat, in configure()
110 switch (sourceFormat) { in configure()
120 LOGE("%s() Unsupported source caller format = %d", __func__, sourceFormat); in configure()
128 switch (sourceFormat) { in configure()
136 LOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure()
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp226 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions() argument
235 if ((sourceFormat == GL_BGRA_EXT || destFormat == GL_BGRA_EXT) && in checkExtensions()
241 if ((sourceFormat == GL_SRGB_ALPHA_EXT || destFormat == GL_SRGB_ALPHA_EXT) && in checkExtensions()
250 void calculateCopyTextureResults(GLenum sourceFormat, in calculateCopyTextureResults() argument
259 switch (sourceFormat) in calculateCopyTextureResults()
316 const uint8_t *getSourceColors(GLenum sourceFormat, size_t *colorCount, uint8_t *componentCount) in getSourceColors() argument
372 switch (sourceFormat) in getSourceColors()
397 GLenum sourceFormat, in initializeSourceTexture() argument
416 glTexImage2D(target, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture()
421 GLenum sourceFormat, in testCopyTexture() argument
[all …]
/external/swiftshader/src/Device/
DBlitter.hpp86 …State(vk::Format sourceFormat, vk::Format destFormat, int srcSamples, int destSamples, const Optio… in State()
89 , sourceFormat(sourceFormat) in State()
95 vk::Format sourceFormat; member
210 uint64_t hash = state.sourceFormat; in operator ()()
DBlitter.cpp326 switch(state.sourceFormat) in readFloat4()
507 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readFloat4()
1021 switch(state.sourceFormat) in readInt4()
1091 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readInt4()
1344 state.sourceFormat.isUnnormalizedInteger() && in ApplyScaleAndClamp()
1349 switch(state.sourceFormat) in ApplyScaleAndClamp()
1358 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in ApplyScaleAndClamp()
1363 unscale = state.sourceFormat.getScale(); in ApplyScaleAndClamp()
1368 bool srcSRGB = state.sourceFormat.isSRGBformat(); in ApplyScaleAndClamp()
1383 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/angle/src/libANGLE/renderer/
Drenderer_utils.cpp299 const angle::Format &sourceFormat, in PackPixels() argument
320 xAxisPitch = sourceFormat.pixelBytes; in PackPixels()
341 yAxisPitch = sourceFormat.pixelBytes; in PackPixels()
351 xAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels()
353 source += sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels()
363 yAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels()
367 sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels()
374 if (params.rotation == SurfaceRotation::Identity && sourceFormat == *params.destFormat) in PackPixels()
380 params.area.width * sourceFormat.pixelBytes); in PackPixels()
385 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels()
[all …]
Drenderer_utils.h129 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.cpp916 GLenum sourceFormat, in copyTexture() argument
970 ANGLE_TRY(getBlitShader(context, destFormat, sourceFormat, isSrcSigned, isDestSigned, in copyTexture()
1382 GLenum sourceFormat, in getBlitShaderOperation() argument
1390 !gl::IsIntegerFormat(sourceFormat) && gl::IsIntegerFormat(destinationFormat); in getBlitShaderOperation()
1574 GLenum sourceFormat, in getBlitShader() argument
1585 blitShaderOperation = getBlitShaderOperation(destFormat, sourceFormat, isSrcSigned, in getBlitShader()
DRenderer11.cpp2491 GLenum sourceFormat = colorAttachment->getFormat().info->format; in copyImageInternal() local
2509 ANGLE_TRY(mBlit->copyTexture(context, readSRV, sourceArea, sourceSize, sourceFormat, dest, in copyImageInternal()
2521 ANGLE_TRY(mBlit->copyTexture(context, source, sourceArea, sourceSize, sourceFormat, dest, in copyImageInternal()
2767 GLenum sourceFormat = source->getFormat(srcTarget, sourceLevel).info->format; in copyTexture() local
2769 sourceFormat, destRTV, destArea, destSize, nullptr, destFormat, in copyTexture()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp129 : sourceFormat(sourceFormat_), in LevelInfoGL()
748 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage()
754 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage()
835 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, clippedOffset, in copySubImage()
963 GLenum sourceFormat = sourceFormatInfo.format; in copySubTextureHelper() local
965 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper()
966 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper()
997 sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper()
1009 needsLumaWorkaround, sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper()
1818 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.cpp442 Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat… in getFixedPointFormatThreshold() argument
444 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in getFixedPointFormatThreshold()
447 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in getFixedPointFormatThreshold()
450 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in getFixedPointFormatThreshold()
453 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold()
459 UVec4 getFloatULPThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& readP… in getFloatULPThreshold() argument
461 const tcu::IVec4 srcMantissaBits = tcu::getTextureFormatMantissaBitDepth(sourceFormat); in getFloatULPThreshold()
Des31fCopyImageTests.cpp1642 Vec4 calculateThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& readPixe… in calculateThreshold() argument
1644 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in calculateThreshold()
1647 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in calculateThreshold()
1650 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in calculateThreshold()
1654 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in calculateThreshold()
/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.h365 const angle::Format &sourceFormat,
/external/angle/src/libANGLE/
DvalidationES2.cpp3362 const InternalFormat &sourceFormat = *source->getFormat(sourceTarget, sourceLevel).info; in ValidateCopyTextureCHROMIUM() local
3363 if (!IsValidCopyTextureSourceInternalFormatEnum(sourceFormat.internalFormat)) in ValidateCopyTextureCHROMIUM()
3486 const Format &sourceFormat = source->getFormat(sourceTarget, sourceLevel); in ValidateCopySubTextureCHROMIUM() local
3487 if (!IsValidCopySubTextureSourceInternalFormat(sourceFormat.info->internalFormat)) in ValidateCopySubTextureCHROMIUM()
3578 const Format &sourceFormat = source->getFormat(TextureTarget::_2D, 0); in ValidateCompressedCopyTextureCHROMIUM() local
3579 if (!sourceFormat.info->compressed) in ValidateCompressedCopyTextureCHROMIUM()

12