Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpx_opj.cpp553 std::vector<int> adjust_comps(m_Image->numcomps); in Decode() local
556 adjust_comps[i] = m_Image->comps[i].prec - 8; in Decode()
569 if (adjust_comps[channel] < 0) { in Decode()
581 if (adjust_comps[channel] > 0) { in Decode()
584 *pPixel = static_cast<uint8_t>(src << -adjust_comps[channel]); in Decode()
600 if (adjust_comps[channel] - 1 < 0) { in Decode()
601 *pPixel = static_cast<uint8_t>((src >> adjust_comps[channel])); in Decode()
603 int tmpPixel = (src >> adjust_comps[channel]) + in Decode()
604 ((src >> (adjust_comps[channel] - 1)) % 2); in Decode()