Searched refs:bsWriter (Results 1 – 2 of 2) sorted by relevance
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adts.cpp | 261 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local 263 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock() 265 FDKpushFor(&bsWriter, 56); in adtsWrite_EndRawDataBlock() 268 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock() 277 FDKpushFor(&bsWriter, hAdts->currentBlock * 16); in adtsWrite_EndRawDataBlock() 280 FDKwriteBits(&bsWriter, distance >> 3, 16); in adtsWrite_EndRawDataBlock() 283 FDKsyncCache(&bsWriter); in adtsWrite_EndRawDataBlock() 289 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local 292 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock() 297 crcIndex = FDKcrcStartReg(&hAdts->crcInfo, &bsWriter, 0); in adtsWrite_EndRawDataBlock() [all …]
|
/external/aac/libAACenc/src/ |
D | metadata_main.cpp | 872 FDK_BITSTREAM bsWriter; in WriteDynamicRangeInfoPayload() local 873 FDKinitBitStream(&bsWriter, pExtensionPayload, 16, 0, BS_WRITER); in WriteDynamicRangeInfoPayload() 876 FDKwriteBits(&bsWriter, pce_tag_present, 1); /* pce_tag_present */ in WriteDynamicRangeInfoPayload() 878 FDKwriteBits(&bsWriter, 0x0, 4); /* pce_instance_tag */ in WriteDynamicRangeInfoPayload() 879 FDKwriteBits(&bsWriter, 0x0, 4); /* drc_tag_reserved_bits */ in WriteDynamicRangeInfoPayload() 883 FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.excluded_chns_present) ? 1 : 0, in WriteDynamicRangeInfoPayload() 887 FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.drc_bands_present) ? 1 : 0, in WriteDynamicRangeInfoPayload() 890 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_incr, in WriteDynamicRangeInfoPayload() 892 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_interpolation_scheme, in WriteDynamicRangeInfoPayload() 896 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_top[i], in WriteDynamicRangeInfoPayload() [all …]
|