Home
last modified time | relevance | path

Searched refs:targetFormat (Results 1 – 17 of 17) sorted by relevance

/external/guava/android/guava/src/com/google/common/base/
DCaseFormat.java151 public Converter<String, String> converterTo(CaseFormat targetFormat) { in converterTo() argument
152 return new StringConverter(this, targetFormat); in converterTo()
159 private final CaseFormat targetFormat; field in CaseFormat.StringConverter
161 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
163 this.targetFormat = checkNotNull(targetFormat); 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.java151 public Converter<String, String> converterTo(CaseFormat targetFormat) { in converterTo() argument
152 return new StringConverter(this, targetFormat); in converterTo()
159 private final CaseFormat targetFormat; field in CaseFormat.StringConverter
161 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
163 this.targetFormat = checkNotNull(targetFormat); 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/swiftshader/src/D3D9/
DDirect3D9Ex.cpp190 …ersion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) 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 …igned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) override;
DDirect3D9Ex.hpp50 …igned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) override;
DDirect3D9.cpp727 …ersion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) 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/swiftshader/src/Shader/
DPixelRoutine.cpp995 return Surface::isSRGBformat(state.targetFormat[index]); in isSRGB()
1005 switch(state.targetFormat[index]) in readPixel()
1394 switch(state.targetFormat[index]) in writeColor()
1424 switch(state.targetFormat[index]) in writeColor()
1456 if(state.targetFormat[index] == FORMAT_X8R8G8B8 || rgbaWriteMask == 0x7) in writeColor()
1494 …if(state.targetFormat[index] == FORMAT_X8B8G8R8 || state.targetFormat[index] == FORMAT_SRGB8_X8 ||… in writeColor()
1575 switch(state.targetFormat[index]) in writeColor()
1659 if((state.targetFormat[index] == FORMAT_A8R8G8B8 && bgraWriteMask != 0x0000000F) || in writeColor()
1660 ((state.targetFormat[index] == FORMAT_X8R8G8B8 && bgraWriteMask != 0x00000007) && in writeColor()
1661 …(state.targetFormat[index] == FORMAT_X8R8G8B8 && bgraWriteMask != 0x0000000F))) // FIXME: Need f… in writeColor()
[all …]
DPixelProgram.cpp110 if(state.targetFormat[i] != FORMAT_NULL) in applyShader()
665 switch(state.targetFormat[index]) in rasterOperation()
684 if(state.targetFormat[index] == FORMAT_R5G6B5) in rasterOperation()
807 switch(state.targetFormat[index]) in clampColor()
DPixelPipeline.cpp311 switch(state.targetFormat[0]) in rasterOperation()
333 if(state.targetFormat[0] == FORMAT_R5G6B5) in rasterOperation()
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp942 return vk::Format(state.targetFormat[index]).isSRGBformat(); in isSRGB()
954 switch(state.targetFormat[index]) in readPixel()
1101 UNSUPPORTED("VkFormat %d", state.targetFormat[index]); in readPixel()
1236 switch(state.targetFormat[index]) in writeColor()
1276 switch(state.targetFormat[index]) in writeColor()
1418 UNSUPPORTED("VkFormat: %d", int(state.targetFormat[index])); in writeColor()
1443 switch(state.targetFormat[index]) in writeColor()
1730 UNSUPPORTED("VkFormat: %d", int(state.targetFormat[index])); in writeColor()
1891 vk::Format format(state.targetFormat[index]); in alphaBlend()
1901 switch(state.targetFormat[index]) in alphaBlend()
[all …]
DPixelProgram.cpp218 auto format = state.targetFormat[index]; in rasterOperation()
308 switch(state.targetFormat[index]) in clampColor()
366 UNSUPPORTED("VkFormat: %d", int(state.targetFormat[index])); in clampColor()
/external/swiftshader/src/Device/
DPixelProcessor.hpp86 VkFormat targetFormat[RENDERTARGETS]; member
DPixelProcessor.cpp132 state.targetFormat[i] = context->renderTargetInternalFormat(i); in update()
/external/swiftshader/src/Renderer/
DPixelProcessor.hpp82 Format targetFormat[RENDERTARGETS]; member
DPixelProcessor.cpp1029 state.targetFormat[i] = context->renderTargetInternalFormat(i); in update()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp880 …ormat, const int width, const int height, const void* data, const tcu::TextureFormat& targetFormat) in convertDepthToColor() argument
883 MovePtr<tcu::TextureLevel> dstImage (new tcu::TextureLevel(targetFormat, width, height, 1u)); in convertDepthToColor()
898 …ormat, const int width, const int height, const void* data, const tcu::TextureFormat& targetFormat) in convertStencilToColor() argument
902 MovePtr<tcu::TextureLevel> dstImage (new tcu::TextureLevel(targetFormat, width, height, 1u)); in convertStencilToColor()
/external/angle/src/libANGLE/
DvalidationES3.cpp749 GLenum targetFormat, in QueryEffectiveFormatList() argument
757 if ((formatInfo.destFormat == targetFormat) && in QueryEffectiveFormatList()