• Home
  • Raw
  • Download

Lines Matching refs:hBs

1821 PCMDMX_ERROR pcmDmx_Parse(HANDLE_PCM_DOWNMIX self, HANDLE_FDK_BITSTREAM hBs,  in pcmDmx_Parse()  argument
1835 if ((self == NULL) || (hBs == NULL)) { in pcmDmx_Parse()
1840 if ((ancDataBits < minAncBits) || (ancDataBits > FDKgetValidBits(hBs))) { in pcmDmx_Parse()
1848 FDKpushFor(hBs, 16); in pcmDmx_Parse()
1852 if (FDKreadBits(hBs, 8) != ANC_DATA_SYNC_BYTE) { in pcmDmx_Parse()
1857 FDKpushFor(hBs, 4); in pcmDmx_Parse()
1860 /* int numAncBytes = */ FDKreadBits(hBs, 4); in pcmDmx_Parse()
1862 if (FDKreadBit(hBs)) skip4Dmx += 24; in pcmDmx_Parse()
1864 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1866 if (FDKreadBit(hBs)) skip4Dmx += 8; in pcmDmx_Parse()
1868 FDKpushFor(hBs, 2); /* drc presentation mode */ in pcmDmx_Parse()
1869 pBsMetaData->pseudoSurround = (SCHAR)FDKreadBit(hBs); in pcmDmx_Parse()
1870 FDKpushFor(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1874 dmxLvlAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1878 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1881 extDataAvail = FDKreadBit(hBs); in pcmDmx_Parse()
1885 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1887 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1889 if (FDKreadBit(hBs)) skip4Ext += 16; in pcmDmx_Parse()
1892 FDKpushFor(hBs, skip4Dmx); in pcmDmx_Parse()
1896 if (FDKreadBit(hBs)) { /* center_mix_level_on */ in pcmDmx_Parse()
1897 pBsMetaData->cLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1900 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1902 if (FDKreadBit(hBs)) { /* surround_mix_level_on */ in pcmDmx_Parse()
1903 pBsMetaData->sLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1906 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1911 FDKpushFor(hBs, skip4Ext); in pcmDmx_Parse()
1917 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1918 extDmxLvlSt = FDKreadBit(hBs); in pcmDmx_Parse()
1919 extDmxGainSt = FDKreadBit(hBs); in pcmDmx_Parse()
1920 extDmxLfeSt = FDKreadBit(hBs); in pcmDmx_Parse()
1921 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1924 pBsMetaData->dmixIdxA = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1925 pBsMetaData->dmixIdxB = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1926 FDKreadBits(hBs, 2); /* reserved bits */ in pcmDmx_Parse()
1930 pBsMetaData->dmxGainIdx5 = (UCHAR)FDKreadBits(hBs, 7); in pcmDmx_Parse()
1931 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1932 pBsMetaData->dmxGainIdx2 = (UCHAR)FDKreadBits(hBs, 7); in pcmDmx_Parse()
1933 FDKreadBit(hBs); /* reserved bit */ in pcmDmx_Parse()
1937 pBsMetaData->dmixIdxLfe = (UCHAR)FDKreadBits(hBs, 4); in pcmDmx_Parse()
1938 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1944 if ((INT)FDKgetValidBits(hBs) < 0) { in pcmDmx_Parse()
1965 HANDLE_FDK_BITSTREAM hBs = &bs; in pcmDmx_ReadDvbAncData() local
1976 FDKinitBitStream(hBs, pAncDataBuf, MAX_DSE_ANC_BYTES, ancDataBytes * 8, in pcmDmx_ReadDvbAncData()
1979 errorStatus = pcmDmx_Parse(self, hBs, ancDataBytes * 8, isMpeg2); in pcmDmx_ReadDvbAncData()