Home
last modified time | relevance | path

Searched refs:rounding (Results 1 – 9 of 9) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dyuv.h186 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { in VP8ClipUV() argument
187 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); in VP8ClipUV()
191 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { in VP8RGBToY() argument
193 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip in VP8RGBToY()
196 static WEBP_INLINE int VP8RGBToU(int r, int g, int b, int rounding) { in VP8RGBToU() argument
198 return VP8ClipUV(u, rounding); in VP8RGBToU()
201 static WEBP_INLINE int VP8RGBToV(int r, int g, int b, int rounding) { in VP8RGBToV() argument
203 return VP8ClipUV(v, rounding); in VP8RGBToV()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/
A Dstrtod_bk.c147 #define Rounding rounding
262 int rounding; local
569 if ((rounding = Flt_Rounds) >= 2) {
571 rounding = rounding == 2 ? 0 : 2;
573 if (rounding != 2)
574 rounding = 0;
593 switch(rounding) {
750 if (rounding != 1)
833 if (rounding != 1) {
843 if (rounding) {
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/
A Djsbignum.texi129 @section Floating point rounding
141 rationale is that the rounding mode changes must always be
242 Round to an integer. No additional rounding is performed.
322 @item the rounding mode
375 Read-only integer. Round to zero rounding mode.
378 Read-only integer. Round to -Infinity rounding mode.
381 Read-only integer. Round to +Infinity rounding mode.
387 Read-only integer. Round away from zero rounding mode.
390 Read-only integer. Faithful rounding mode. The result is
513 precision if no rounding object is present.
[all …]
A Dquickjs.texi1070 point operations and transcendental functions with exact rounding.
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A DREADME.md122 exact rounding. It is maintained as a <a href="https://bellard.org/libbf">separate project</a>.
/AliOS-Things-master/components/SDL2/src/gfx/
A DREADME93 This is done to avoid rounding errors from the inherent instability in the
488 - Zoom scaling factor rounding bugfix patch contributed by WanderWander
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dstructure.txt584 simplify correct rounding during downsampling, etc. The JPEG standard's
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A DCHANGES3438 Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
3439 wrong (high by one) 25% of the time. Dividing by 257 with rounding is
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DChangeLog75 2563db47 fix rescaling rounding inaccuracy

Completed in 20 milliseconds