File: revcodecf.c

package info (click to toggle)
c-blosc2 2.23.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,060 kB
  • sloc: ansic: 46,362; python: 332; lisp: 82; makefile: 36; sh: 3
file content (11 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
/* inverse block-floating-point transform from signed integers */
static void
_t1(rev_inv_cast, Scalar)(const Int* iblock, Scalar* fblock, uint n, int emax)
{
  /* test for all-zero block, which needs special treatment */
  if (emax != -EBIAS)
    _t1(inv_cast, Scalar)(iblock, fblock, n, emax);
  else
    while (n--)
      *fblock++ = 0;
}