Home
last modified time | relevance | path

Searched refs:stbi__float2fixed (Results 1 - 1 of 1) sorted by relevance

/third_party/astc-encoder/Source/
H A Dstb_image.h3657 #define stbi__float2fixed(x) (((int) ((x) * 4096.0f + 0.5f)) << 8) macro
3666 r = y_fixed + cr* stbi__float2fixed(1.40200f); in stbi__YCbCr_to_RGB_row()
3667 g = y_fixed + (cr*-stbi__float2fixed(0.71414f)) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); in stbi__YCbCr_to_RGB_row()
3668 b = y_fixed + cb* stbi__float2fixed(1.77200f); in stbi__YCbCr_to_RGB_row()
3800 r = y_fixed + cr* stbi__float2fixed(1.40200f); in stbi__YCbCr_to_RGB_simd()
3801 g = y_fixed + cr*-stbi__float2fixed(0.71414f) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); in stbi__YCbCr_to_RGB_simd()
3802 b = y_fixed + cb* stbi__float2fixed(1.77200f); in stbi__YCbCr_to_RGB_simd()

Completed in 14 milliseconds