Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec.cpp1769 int fix_r = g_CMYK[pos] << 8; in AdobeCMYK_to_sRGB1() local
1789 fix_r += (g_CMYK[pos] - g_CMYK[c1_pos]) * c_rate / 32; in AdobeCMYK_to_sRGB1()
1793 fix_r += (g_CMYK[pos] - g_CMYK[m1_pos]) * m_rate / 32; in AdobeCMYK_to_sRGB1()
1797 fix_r += (g_CMYK[pos] - g_CMYK[y1_pos]) * y_rate / 32; in AdobeCMYK_to_sRGB1()
1801 fix_r += (g_CMYK[pos] - g_CMYK[k1_pos]) * k_rate / 32; in AdobeCMYK_to_sRGB1()
1804 fix_r = std::max(fix_r, 0); in AdobeCMYK_to_sRGB1()
1807 return std::make_tuple(fix_r >> 8, fix_g >> 8, fix_b >> 8); in AdobeCMYK_to_sRGB1()