Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/stbi/
H A Dstb_image.c1901 #define float2fixed(x) ((int) ((x) * 65536 + 0.5)) macro
1913 r = y_fixed + cr*float2fixed(1.40200f); in YCbCr_to_RGB_row()
1914 g = y_fixed - cr*float2fixed(0.71414f) - cb*float2fixed(0.34414f); in YCbCr_to_RGB_row()
1915 b = y_fixed + cb*float2fixed(1.77200f); in YCbCr_to_RGB_row()