Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/jpx/
Dcjpx_decoder.cpp507 std::vector<int> adjust_comps(m_Image->numcomps); in Decode() local
510 adjust_comps[i] = m_Image->comps[i].prec - 8; in Decode()
526 if (adjust_comps[channel] < 0) { in Decode()
538 if (adjust_comps[channel] > 0) { in Decode()
541 *pPixel = static_cast<uint8_t>(src << -adjust_comps[channel]); in Decode()
557 if (adjust_comps[channel] - 1 < 0) { in Decode()
558 *pPixel = static_cast<uint8_t>((src >> adjust_comps[channel])); in Decode()
560 int tmpPixel = (src >> adjust_comps[channel]) + in Decode()
561 ((src >> (adjust_comps[channel] - 1)) % 2); in Decode()