Home
last modified time | relevance | path

Searched refs:hTpEnc (Results 1 – 9 of 9) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp158 HANDLE_TRANSPORTENC hTpEnc; in transportEnc_Open() local
164 hTpEnc = GetRam_TransportEncoder(0); in transportEnc_Open()
166 if (hTpEnc == NULL) { in transportEnc_Open()
170 *phTpEnc = hTpEnc; in transportEnc_Open()
251 TRANSPORTENC_ERROR transportEnc_Init(HANDLE_TRANSPORTENC hTpEnc, in transportEnc_Init() argument
256 FDKmemcpy(&hTpEnc->config, cconfig, sizeof(CODER_CONFIG)); in transportEnc_Init()
259 hTpEnc->transportFmt = transportFmt; in transportEnc_Init()
261 hTpEnc->bsBuffer = bsBuffer; in transportEnc_Init()
262 hTpEnc->bsBufferSize = bsBufferSize; in transportEnc_Init()
264 FDKinitBitStream(&hTpEnc->bitStream, hTpEnc->bsBuffer, hTpEnc->bsBufferSize, in transportEnc_Init()
[all …]
/external/aac/libMpegTPEnc/include/
Dtpenc_lib.h159 int transportEnc_RegisterSbrCallback(HANDLE_TRANSPORTENC hTpEnc,
171 int transportEnc_RegisterUsacCallback(HANDLE_TRANSPORTENC hTpEnc,
182 int transportEnc_RegisterSscCallback(HANDLE_TRANSPORTENC hTpEnc,
217 TRANSPORTENC_ERROR transportEnc_Init(HANDLE_TRANSPORTENC hTpEnc,
228 TRANSPORTENC_ERROR transportEnc_AddOtherDataBits(HANDLE_TRANSPORTENC hTpEnc,
292 TRANSPORTENC_ERROR transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc,
305 int transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits);
313 void transportEnc_CrcEndReg(HANDLE_TRANSPORTENC hTpEnc, int reg);
326 TRANSPORTENC_ERROR transportEnc_GetConf(HANDLE_TRANSPORTENC hTpEnc,
/external/aac/libAACenc/src/
Dbitenc.cpp722 static INT FDKaacEnc_writeDataStreamElement(HANDLE_TRANSPORTENC hTpEnc, in FDKaacEnc_writeDataStreamElement() argument
760 if (hTpEnc != NULL) { in FDKaacEnc_writeDataStreamElement()
761 HANDLE_FDK_BITSTREAM hBitStream = transportEnc_GetBitstream(hTpEnc); in FDKaacEnc_writeDataStreamElement()
766 crcReg = transportEnc_CrcStartReg(hTpEnc, 0); in FDKaacEnc_writeDataStreamElement()
791 transportEnc_CrcEndReg(hTpEnc, crcReg); in FDKaacEnc_writeDataStreamElement()
807 INT FDKaacEnc_writeExtensionData(HANDLE_TRANSPORTENC hTpEnc, in FDKaacEnc_writeExtensionData() argument
821 if (hTpEnc != NULL) { in FDKaacEnc_writeExtensionData()
822 hBitStream = transportEnc_GetBitstream(hTpEnc); in FDKaacEnc_writeExtensionData()
855 hTpEnc, elInstanceTag, pExtension->nPayloadBits >> 3, in FDKaacEnc_writeExtensionData()
917 HANDLE_TRANSPORTENC hTpEnc, ELEMENT_INFO *pElInfo, in FDKaacEnc_ChannelElementWrite() argument
[all …]
Dbitenc.h153 HANDLE_TRANSPORTENC hTpEnc, ELEMENT_INFO *pElInfo,
171 AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc,
178 INT FDKaacEnc_writeExtensionData(HANDLE_TRANSPORTENC hTpEnc,
Daacenc.cpp148 INT FDKaacEnc_LimitBitrate(HANDLE_TRANSPORTENC hTpEnc, AUDIO_OBJECT_TYPE aot, in FDKaacEnc_LimitBitrate() argument
169 if (hTpEnc != NULL) { in FDKaacEnc_LimitBitrate()
170 transportBits = transportEnc_GetStaticBits(hTpEnc, averageBitsPerFrame); in FDKaacEnc_LimitBitrate()
389 HANDLE_TRANSPORTENC hTpEnc, ULONG initFlags) { in FDKaacEnc_Initialize() argument
437 hTpEnc, config->audioObjectType, config->sampleRate, in FDKaacEnc_Initialize()
589 hTpEnc, ((averageBitsPerFrame + 7) & ~7) + qcInit.bitRes)); in FDKaacEnc_Initialize()
595 transportEnc_GetStaticBits(hTpEnc, qcInit.maxBits)) & in FDKaacEnc_Initialize()
695 hTpEnc, qcInit.averageBits / qcInit.nSubFrames); in FDKaacEnc_Initialize()
730 HANDLE_TRANSPORTENC hTpEnc, INT_PCM *RESTRICT inputBuffer, in FDKaacEnc_EncodeFrame() argument
900 hTpEnc, avgTotalBits + hAacEnc->qcKernel->bitResTot); in FDKaacEnc_EncodeFrame()
[all …]
Daacenc.h311 INT FDKaacEnc_LimitBitrate(HANDLE_TRANSPORTENC hTpEnc, AUDIO_OBJECT_TYPE aot,
363 HANDLE_TRANSPORTENC hTpEnc, ULONG initFlags);
375 HANDLE_TRANSPORTENC hTpEnc, INT_PCM *inputBuffer,
Daacenc_lib.cpp247 HANDLE_TRANSPORTENC hTpEnc; member
709 static INT aacEncoder_LimitBitrate(const HANDLE_TRANSPORTENC hTpEnc, in aacEncoder_LimitBitrate() argument
731 bitRate = FDKaacEnc_LimitBitrate(hTpEnc, aot, coreSamplingRate, frameLength, in aacEncoder_LimitBitrate()
1379 if (transportEnc_Init(hAacEncoder->hTpEnc, hAacEncoder->outBuffer, in aacEncInit()
1392 hAacEncoder->hAacEnc, hAacConfig, hAacEncoder->hTpEnc, in aacEncInit()
1587 if (transportEnc_Open(&hAacEncoder->hTpEnc) != 0) { in aacEncOpen()
1604 if (transportEnc_RegisterSbrCallback(hAacEncoder->hTpEnc, aacenc_SbrCallback, in aacEncOpen()
1609 if (transportEnc_RegisterSscCallback(hAacEncoder->hTpEnc, aacenc_SscCallback, in aacEncOpen()
1667 transportEnc_Close(&hAacEncoder->hTpEnc); in aacEncClose()
1944 if (FDKaacEnc_EncodeFrame(hAacEncoder->hAacEnc, hAacEncoder->hTpEnc, in aacEncEncode()
[all …]
Dqc_main.h148 QC_OUT_ELEMENT **qcElement, HANDLE_TRANSPORTENC hTpEnc,
Dqc_main.cpp1301 QC_OUT_ELEMENT** qcElement, HANDLE_TRANSPORTENC hTpEnc, in FDKaacEnc_FinalizeBitConsumption() argument
1314 INT exactTpBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); in FDKaacEnc_FinalizeBitConsumption()
1346 transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); in FDKaacEnc_FinalizeBitConsumption()
1360 qcKernel->globHdrBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits); in FDKaacEnc_FinalizeBitConsumption()