Lines Matching refs:hBs
119 static int get_vlclbf(HANDLE_FDK_BITSTREAM hBs) { in get_vlclbf() argument
122 while (FDKreadBits(hBs, 1) && result <= NQ_MAX) { in get_vlclbf()
134 static int get_vlclbf_n(HANDLE_FDK_BITSTREAM hBs, int n) { in get_vlclbf_n() argument
137 while (FDKreadBits(hBs, 1)) { in get_vlclbf_n()
581 static void decode_qn(HANDLE_FDK_BITSTREAM hBs, int nk_mode, int nqn, in decode_qn() argument
589 qn[n] = get_vlclbf(hBs); in decode_qn()
597 qn[n] = 2 + FDKreadBits(hBs, 2); in decode_qn()
604 qn[n] = get_vlclbf(hBs); in decode_qn()
613 qn[n] = get_vlclbf(hBs); in decode_qn()
671 HANDLE_FDK_BITSTREAM hBs, /* input: codebook index */ in vlpc_1st_dec() argument
677 index = FDKreadBits(hBs, 8); in vlpc_1st_dec()
694 HANDLE_FDK_BITSTREAM hBs, in vlpc_2st_dec() argument
702 { err = CLpc_DecodeAVQ(hBs, xq, nk_mode, 2, 8); } in vlpc_2st_dec()
721 int CLpc_DecodeAVQ(HANDLE_FDK_BITSTREAM hBs, FIXP_DBL *pOutput, int nk_mode, in CLpc_DecodeAVQ() argument
729 decode_qn(hBs, nk_mode, no_qn, qn); in CLpc_DecodeAVQ()
745 I = FDKreadBits(hBs, 4 * n); in CLpc_DecodeAVQ()
751 kv[j] = FDKreadBits(hBs, nk); in CLpc_DecodeAVQ()
763 int CLpc_Read(HANDLE_FDK_BITSTREAM hBs, FIXP_LPC lsp[][M_LP_FILTER_ORDER], in CLpc_Read() argument
781 vlpc_1st_dec(hBs, lsp[4 >> s]); in CLpc_Read()
782 err = vlpc_2st_dec(hBs, lsp[4 >> s], 0); /* nk_mode = 0 */ in CLpc_Read()
809 mode_lpc_bin = FDKreadBit(hBs); in CLpc_Read()
813 vlpc_1st_dec(hBs, lsp[k >> s]); in CLpc_Read()
822 err = vlpc_2st_dec(hBs, lsp[k >> s], nk_mode); in CLpc_Read()
831 mode_lpc_bin = get_vlclbf_n(hBs, 2); in CLpc_Read()
836 vlpc_1st_dec(hBs, lsp[1]); in CLpc_Read()
837 err = vlpc_2st_dec(hBs, lsp[1], 0); in CLpc_Read()
859 err = vlpc_2st_dec(hBs, lsp[1], 2 << s); in CLpc_Read()
872 mode_lpc_bin = get_vlclbf_n(hBs, 3); in CLpc_Read()
877 vlpc_1st_dec(hBs, lsp[3]); in CLpc_Read()
901 err = vlpc_2st_dec(hBs, lsp[3], nk_mode); in CLpc_Read()