Home
last modified time | relevance | path

Searched refs:to_fixed (Results 1 – 7 of 7) sorted by relevance

/external/skqp/third_party/skcms/src/
DTransform_inl.h126 SI I32 to_fixed(F f) { return cast<I32>(f + 0.5f); } in to_fixed() function
983 store(dst + 1*i, cast<U8>(to_fixed(a * 255))); in exec_ops()
988 store(dst + 1*i, cast<U8>(to_fixed(g * 255))); in exec_ops()
992 store<U16>(dst + 2*i, cast<U16>(to_fixed(r * 15) << 12) in exec_ops()
993 | cast<U16>(to_fixed(g * 15) << 8) in exec_ops()
994 | cast<U16>(to_fixed(b * 15) << 4) in exec_ops()
995 | cast<U16>(to_fixed(a * 15) << 0)); in exec_ops()
999 store<U16>(dst + 2*i, cast<U16>(to_fixed(r * 31) << 0 ) in exec_ops()
1000 | cast<U16>(to_fixed(g * 63) << 5 ) in exec_ops()
1001 | cast<U16>(to_fixed(b * 31) << 11 )); in exec_ops()
[all …]
/external/skia/third_party/skcms/src/
DTransform_inl.h131 SI U16 to_fixed(F f) { return cast<U16>(f + 0.5f); } in to_fixed() function
133 SI U32 to_fixed(F f) { return (U32)cast<I32>(f + 0.5f); } in to_fixed() function
1244 store(dst + 1*i, cast<U8>(to_fixed(a * 255))); in exec_ops()
1249 store(dst + 1*i, cast<U8>(to_fixed(g * 255))); in exec_ops()
1253 store<U16>(dst + 2*i, cast<U16>(to_fixed(r * 15) << 12) in exec_ops()
1254 | cast<U16>(to_fixed(g * 15) << 8) in exec_ops()
1255 | cast<U16>(to_fixed(b * 15) << 4) in exec_ops()
1256 | cast<U16>(to_fixed(a * 15) << 0)); in exec_ops()
1260 store<U16>(dst + 2*i, cast<U16>(to_fixed(r * 31) << 0 ) in exec_ops()
1261 | cast<U16>(to_fixed(g * 63) << 5 ) in exec_ops()
[all …]
/external/freetype/src/cid/
Dcidparse.h108 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
/external/freetype/src/type1/
Dt1parse.h100 #define T1_ToFixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
/external/harfbuzz_ng/src/
Dhb-cff-interp-common.hh227 int32_t to_fixed () const { return value * 65536.0; } in to_fixed() function
Dhb-subset-cff-common.hh90 int32_t v = n.to_fixed (); in encode_num()
/external/freetype/include/freetype/internal/
Dpsaux.h391 (*to_fixed)( PS_Parser parser, member