Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec.cpp1770 int fix_g = g_CMYK[pos + 1] << 8; in AdobeCMYK_to_sRGB1() local
1790 fix_g += (g_CMYK[pos + 1] - g_CMYK[c1_pos + 1]) * c_rate / 32; in AdobeCMYK_to_sRGB1()
1794 fix_g += (g_CMYK[pos + 1] - g_CMYK[m1_pos + 1]) * m_rate / 32; in AdobeCMYK_to_sRGB1()
1798 fix_g += (g_CMYK[pos + 1] - g_CMYK[y1_pos + 1]) * y_rate / 32; in AdobeCMYK_to_sRGB1()
1802 fix_g += (g_CMYK[pos + 1] - g_CMYK[k1_pos + 1]) * k_rate / 32; in AdobeCMYK_to_sRGB1()
1805 fix_g = std::max(fix_g, 0); in AdobeCMYK_to_sRGB1()
1807 return std::make_tuple(fix_r >> 8, fix_g >> 8, fix_b >> 8); in AdobeCMYK_to_sRGB1()