/external/aac/libMpegTPEnc/src/ |
tpenc_adif.cpp | 121 FDKwriteBits(hBs, adifId[0],8); 122 FDKwriteBits(hBs, adifId[1],8); 123 FDKwriteBits(hBs, adifId[2],8); 124 FDKwriteBits(hBs, adifId[3],8); 127 FDKwriteBits(hBs, copyRightIdPresent ? 1:0,1); 131 FDKwriteBits(hBs,0,1); 134 FDKwriteBits(hBs, originalCopy ? 1:0,1); 135 FDKwriteBits(hBs, home ? 1:0,1); 136 FDKwriteBits(hBs, adif->bVariableRate?1:0, 1); 137 FDKwriteBits(hBs, totalBitRate,23) [all...] |
tpenc_asc.cpp | 245 FDKwriteBits(hBs, instanceTagPCE, 4); /* Element instance tag */ 246 FDKwriteBits(hBs, profile, 2); /* Object type */ 247 FDKwriteBits(hBs, sampleRateIndex, 4); /* Sample rate index*/ 249 FDKwriteBits(hBs, config->num_front_channel_elements, 4); /* Front channel Elements */ 250 FDKwriteBits(hBs, config->num_side_channel_elements , 4); /* No Side Channel Elements */ 251 FDKwriteBits(hBs, config->num_back_channel_elements , 4); /* No Back channel Elements */ 252 FDKwriteBits(hBs, config->num_lfe_channel_elements , 2); /* No Lfe channel elements */ 254 FDKwriteBits(hBs, 0, 3); /* No assoc data elements */ 255 FDKwriteBits(hBs, 0, 4); /* No valid cc elements */ 256 FDKwriteBits(hBs, 0, 1); /* Mono mixdown present * [all...] |
tpenc_adts.cpp | 220 FDKwriteBits(hBitStream, 0xFFF, 12); 221 FDKwriteBits(hBitStream, hAdts->mpeg_id, 1); 222 FDKwriteBits(hBitStream, hAdts->layer, 2); 223 FDKwriteBits(hBitStream, hAdts->protection_absent, 1); 224 FDKwriteBits(hBitStream, hAdts->profile, 2); 225 FDKwriteBits(hBitStream, hAdts->sample_freq_index, 4); 226 FDKwriteBits(hBitStream, hAdts->private_bit, 1); 227 FDKwriteBits(hBitStream, getChannelConfig(hAdts->channel_mode), 3); 228 FDKwriteBits(hBitStream, hAdts->original, 1); 229 FDKwriteBits(hBitStream, hAdts->home, 1) [all...] |
tpenc_latm.cpp | 129 FDKwriteBits(hBs, valueBytes-1, 2 ); /* size of value in Bytes */ 132 FDKwriteBits(hBs, (UCHAR)(value>>((valueBytes-1-i)<<3)), 8); 273 //FDKwriteBits( hAss->hAssemble, hAss->varStreamCnt-1, 4); 302 FDKwriteBits( hBs, hAss->audioMuxVersion, 1 ); /* audioMuxVersion */ 306 FDKwriteBits( hBs, hAss->audioMuxVersionA, 1 ); /* audioMuxVersionA */ 315 FDKwriteBits( hBs, hAss->allStreamsSameTimeFraming ? 1:0, 1 ); /* allStreamsSameTimeFraming */ 316 FDKwriteBits( hBs, hAss->noSubframes-1, 6 ); /* Number of Subframes */ 317 FDKwriteBits( hBs, hAss->noProgram-1, 4 ); /* Number of Programs */ 325 FDKwriteBits( hBs, hAss->noLayer[prog]-1, 3 ); 338 FDKwriteBits( hBs, useSameConfig ? 1 : 0, 1 ) [all...] |
tpenc_lib.cpp | 419 FDKwriteBits(&hTp->bitStream, ID_PCE, 3);
|
/external/aac/libSBRenc/src/ |
bit_sbr.cpp | 316 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 1, 1); 321 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 0, 1); 348 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_amp_res, 350 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_start_frequency, 352 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_stop_frequency, 354 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_xover_band, 357 payloadBits += FDKwriteBits (hBitStream, 0, 360 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_1, 362 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_2, 367 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->freqScale [all...] |
env_bit.cpp | 157 FDKwriteBits (&hCmonData->sbrBitbuf, 0x0, SI_SBR_DRM_CRC_BITS); 161 FDKwriteBits (&hCmonData->sbrBitbuf, 0x0, SI_SBR_CRC_BITS); 200 FDKwriteBits( &hCmonData->tmpWriteBitbuf, FDKcrcGetCRC(hCrcInfo)^0xFF, SI_SBR_DRM_CRC_BITS ); 220 FDKwriteBits(&hCmonData->sbrBitbuf, 0, hCmonData->sbrFillBits ); 244 FDKwriteBits (&hCmonData->tmpWriteBitbuf, crcReg, SI_SBR_CRC_BITS);
|
ps_bitenc.cpp | 103 FDKwriteBits(hBitStream, value, numberOfBits);
|
/external/aac/libAACenc/src/ |
bitenc.cpp | 157 FDKwriteBits(hBitStream,globalGain - scalefac + globalGainOffset-4*(LOG_NORM_PCM-mdctScale),8); 196 FDKwriteBits(hBitStream,icsReservedBit,1); 197 FDKwriteBits(hBitStream,blockType,2); 198 FDKwriteBits(hBitStream, (windowShape == LOL_WINDOW) ? KBD_WINDOW : windowShape,1); 205 FDKwriteBits(hBitStream,maxSfbPerGroup,6); 209 FDKwriteBits(hBitStream, 0, 1); 214 FDKwriteBits(hBitStream,maxSfbPerGroup,4); 217 FDKwriteBits(hBitStream,groupingMask,TRANS_FAC-1); 265 FDKwriteBits(hBitStream,codeBook,sectCbBits); 272 FDKwriteBits(hBitStream,sectEscapeVal,sectLenBits) [all...] |
metadata_main.cpp | 719 FDKwriteBits(&bsWriter, pce_tag_present, 1); /* pce_tag_present */ 721 FDKwriteBits(&bsWriter, 0x0, 4); /* pce_instance_tag */ 722 FDKwriteBits(&bsWriter, 0x0, 4); /* drc_tag_reserved_bits */ 726 FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.excluded_chns_present) ? 1 : 0, 1); /* excluded_chns_present*/ 729 FDKwriteBits(&bsWriter, (pMetadata->mpegDrc.drc_bands_present) ? 1 : 0, 1); /* drc_bands_present */ 732 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_incr, 4); /* drc_band_incr */ 733 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_interpolation_scheme, 4); /* drc_interpolation_scheme */ 736 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.drc_band_top[i], 8); /* drc_band_top */ 741 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.prog_ref_level_present, 1); /* prog_ref_level_present */ 744 FDKwriteBits(&bsWriter, pMetadata->mpegDrc.prog_ref_level, 7); /* prog_ref_level * [all...] |
bit_cnt.cpp | 798 FDKwriteBits(hBitstream,codeWord,codeLength); 810 FDKwriteBits(hBitstream,codeWord,codeLength); 857 FDKwriteBits(hBitstream,codeWord,codeLength); 858 FDKwriteBits(hBitstream,sign,signLength); 904 FDKwriteBits(hBitstream,codeWord,codeLength); 905 FDKwriteBits(hBitstream,sign,signLength); 915 FDKwriteBits(hBitstream,codeWord,codeLength); 925 FDKwriteBits(hBitstream,codeWord,codeLength); 954 FDKwriteBits(hBitstream,codeWord,codeLength); 955 FDKwriteBits(hBitstream,sign,signLength) [all...] |
/external/aac/libFDK/include/ |
FDK_bitstream.h | 330 FDK_INLINE UCHAR FDKwriteBits(HANDLE_FDK_BITSTREAM hBitStream, UINT value,
|