/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_lib.cpp | 153 HANDLE_TRANSPORTENC hTpEnc; local 159 hTpEnc = GetRam_TransportEncoder(0); 161 if ( hTpEnc == NULL ) { 165 *phTpEnc = hTpEnc; 241 HANDLE_TRANSPORTENC hTpEnc, 250 FDKmemcpy(&hTpEnc->config, cconfig, sizeof(CODER_CONFIG)); 253 hTpEnc->transportFmt = transportFmt; 255 hTpEnc->bsBuffer = bsBuffer; 256 hTpEnc->bsBufferSize = bsBufferSize; 258 FDKinitBitStream(&hTpEnc 240 transportEnc_Init( HANDLE_TRANSPORTENC hTpEnc, UCHAR *bsBuffer, INT bsBufferSize, TRANSPORT_TYPE transportFmt, CODER_CONFIG *cconfig, UINT flags ) argument 336 transportEnc_RegisterSbrCallback( HANDLE_TRANSPORTENC hTpEnc, const cbSbr_t cbSbr, void* user_data) argument 468 transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc, int *nbytes) argument 547 transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits) argument 562 transportEnc_CrcEndReg(HANDLE_TRANSPORTENC hTpEnc, int reg) argument 574 transportEnc_GetConf(HANDLE_TRANSPORTENC hTpEnc, CODER_CONFIG *cc, FDK_BITSTREAM *dataBuffer, UINT *confType) argument [all...] |
/external/aac/libAACenc/src/ |
H A D | aacenc.cpp | 117 HANDLE_TRANSPORTENC hTpEnc, 145 if (hTpEnc != NULL) { 146 transportBits = transportEnc_GetStaticBits(hTpEnc, averageBitsPerFrame); 378 HANDLE_TRANSPORTENC hTpEnc, 428 hTpEnc, 577 qcInit.minBits = fixMax(0, ((averageBitsPerFrame-1)&~7)-qcInit.bitRes-transportEnc_GetStaticBits(hTpEnc, ((averageBitsPerFrame+7)&~7)+qcInit.bitRes)); 646 qcInit.staticBits = transportEnc_GetStaticBits(hTpEnc, qcInit.averageBits/qcInit.nSubFrames); 688 HANDLE_TRANSPORTENC hTpEnc, 878 hAacEnc->qcKernel->globHdrBits = transportEnc_GetStaticBits(hTpEnc, avgTotalBits + hAacEnc->qcKernel->bitResTot); 911 hTpEnc, 116 FDKaacEnc_LimitBitrate( HANDLE_TRANSPORTENC hTpEnc, INT coreSamplingRate, INT frameLength, INT nChannels, INT nChannelsEff, INT bitRate, INT averageBits, INT *pAverageBitsPerFrame, INT bitrateMode, INT nSubFrames ) argument 376 FDKaacEnc_Initialize(HANDLE_AAC_ENC hAacEnc, AACENC_CONFIG *config, HANDLE_TRANSPORTENC hTpEnc, ULONG initFlags) argument 687 FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc, HANDLE_TRANSPORTENC hTpEnc, INT_PCM* RESTRICT inputBuffer, INT* nOutBytes, AACENC_EXT_PAYLOAD extPayload[MAX_TOTAL_EXT_PAYLOADS] ) argument [all...] |
H A D | bitenc.cpp | 735 static INT FDKaacEnc_writeDataStreamElement( HANDLE_TRANSPORTENC hTpEnc, argument 775 if (hTpEnc != NULL) { 776 HANDLE_FDK_BITSTREAM hBitStream = transportEnc_GetBitstream(hTpEnc); 781 crcReg = transportEnc_CrcStartReg(hTpEnc, 0); 805 transportEnc_CrcEndReg(hTpEnc, crcReg); 822 INT FDKaacEnc_writeExtensionData( HANDLE_TRANSPORTENC hTpEnc, argument 839 if (hTpEnc != NULL) { 840 hBitStream = transportEnc_GetBitstream(hTpEnc); 922 extBitsUsed += FDKaacEnc_writeDataStreamElement( hTpEnc, 989 AAC_ENCODER_ERROR FDKaacEnc_ChannelElementWrite( HANDLE_TRANSPORTENC hTpEnc, argument 1281 FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, CHANNEL_MAPPING *channelMapping, QC_OUT *qcOut, PSY_OUT* psyOut, QC_STATE *qcKernel, AUDIO_OBJECT_TYPE aot, UINT syntaxFlags, SCHAR epConfig ) argument [all...] |
H A D | qc_main.cpp | 1366 HANDLE_TRANSPORTENC hTpEnc, 1381 INT exactTpBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); 1408 qcKernel->globHdrBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); 1421 qcKernel->globHdrBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); 1362 FDKaacEnc_FinalizeBitConsumption(CHANNEL_MAPPING *cm, QC_STATE *qcKernel, QC_OUT *qcOut, QC_OUT_ELEMENT** qcElement, HANDLE_TRANSPORTENC hTpEnc, AUDIO_OBJECT_TYPE aot, UINT syntaxFlags, SCHAR epConfig) argument
|
H A D | aacenc_lib.cpp | 201 HANDLE_TRANSPORTENC hTpEnc; member in struct:AACENCODER 643 const HANDLE_TRANSPORTENC hTpEnc, 680 hTpEnc, 1144 if ( transportEnc_Init(hAacEncoder->hTpEnc, hAacEncoder->outBuffer, hAacEncoder->outBufferInBytes, config->userTpType, &hAacEncoder->coderConfig, flags) != 0) { 1159 hAacEncoder->hTpEnc, 1321 if ( transportEnc_Open(&hAacEncoder->hTpEnc) != 0 ) 1337 if ( transportEnc_RegisterSbrCallback(hAacEncoder->hTpEnc, aacenc_SbrCallback, hAacEncoder) != 0 ) { 1393 transportEnc_Close(&hAacEncoder->hTpEnc); 1628 hAacEncoder->hTpEnc, 1702 err = transportEnc_GetConf(hAacEncoder->hTpEnc, 642 aacEncoder_LimitBitrate( const HANDLE_TRANSPORTENC hTpEnc, const INT samplingRate, const INT frameLength, const INT nChannels, const CHANNEL_MODE channelMode, INT bitRate, const INT nSubFrames, const INT sbrActive, const INT sbrDownSampleRate, const AUDIO_OBJECT_TYPE aot ) argument [all...] |