Searched refs:to_fixed (Results 1 – 7 of 7) sorted by relevance
/external/skqp/third_party/skcms/src/ |
D | Transform_inl.h | 126 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/ |
D | Transform_inl.h | 131 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/ |
D | cidparse.h | 108 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
|
/external/freetype/src/type1/ |
D | t1parse.h | 100 #define T1_ToFixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
|
/external/harfbuzz_ng/src/ |
D | hb-cff-interp-common.hh | 227 int32_t to_fixed () const { return value * 65536.0; } in to_fixed() function
|
D | hb-subset-cff-common.hh | 90 int32_t v = n.to_fixed (); in encode_num()
|
/external/freetype/include/freetype/internal/ |
D | psaux.h | 391 (*to_fixed)( PS_Parser parser, member
|