touchgfx::Rasterizer::::POLY_BASE_SIZE is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Rasterizer::::POLY_BASE_SIZE

touchgfx::Rasterizer::::POLY_BASE_SIZE

Syntax

POLY_BASE_SIZE = 1 << POLY_BASE_SHIFT;

References

LocationReferrerScopeText
Rasterizer.hpp:67
POLY_BASE_SIZE = 1 << POLY_BASE_SHIFT, ///< The value to divide or multiply with to convert to / from this format
CWRUtil.hpp:95touchgfx::CWRUtil::Q5::Q5()touchgfx::CWRUtil::Q5
Q5(const Q10 q10) : v(int(q10) / Rasterizer::POLY_BASE_SIZE) { }
CWRUtil.hpp:194touchgfx::CWRUtil::Q5::operator*() consttouchgfx::CWRUtil::Q5
return Q5(muldiv(v, int(q15), Rasterizer::POLY_BASE_SIZE * Rasterizer::POLY_BASE_SIZE * Rasterizer::POLY_BASE_SIZE, remainder));
CWRUtil.hpp:245touchgfx::CWRUtil::Q5::operator/() consttouchgfx::CWRUtil::Q5
return Q5(int(v) * Rasterizer::POLY_BASE_SIZE / q5.v);
CWRUtil.hpp:611touchgfx::CWRUtil::sine()touchgfx::CWRUtil
int16_t fraction = i % Rasterizer::POLY_BASE_SIZE;
CWRUtil.hpp:619touchgfx::CWRUtil::sine()touchgfx::CWRUtil
return Q15(muldiv(int(sineHigh - sineLow), fraction, Rasterizer::POLY_BASE_SIZE, remainder)) + sineLow;
Rasterizer.hpp:68
POLY_BASE_MASK = POLY_BASE_SIZE - 1 ///< The value used to mask the fraction

Data Use

Functions using touchgfx::Rasterizer::::POLY_BASE_SIZE
touchgfx::Rasterizer::::POLY_BASE_SIZE