Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dstb_image.h3662 int y_fixed = (y[i] << 20) + (1<<19); // rounding in stbi__YCbCr_to_RGB_row() local
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()
3796 int y_fixed = (y[i] << 20) + (1<<19); // rounding in stbi__YCbCr_to_RGB_simd() local
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 12 milliseconds