Lines Matching refs:lav
112 ERROR_t sym_restoreIPD(HANDLE_FDK_BITSTREAM strm, int lav, SCHAR data[2]) { in sym_restoreIPD() argument
116 if (sum_val > lav) { in sym_restoreIPD()
117 data[0] = -sum_val + (2 * lav + 1); in sym_restoreIPD()
273 static ERROR_t sym_restore(HANDLE_FDK_BITSTREAM strm, int lav, SCHAR data[2]) { in sym_restore() argument
279 if (sum_val > lav) { in sym_restore()
280 data[0] = -sum_val + (2 * lav + 1); in sym_restore()
393 int i = 0, lav = 0, escape = 0, escCntr = 0; in huff_dec_2D() local
411 lav = 2 * data + 3; /* 3, 5, 7, 9 */ in huff_dec_2D()
415 lav = 2 * data + 1; /* 1, 3, 5, 7 */ in huff_dec_2D()
419 lav = 3 * data + 3; in huff_dec_2D()
427 lav = 2 * data + 1; /* 1, 3, 5, 7 */ in huff_dec_2D()
452 switch (lav) { in huff_dec_2D()
472 switch (lav) { in huff_dec_2D()
492 switch (lav) { in huff_dec_2D()
509 switch (lav) { in huff_dec_2D()
542 if ((err = sym_restoreIPD(strm, lav, out_data[i])) != HUFFDEC_OK) { in huff_dec_2D()
546 if ((err = sym_restore(strm, lav, out_data[i])) != HUFFDEC_OK) { in huff_dec_2D()
555 (2 * lav + 1))) != HUFFDEC_OK) { in huff_dec_2D()
560 out_data[escIdx[i]][0] = esc_data[0][i] - lav; in huff_dec_2D()
561 out_data[escIdx[i]][1] = esc_data[1][i] - lav; in huff_dec_2D()