Home
last modified time | relevance | path

Searched refs:float_round_to_fixed (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/skia/src/encode/
H A DSkICC.cpp46 SkFixed float_round_to_fixed(float x) { in float_round_to_fixed() function
114 uint32_t illuminant_X = SkEndian_SwapBE32(float_round_to_fixed(kD50_x));
115 uint32_t illuminant_Y = SkEndian_SwapBE32(float_round_to_fixed(kD50_y));
116 uint32_t illuminant_Z = SkEndian_SwapBE32(float_round_to_fixed(kD50_z));
135 SkEndian_SwapBE32(float_round_to_fixed(x)), in write_xyz_tag()
136 SkEndian_SwapBE32(float_round_to_fixed(y)), in write_xyz_tag()
137 SkEndian_SwapBE32(float_round_to_fixed(z)), in write_xyz_tag()
148 data[k++] = SkEndian_SwapBE32(float_round_to_fixed(matrix->vals[i][j])); in write_matrix()
152 data[k++] = SkEndian_SwapBE32(float_round_to_fixed(matrix->vals[i][3])); in write_matrix()
399 SkWStreamWriteU32BE(&s, float_round_to_fixed(fn.g)); in write_trc_tag()
[all …]
/aosp_15_r20/external/libultrahdr/lib/src/
H A Dicc.cpp198 static_cast<uint32_t>(Endian_SwapBE32(float_round_to_fixed(x))), in write_xyz_tag()
199 static_cast<uint32_t>(Endian_SwapBE32(float_round_to_fixed(y))), in write_xyz_tag()
200 static_cast<uint32_t>(Endian_SwapBE32(float_round_to_fixed(z))), in write_xyz_tag()
229 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.g))); in write_trc_tag()
238 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.g))); in write_trc_tag()
239 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.a))); in write_trc_tag()
240 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.b))); in write_trc_tag()
241 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.c))); in write_trc_tag()
242 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.d))); in write_trc_tag()
243 dataStruct->write32(Endian_SwapBE32(float_round_to_fixed(fn.e))); in write_trc_tag()
[all …]
/aosp_15_r20/external/libultrahdr/lib/include/ultrahdr/
H A Dicc.h178 static inline Fixed float_round_to_fixed(float x) { in float_round_to_fixed() function
225 uint32_t illuminant_X = Endian_SwapBE32(float_round_to_fixed(kD50_x));
226 uint32_t illuminant_Y = Endian_SwapBE32(float_round_to_fixed(kD50_y));
227 uint32_t illuminant_Z = Endian_SwapBE32(float_round_to_fixed(kD50_z));