Lines Matching refs:hBs

219 int transportEnc_writePCE(HANDLE_FDK_BITSTREAM hBs,  in transportEnc_writePCE()  argument
245 FDKwriteBits(hBs, instanceTagPCE, 4); /* Element instance tag */ in transportEnc_writePCE()
246 FDKwriteBits(hBs, profile, 2); /* Object type */ in transportEnc_writePCE()
247 FDKwriteBits(hBs, sampleRateIndex, 4); /* Sample rate index*/ in transportEnc_writePCE()
249 FDKwriteBits(hBs, config->num_front_channel_elements, 4); /* Front channel Elements */ in transportEnc_writePCE()
250 FDKwriteBits(hBs, config->num_side_channel_elements , 4); /* No Side Channel Elements */ in transportEnc_writePCE()
251 FDKwriteBits(hBs, config->num_back_channel_elements , 4); /* No Back channel Elements */ in transportEnc_writePCE()
252 FDKwriteBits(hBs, config->num_lfe_channel_elements , 2); /* No Lfe channel elements */ in transportEnc_writePCE()
254 FDKwriteBits(hBs, 0, 3); /* No assoc data elements */ in transportEnc_writePCE()
255 FDKwriteBits(hBs, 0, 4); /* No valid cc elements */ in transportEnc_writePCE()
256 FDKwriteBits(hBs, 0, 1); /* Mono mixdown present */ in transportEnc_writePCE()
257 FDKwriteBits(hBs, 0, 1); /* Stereo mixdown present */ in transportEnc_writePCE()
260 FDKwriteBits(hBs, 1, 1); /* Matrix mixdown present */ in transportEnc_writePCE()
261 FDKwriteBits(hBs, (matrixMixdownA-1)&0x3, 2); /* matrix_mixdown_idx */ in transportEnc_writePCE()
262 FDKwriteBits(hBs, (pseudoSurroundEnable)?1:0, 1); /* pseudo_surround_enable */ in transportEnc_writePCE()
265 FDKwriteBits(hBs, 0, 1); /* Matrix mixdown not present */ in transportEnc_writePCE()
271 FDKwriteBits(hBs, isCpe, 1); /* Front channel Elements is CPE? */ in transportEnc_writePCE()
272 FDKwriteBits(hBs, tag, 4); /* Front channel Instance Tag.*/ in transportEnc_writePCE()
277 FDKwriteBits(hBs, isCpe, 1); /* Front channel Elements is CPE? */ in transportEnc_writePCE()
278 FDKwriteBits(hBs, tag, 4); /* Front channel Instance Tag.*/ in transportEnc_writePCE()
283 FDKwriteBits(hBs, isCpe, 1); /* Front channel Elements is CPE? */ in transportEnc_writePCE()
284 FDKwriteBits(hBs, tag, 4); /* Front channel Instance Tag.*/ in transportEnc_writePCE()
287 FDKwriteBits(hBs, lfeCnt++, 4); /* LFE channel Instance Tag. */ in transportEnc_writePCE()
297 FDKbyteAlign(hBs, alignAnchor); /* Alignment */ in transportEnc_writePCE()
299 FDKwriteBits(hBs, 0 ,8); /* Do no write any comment. */ in transportEnc_writePCE()
410 HANDLE_FDK_BITSTREAM hBs, in transportEnc_writeELDSpecificConfig() argument
420 FDKwriteBits(hBs, (config->samplesPerFrame == 480) ? 1 : 0, 1); in transportEnc_writeELDSpecificConfig()
422 FDKwriteBits(hBs, (config->flags & CC_VCB11 ) ? 1:0, 1); in transportEnc_writeELDSpecificConfig()
423 FDKwriteBits(hBs, (config->flags & CC_RVLC ) ? 1:0, 1); in transportEnc_writeELDSpecificConfig()
424 FDKwriteBits(hBs, (config->flags & CC_HCR ) ? 1:0, 1); in transportEnc_writeELDSpecificConfig()
426 FDKwriteBits(hBs, (config->flags & CC_SBR) ? 1:0, 1); /* SBR header flag */ in transportEnc_writeELDSpecificConfig()
428 …FDKwriteBits(hBs, (config->samplingRate == config->extSamplingRate) ? 0:1, 1); /* Samplerate Flag … in transportEnc_writeELDSpecificConfig()
429 FDKwriteBits(hBs, (config->flags & CC_SBRCRC) ? 1:0, 1); /* SBR CRC flag*/ in transportEnc_writeELDSpecificConfig()
439 cb->cbSbr(cb->cbSbrData, hBs, 0, 0, 0, config->aot, pPce->el_list[e], e); in transportEnc_writeELDSpecificConfig()
445 FDKwriteBits(hBs, 0, 4); /* ELDEXT_TERM */ in transportEnc_writeELDSpecificConfig()