Home
last modified time | relevance | path

Searched refs:bsWriter (Results 1 – 2 of 2) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp260 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local
262 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); in adtsWrite_EndRawDataBlock()
263 FDKpushFor(&bsWriter, 56); in adtsWrite_EndRawDataBlock()
266 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
275 FDKpushFor(&bsWriter, hAdts->currentBlock*16); in adtsWrite_EndRawDataBlock()
277 FDKwriteBits(&bsWriter, distance>>3, 16); in adtsWrite_EndRawDataBlock()
280 FDKsyncCache(&bsWriter); in adtsWrite_EndRawDataBlock()
285 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local
288 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); in adtsWrite_EndRawDataBlock()
292 crcIndex = FDKcrcStartReg(&hAdts->crcInfo, &bsWriter, 0); in adtsWrite_EndRawDataBlock()
[all …]
/external/aac/libAACenc/src/
Dmetadata_main.cpp715 FDK_BITSTREAM bsWriter; in WriteDynamicRangeInfoPayload() local
716 FDKinitBitStream(&bsWriter, pExtensionPayload, 16, 0, BS_WRITER); in WriteDynamicRangeInfoPayload()
719 …FDKwriteBits(&bsWriter, pce_tag_present, 1); /* pce_tag_pr… in WriteDynamicRangeInfoPayload()
721 …FDKwriteBits(&bsWriter, 0x0, 4); /* pce_instance… in WriteDynamicRangeInfoPayload()
722 …FDKwriteBits(&bsWriter, 0x0, 4); /* drc_tag_rese… in WriteDynamicRangeInfoPayload()
726 …FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.excluded_chns_present) ? 1 : 0, 1); /* excluded_c… in WriteDynamicRangeInfoPayload()
729 …FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.drc_bands_present) ? 1 : 0, 1); /* drc_bands_… in WriteDynamicRangeInfoPayload()
732 …FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_incr, 4); /* drc_band_inc… in WriteDynamicRangeInfoPayload()
733 …FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_interpolation_scheme, 4); /* drc_interpol… in WriteDynamicRangeInfoPayload()
736 …FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_top[i], 8); /* drc_band_top */ in WriteDynamicRangeInfoPayload()
[all …]