Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 25 of 62) sorted by relevance

123

/external/aac/libAACenc/src/
Dadj_thr.cpp320 const INT nChannels, const INT sampleRate, const INT advancedBitsToPe, in FDKaacEnc_InitBits2PeFactor() argument
327 if (advancedBitsToPe && nChannels <= (2)) { in FDKaacEnc_InitBits2PeFactor()
364 startPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
365 stopPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
372 startPF = peTab[i].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
373 stopPF = peTab[i + 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
413 if ((bitRate / nChannels > 32000) && (bitRate / nChannels <= 40000)) { in FDKaacEnc_InitBits2PeFactor()
415 } else if (bitRate / nChannels > 20000) { in FDKaacEnc_InitBits2PeFactor()
417 } else if (bitRate / nChannels >= 16000) { in FDKaacEnc_InitBits2PeFactor()
446 const PSY_OUT_CHANNEL *const psyOutChannel[(2)], const INT nChannels) { in FDKaacEnc_calcThreshExp() argument
[all …]
Dmetadata_main.cpp192 INT nChannels; member
264 const AACENC_MetaData* const hMetadata, const INT nChannels,
451 const UINT sampleRate, const UINT nChannels, const CHANNEL_MODE channelMode, in FDK_MetadataEnc_Init() argument
466 if ((nChannels > (8)) || (nChannels > hMetaData->maxChannels) || in FDK_MetadataEnc_Init()
501 if ((INT)nChannels != 2) { in FDK_MetadataEnc_Init()
513 if (hMetaData->nChannels >= 2) { in FDK_MetadataEnc_Init()
532 i = (hMetaData->nChannels > (INT)nChannels) in FDK_MetadataEnc_Init()
539 hMetaData->pAudioDelayBuffer[i * hMetaData->nChannels + src[c]]; in FDK_MetadataEnc_Init()
542 FDKmemcpy(&hMetaData->pAudioDelayBuffer[i * nChannels], in FDK_MetadataEnc_Init()
543 scratch_audioDelayBuffer, nChannels * sizeof(INT_PCM)); in FDK_MetadataEnc_Init()
[all …]
Dqc_main.cpp160 static void FDKaacEnc_crashRecovery(INT nChannels,
168 int* chConstraintsFulfilled, int* calculateQuant, int nChannels,
238 const INT nChannels, const INT nSubFrames, in FDKaacEnc_QCOutNew() argument
251 for (i = 0; i < nChannels; i++) { in FDKaacEnc_QCOutNew()
451 INT nChannels = elInfo->nChannelsInEl; in FDKaacEnc_QCMainPrepare() local
457 nChannels); in FDKaacEnc_QCMainPrepare()
462 adjThrStateElement, nChannels); in FDKaacEnc_QCMainPrepare()
660 int nChannels = elInfo.nChannelsInEl; in FDKaacEnc_prepareBitDistribution() local
669 nChannels, psyOut[0]->psyOutElement[i]->commonWindow, in FDKaacEnc_prepareBitDistribution()
880 INT ch, nChannels = elInfo.nChannelsInEl; in FDKaacEnc_QCMain() local
[all …]
Daacenc_lib.cpp173 UINT nChannels; /*!< will be set via channelMode. */ member
284 ULONG nChannels; /*!< Number of audio channels. */ member
345 static const ELD_SBR_CONFIGURATOR *eldSbrConfigurator(const ULONG nChannels, in eldSbrConfigurator() argument
354 if ((nChannels == eldSbrAutoConfigTab[i].nChannels) && in eldSbrConfigurator()
524 cc->noChannels = hAacConfig->nChannels; in H_ALLOC_MEM()
647 config->nChannels = hAacConfig->nChannels; in aacEncDefaultConfig()
711 const INT frameLength, const INT nChannels, in aacEncoder_LimitBitrate() argument
732 nChannels, cm.nChannelsEff, bitRate, -1, in aacEncoder_LimitBitrate()
874 hAacConfig->nChannels = in FDKaacEnc_AdjustEncSettings()
875 FDKaacEnc_GetChannelModeConfiguration(hAacConfig->channelMode)->nChannels; in FDKaacEnc_AdjustEncSettings()
[all …]
Daacenc.cpp149 INT coreSamplingRate, INT frameLength, INT nChannels, in FDKaacEnc_LimitBitrate() argument
154 INT minBitsPerFrame = 40 * nChannels; in FDKaacEnc_LimitBitrate()
336 const INT nChannels, const INT nSubFrames) { in FDKaacEnc_Open() argument
361 FDKaacEnc_PsyNew(&hAacEnc->psyKernel, nElements, nChannels, dynamicRAM); in FDKaacEnc_Open()
364 ErrorStatus = FDKaacEnc_PsyOutNew(hAacEnc->psyOut, nElements, nChannels, in FDKaacEnc_Open()
369 ErrorStatus = FDKaacEnc_QCOutNew(hAacEnc->qcOut, nElements, nChannels, in FDKaacEnc_Open()
377 hAacEnc->maxChannels = nChannels; in FDKaacEnc_Open()
406 if (config->nChannels < 1 || config->nChannels > (8)) { in FDKaacEnc_Initialize()
438 config->framelength, config->nChannels, in FDKaacEnc_Initialize()
490 (config->bitRate - (config->nChannels * 8000)), in FDKaacEnc_Initialize()
[all …]
Dsf_estim.h116 const INT nChannels);
122 const INT nChannels);
Daacenc.h228 INT nChannels; /* number of channels to process */ member
312 INT coreSamplingRate, INT frameLength, INT nChannels,
356 const INT nChannels, /* number of maximal channels in instance to support */
Dchannel_map.h112 INT nChannels; member
121 INT nChannels);
Dadj_thr.h121 const INT nChannels);
147 INT *grantedPeCorr, const INT nChannels, const INT commonWindow,
Dpsy_main.h135 const INT nChannels, UCHAR *dynamic_RAM);
138 const INT nChannels, const INT nSubFrames,
Dchannel_map.cpp158 INT nChannels) { in FDKaacEnc_DetermineEncoderMode() argument
166 if (channelModeConfig[i].nChannels == nChannels) { in FDKaacEnc_DetermineEncoderMode()
174 if (FDKaacEnc_GetChannelModeConfiguration(*mode)->nChannels == nChannels) { in FDKaacEnc_DetermineEncoderMode()
245 cm->nChannels = channelModeConfig[i].nChannels; in FDKaacEnc_InitChannelMapping()
Dblock_switch.cpp428 BLOCK_SWITCHING_CONTROL *blockSwitchingControlRight, const INT nChannels, in FDKaacEnc_SyncBlockSwitching() argument
432 if (nChannels == 2 && commonWindow == TRUE) { in FDKaacEnc_SyncBlockSwitching()
460 if (nChannels == 2) { in FDKaacEnc_SyncBlockSwitching()
571 if (nChannels == 2) { in FDKaacEnc_SyncBlockSwitching()
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c111 FlipWord(&p->fc.nChannels); in FlipWaveHeader()
132 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32… in WaveFileCreate() argument
159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
Deas_wave.h40 EAS_U16 nChannels; member
66 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32…
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp455 config->codecSettings.nChannels = numChannels; in FDKsbrEnc_AdjustSbrSettings()
1030 INT nEnvCh = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame()
1069 for (ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) { in FDKsbrEnc_EnvEncodeFrame()
1225 int nChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_Downsample() local
1227 for (ch = 0; ch < nChannels; ch++) { in FDKsbrEnc_Downsample()
1497 INT nChannels, INT supportPS) { in sbrEncoder_Open() argument
1539 for (i = 0; i < nChannels; i++) { in sbrEncoder_Open()
1552 for (i = 0; i < fixMax(nChannels, (supportPS) ? 2 : 0); i++) { in sbrEncoder_Open()
1668 if ((params->codecSettings.nChannels < 1) || in FDKsbrEnc_EnvInit()
1669 (params->codecSettings.nChannels > MAX_NUM_CHANNELS)) { in FDKsbrEnc_EnvInit()
[all …]
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.h52 size_t nChannels; member
91 const size_t nChannels,
101 const size_t nChannels,
/external/pdfium/third_party/lcms/src/
Dcmsvirt.c294 int nChannels; in cmsCreateLinearizationDeviceLinkTHR() local
309 nChannels = cmsChannelsOf(ColorSpace); in cmsCreateLinearizationDeviceLinkTHR()
312 Pipeline = cmsPipelineAlloc(ContextID, nChannels, nChannels); in cmsCreateLinearizationDeviceLinkTHR()
317 …if (!cmsPipelineInsertStage(Pipeline, cmsAT_BEGIN, cmsStageAllocToneCurves(ContextID, nChannels, T… in cmsCreateLinearizationDeviceLinkTHR()
400 int nChannels; in cmsCreateInkLimitingDeviceLinkTHR() local
433 nChannels = cmsChannelsOf(ColorSpace); in cmsCreateInkLimitingDeviceLinkTHR()
435 CLUT = cmsStageAllocCLut16bit(ContextID, 17, nChannels, nChannels, NULL); in cmsCreateInkLimitingDeviceLinkTHR()
440 …if (!cmsPipelineInsertStage(LUT, cmsAT_BEGIN, _cmsStageAllocIdentityCurves(ContextID, nChannels)) … in cmsCreateInkLimitingDeviceLinkTHR()
442 !cmsPipelineInsertStage(LUT, cmsAT_END, _cmsStageAllocIdentityCurves(ContextID, nChannels))) in cmsCreateInkLimitingDeviceLinkTHR()
Dcmspcs.c661 int nChannels; in _cmsReasonableGridpointsByColorspace() local
669 nChannels = cmsChannelsOf(Colorspace); in _cmsReasonableGridpointsByColorspace()
674 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
677 if (nChannels == 4) // 23 for CMYK in _cmsReasonableGridpointsByColorspace()
687 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
690 if (nChannels == 1) in _cmsReasonableGridpointsByColorspace()
697 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
700 if (nChannels == 4) in _cmsReasonableGridpointsByColorspace()
Dcmsgmt.c300 int nChannels, nGridpoints; in _cmsCreateGamutCheckPipeline() local
350 nChannels = cmsChannelsOf(ColorSpace); in _cmsCreateGamutCheckPipeline()
352 dwFormat = (CHANNELS_SH(nChannels)|BYTES_SH(2)); in _cmsCreateGamutCheckPipeline()
367 dwFormat = (CHANNELS_SH(nChannels)|BYTES_SH(2)); in _cmsCreateGamutCheckPipeline()
390 CLUT = cmsStageAllocCLut16bit(ContextID, nGridpoints, nChannels, 1, NULL); in _cmsCreateGamutCheckPipeline()
Dcmslut.c70 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) in cmsStageAllocIdentity() argument
74 nChannels, nChannels, in cmsStageAllocIdentity()
248 cmsStage* CMSEXPORT cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsTon… in cmsStageAllocToneCurves() argument
255 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigCurveSetElemType, nChannels, nChannels, in cmsStageAllocToneCurves()
267 NewElem ->nCurves = nChannels; in cmsStageAllocToneCurves()
268 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(ContextID, nChannels, sizeof(cmsToneCurve*)); in cmsStageAllocToneCurves()
274 for (i=0; i < nChannels; i++) { in cmsStageAllocToneCurves()
295 cmsStage* _cmsStageAllocIdentityCurves(cmsContext ContextID, int nChannels) in _cmsStageAllocIdentityCurves() argument
297 cmsStage* mpe = cmsStageAllocToneCurves(ContextID, nChannels, NULL); in _cmsStageAllocIdentityCurves()
1140 cmsStage* _cmsStageClipNegatives(cmsContext ContextID, int nChannels) in _cmsStageClipNegatives() argument
[all …]
Dcmsps2.c865 cmsUInt32Number nChannels; in WriteInputLUT() local
875 nChannels = T_CHANNELS(InputFormat); in WriteInputLUT()
897 switch (nChannels) { in WriteInputLUT()
926 …OLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. This profile has %d channels.", nChannels); in WriteInputLUT()
1282 int i, nChannels; in WriteOutputLUT() local
1299 nChannels = T_CHANNELS(OutputFormat); in WriteOutputLUT()
1361 _cmsIOPrintf(m, " %d {} bind ", nChannels); in WriteOutputLUT()
1363 for (i=1; i < nChannels; i++) in WriteOutputLUT()
/external/aac/libSBRdec/src/
Dsbrdecoder.cpp376 for (ch = 0; ch < self->pSbrElement[elementIndex]->nChannels; ch++) { in sbrDecoder_ResetElement()
435 for (ch = 0; ch < self->pSbrElement[el]->nChannels; ch++) { in sbrDecoder_AssignQmfChannels2SbrChannels()
443 absCh_offset += self->pSbrElement[el]->nChannels; in sbrDecoder_AssignQmfChannels2SbrChannels()
619 self->numSbrChannels -= self->pSbrElement[elementIndex]->nChannels; in sbrDecoder_InitElement()
658 if (elChannels < self->pSbrElement[elementIndex]->nChannels) { in sbrDecoder_InitElement()
659 self->numSbrChannels += self->pSbrElement[elementIndex]->nChannels; in sbrDecoder_InitElement()
664 self->pSbrElement[elementIndex]->nChannels = elChannels; in sbrDecoder_InitElement()
862 if ((elementID == ID_CPE && pSbrElement->nChannels != 2) || in sbrDecoder_Header()
863 (elementID != ID_CPE && pSbrElement->nChannels != 1)) { in sbrDecoder_Header()
869 pSbrElement->nChannels); in sbrDecoder_Header()
[all …]
/external/aac/libSBRenc/include/
Dsbr_encoder.h124 INT nChannels; member
246 INT nChannels; /**< Number of channels. */ member
306 INT nChannels, INT supportPS);
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.h60 const size_t nChannels,
69 const size_t nChannels,
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h52 const size_t nChannels,
62 const size_t nChannels,

123