Lines Matching refs:hBs
108 int adifWrite_EncodeHeader(ADIF_INFO *adif, HANDLE_FDK_BITSTREAM hBs, in adifWrite_EncodeHeader() argument
124 UINT alignAnchor = FDKgetValidBits(hBs); in adifWrite_EncodeHeader()
129 FDKwriteBits(hBs, adifId[0], 8); in adifWrite_EncodeHeader()
130 FDKwriteBits(hBs, adifId[1], 8); in adifWrite_EncodeHeader()
131 FDKwriteBits(hBs, adifId[2], 8); in adifWrite_EncodeHeader()
132 FDKwriteBits(hBs, adifId[3], 8); in adifWrite_EncodeHeader()
134 FDKwriteBits(hBs, copyRightIdPresent ? 1 : 0, 1); in adifWrite_EncodeHeader()
138 FDKwriteBits(hBs, 0, 1); in adifWrite_EncodeHeader()
141 FDKwriteBits(hBs, originalCopy ? 1 : 0, 1); in adifWrite_EncodeHeader()
142 FDKwriteBits(hBs, home ? 1 : 0, 1); in adifWrite_EncodeHeader()
143 FDKwriteBits(hBs, adif->bVariableRate ? 1 : 0, 1); in adifWrite_EncodeHeader()
144 FDKwriteBits(hBs, totalBitRate, 23); in adifWrite_EncodeHeader()
147 FDKwriteBits(hBs, 0, 4); in adifWrite_EncodeHeader()
150 FDKwriteBits(hBs, adif_buffer_fullness, 20); in adifWrite_EncodeHeader()
153 transportEnc_writePCE(hBs, adif->cm, adif->samplingRate, adif->instanceTag, in adifWrite_EncodeHeader()