Home
last modified time | relevance | path

Searched refs:m_scale (Results 1 - 10 of 10) sorted by relevance

/third_party/astc-encoder/Utils/
H A Dastc_rgbm_codec.cpp104 float m_scale = astc::min(1.0f, ceil(max_rgb * 255.0f) / 255.0f); in main() local
107 m_scale = astc::max(m_scale, low_clamp / 255.0f); in main()
109 float r_scale = astc::min(1.0f, r_in / m_scale); in main()
110 float g_scale = astc::min(1.0f, g_in / m_scale); in main()
111 float b_scale = astc::min(1.0f, b_in / m_scale); in main()
116 pixel_out[3] = (uint8_t)(m_scale * 255.0f); in main()
159 float m_scale = ((float)pixel_in[3]) / 255.0f; in main() local
161 pixel_out[0] = r_scale * (m_scale * rgbm_multiplier); in main()
162 pixel_out[1] = g_scale * (m_scale * rgbm_multiplie in main()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuTestLog.cpp53 , m_scale (1.0f, 1.0f, 1.0f, 1.0f) in LogImage()
63 , m_scale (1.0f, 1.0f, 1.0f, 1.0f) in LogImage()
78 computePixelScaleBias(m_access, m_scale, m_bias); in LogImage()
92 m_scale = tcu::Vec4(depthScale.x(), stencilScale.x(), 0.0f, 0.0f); in LogImage()
101 , m_scale (scale) in LogImage()
127 log.writeImage(m_name.c_str(), m_description.c_str(), m_access, m_scale, m_bias, m_compression); in write()
134 log.writeImage("Depth", "Depth channel", depthAccess, m_scale.swizzle(0, 0, 0, 0), m_bias.swizzle(0, 0, 0, 0), m_compression); in write()
135 log.writeImage("Stencil", "Stencil channel", stencilAccess, m_scale.swizzle(1, 1, 1, 1), m_bias.swizzle(1, 1, 1, 1), m_compression); in write()
H A DtcuTestLog.hpp280 Vec4 m_scale; member in tcu::LogImage
/third_party/skia/third_party/externals/freetype/src/autofit/
H A Daftypes.h438 m_scale, \
451 m_scale, \
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3606 ImageBlitFromImage (deUint32 seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayout(imageLayout) {}
3618 const BlitScale m_scale;
3648 if (m_scale == BLIT_SCALE_10)
3653 else if (m_scale == BLIT_SCALE_20)
3786 log << TestLog::Message << commandIndex << ":" << getName() << " Blit from another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
3840 if (m_scale == BLIT_SCALE_10)
3853 else if (m_scale == BLIT_SCALE_20)
3882 ImageBlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(imageLayout) {}
3893 const BlitScale m_scale;
3923 if (m_scale
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3606 ImageBlitFromImage (deUint32 seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayout(imageLayout) {}
3618 const BlitScale m_scale;
3648 if (m_scale == BLIT_SCALE_10)
3653 else if (m_scale == BLIT_SCALE_20)
3786 log << TestLog::Message << commandIndex << ":" << getName() << " Blit from another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
3840 if (m_scale == BLIT_SCALE_10)
3853 else if (m_scale == BLIT_SCALE_20)
3882 ImageBlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(imageLayout) {}
3893 const BlitScale m_scale;
3923 if (m_scale
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderOperatorTests.cpp344 m_scale = scale; in OperatorShaderEvaluator()
355 ctx.color = ctx.color * m_scale + m_bias; in evaluate()
360 float m_scale; member in deqp::gles2::Functional::OperatorShaderEvaluator
/third_party/json/tests/thirdparty/doctest/
H A Ddoctest.h976 m_scale = static_cast<double>(newScale);
1020 double m_scale;
3546 , m_scale(1.0)
3552 approx.scale(m_scale);
3561 m_scale = newScale;
3568 rhs.m_epsilon * (rhs.m_scale + std::max<double>(std::fabs(lhs), std::fabs(rhs.m_value)));
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderOperatorTests.cpp671 , m_scale (scale) in OperatorShaderEvaluator()
691 m_evaluatedScale = m_scale.getValue(m_gl, m_shaderType); in evaluate()
705 FloatScalar m_scale; member in deqp::gles3::Functional::OperatorShaderEvaluator
/third_party/libabigail/tests/lib/
H A Dcatch.hpp3101 approx.m_scale = m_scale;
3166 m_scale = static_cast<double>(newScale);
3175 double m_scale;
7882 m_scale( 0.0 ),
7906 || marginComparison(m_value, other, m_epsilon * (m_scale + std::fabs(std::isinf(m_value)? 0 : m_value)));

Completed in 47 milliseconds