Lines Matching refs:bitDemand

143   int bitDemand = 0;  in transportEnc_LatmCountFixBitDemandHeader()  local
152 bitDemand += 11 ; /* syncword */ in transportEnc_LatmCountFixBitDemandHeader()
153 bitDemand += 13 ; /* audioMuxLengthBytes */ in transportEnc_LatmCountFixBitDemandHeader()
167 bitDemand+=1; in transportEnc_LatmCountFixBitDemandHeader()
170 bitDemand += hAss->streamMuxConfigBits; in transportEnc_LatmCountFixBitDemandHeader()
175 bitDemand += 8*hAss->otherDataLenBytes; in transportEnc_LatmCountFixBitDemandHeader()
178 if ( bitDemand % 8 ) { in transportEnc_LatmCountFixBitDemandHeader()
179 hAss->fillBits = 8 - (bitDemand % 8); in transportEnc_LatmCountFixBitDemandHeader()
180 bitDemand += hAss->fillBits ; in transportEnc_LatmCountFixBitDemandHeader()
186 return bitDemand ; in transportEnc_LatmCountFixBitDemandHeader()
192 int bitDemand = 0; in transportEnc_LatmCountVarBitDemandHeader() local
205 streamDataLength -= bitDemand ; in transportEnc_LatmCountVarBitDemandHeader()
207 bitDemand+=8; in transportEnc_LatmCountVarBitDemandHeader()
210 bitDemand += 8; in transportEnc_LatmCountVarBitDemandHeader()
217 bitDemand += 2; in transportEnc_LatmCountVarBitDemandHeader()
233 bitDemand+=4; in transportEnc_LatmCountVarBitDemandHeader()
242 bitDemand+=4; /* streamID */ in transportEnc_LatmCountVarBitDemandHeader()
245 streamDataLength -= bitDemand ; in transportEnc_LatmCountVarBitDemandHeader()
247 bitDemand+=8; in transportEnc_LatmCountVarBitDemandHeader()
251 bitDemand += 8; in transportEnc_LatmCountVarBitDemandHeader()
269 bitDemand+=4; in transportEnc_LatmCountVarBitDemandHeader()
283 return bitDemand ; in transportEnc_LatmCountVarBitDemandHeader()
645 UINT bitDemand = 0; in transportEnc_LatmCountTotalBitDemandHeader() local
652 bitDemand = transportEnc_LatmCountFixBitDemandHeader ( hAss ); in transportEnc_LatmCountTotalBitDemandHeader()
654bitDemand += transportEnc_LatmCountVarBitDemandHeader ( hAss , streamDataLength /*- bitDemand*/); in transportEnc_LatmCountTotalBitDemandHeader()
660 return bitDemand; in transportEnc_LatmCountTotalBitDemandHeader()