Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libjasper/
Djas_image.c111 static long convert(long val, int oldsgnd, int oldprec, int newsgnd,
1242 static long convert(long val, int oldsgnd, int oldprec, int newsgnd, in convert() argument
1247 if (newprec != oldprec) { in convert()
1248 if (newprec > oldprec) { in convert()
1249 val <<= newprec - oldprec; in convert()
1250 } else if (oldprec > newprec) { in convert()
1251 val >>= oldprec - newprec; in convert()