Lines Matching refs:hBs
1654 HANDLE_FDK_BITSTREAM hBs, in pcmDmx_Parse() argument
1668 || (hBs == NULL) ) { return (PCMDMX_INVALID_HANDLE); } in pcmDmx_Parse()
1670 ancDataBits = FDKgetValidBits(hBs); in pcmDmx_Parse()
1674 || (ancDataBits > FDKgetValidBits(hBs)) ) { in pcmDmx_Parse()
1682 FDKpushFor(hBs, 16); in pcmDmx_Parse()
1686 if (FDKreadBits(hBs,8) != ANC_DATA_SYNC_BYTE) { in pcmDmx_Parse()
1691 FDKpushFor(hBs, 4); in pcmDmx_Parse()
1694 /* int numAncBytes = */ FDKreadBits(hBs, 4); in pcmDmx_Parse()
1696 if (FDKreadBit(hBs)) skip4Dmx += 24; in pcmDmx_Parse()
1698 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1700 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1702 FDKpushFor(hBs, 2); /* drc presentation mode */ in pcmDmx_Parse()
1703 pBsMetaData->pseudoSurround = FDKreadBit(hBs); in pcmDmx_Parse()
1704 FDKpushFor(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1708 dmxLvlAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1712 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1715 extDataAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1719 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1721 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1723 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1726 FDKpushFor(hBs, skip4Dmx); in pcmDmx_Parse()
1731 if (FDKreadBit(hBs)) { /* center_mix_level_on */ in pcmDmx_Parse()
1732 pBsMetaData->cLevIdx = FDKreadBits(hBs, 3); in pcmDmx_Parse()
1735 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1737 if (FDKreadBit(hBs)) { /* surround_mix_level_on */ in pcmDmx_Parse()
1738 pBsMetaData->sLevIdx = FDKreadBits(hBs, 3); in pcmDmx_Parse()
1741 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1746 FDKpushFor(hBs, skip4Ext); in pcmDmx_Parse()
1752 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1753 extDmxLvlSt = FDKreadBit(hBs); in pcmDmx_Parse()
1754 extDmxGainSt = FDKreadBit(hBs); in pcmDmx_Parse()
1755 extDmxLfeSt = FDKreadBit(hBs); in pcmDmx_Parse()
1756 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1759 pBsMetaData->dmixIdxA = FDKreadBits(hBs, 3); in pcmDmx_Parse()
1760 pBsMetaData->dmixIdxB = FDKreadBits(hBs, 3); in pcmDmx_Parse()
1761 FDKreadBits(hBs, 2); /* reserved bits */ in pcmDmx_Parse()
1765 pBsMetaData->dmxGainIdx5 = FDKreadBits(hBs, 7); in pcmDmx_Parse()
1766 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1767 pBsMetaData->dmxGainIdx2 = FDKreadBits(hBs, 7); in pcmDmx_Parse()
1768 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1772 pBsMetaData->dmixIdxLfe = FDKreadBits(hBs, 4); in pcmDmx_Parse()
1773 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1779 if ((INT)FDKgetValidBits(hBs) < 0) { in pcmDmx_Parse()
1805 HANDLE_FDK_BITSTREAM hBs = &bs; in pcmDmx_ReadDvbAncData() local
1816 FDKinitBitStream (hBs, pAncDataBuf, MAX_DSE_ANC_BYTES, ancDataBytes*8, BS_READER); in pcmDmx_ReadDvbAncData()
1820 hBs, in pcmDmx_ReadDvbAncData()