Lines Matching refs:hBs
1849 PCMDMX_ERROR pcmDmx_Parse(HANDLE_PCM_DOWNMIX self, HANDLE_FDK_BITSTREAM hBs, in pcmDmx_Parse() argument
1863 if ((self == NULL) || (hBs == NULL)) { in pcmDmx_Parse()
1868 if ((ancDataBits < minAncBits) || (ancDataBits > FDKgetValidBits(hBs))) { in pcmDmx_Parse()
1876 FDKpushFor(hBs, 16); in pcmDmx_Parse()
1880 if (FDKreadBits(hBs, 8) != ANC_DATA_SYNC_BYTE) { in pcmDmx_Parse()
1885 FDKpushFor(hBs, 4); in pcmDmx_Parse()
1888 /* int numAncBytes = */ FDKreadBits(hBs, 4); in pcmDmx_Parse()
1890 if (FDKreadBit(hBs)) skip4Dmx += 24; in pcmDmx_Parse()
1892 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1894 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1896 FDKpushFor(hBs, 2); /* drc presentation mode */ in pcmDmx_Parse()
1897 pBsMetaData->pseudoSurround = (SCHAR)FDKreadBit(hBs); in pcmDmx_Parse()
1898 FDKpushFor(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1902 dmxLvlAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1906 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1909 extDataAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1913 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1915 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1917 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1920 FDKpushFor(hBs, skip4Dmx); in pcmDmx_Parse()
1924 if (FDKreadBit(hBs)) { /* center_mix_level_on */ in pcmDmx_Parse()
1925 pBsMetaData->cLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1928 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1930 if (FDKreadBit(hBs)) { /* surround_mix_level_on */ in pcmDmx_Parse()
1931 pBsMetaData->sLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1934 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1939 FDKpushFor(hBs, skip4Ext); in pcmDmx_Parse()
1945 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1946 extDmxLvlSt = FDKreadBit(hBs); in pcmDmx_Parse()
1947 extDmxGainSt = FDKreadBit(hBs); in pcmDmx_Parse()
1948 extDmxLfeSt = FDKreadBit(hBs); in pcmDmx_Parse()
1949 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1952 pBsMetaData->dmixIdxA = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1953 pBsMetaData->dmixIdxB = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1954 FDKreadBits(hBs, 2); /* reserved bits */ in pcmDmx_Parse()
1958 pBsMetaData->dmxGainIdx5 = (UCHAR)FDKreadBits(hBs, 7); in pcmDmx_Parse()
1959 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1960 pBsMetaData->dmxGainIdx2 = (UCHAR)FDKreadBits(hBs, 7); in pcmDmx_Parse()
1961 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1965 pBsMetaData->dmixIdxLfe = (UCHAR)FDKreadBits(hBs, 4); in pcmDmx_Parse()
1966 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1972 if ((INT)FDKgetValidBits(hBs) < 0) { in pcmDmx_Parse()
1993 HANDLE_FDK_BITSTREAM hBs = &bs; in pcmDmx_ReadDvbAncData() local
2004 FDKinitBitStream(hBs, pAncDataBuf, MAX_DSE_ANC_BYTES, ancDataBytes * 8, in pcmDmx_ReadDvbAncData()
2007 errorStatus = pcmDmx_Parse(self, hBs, ancDataBytes * 8, isMpeg2); in pcmDmx_ReadDvbAncData()