Home
last modified time | relevance | path

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

123

/external/aac/libAACenc/src/
Dadj_thr.cpp258 const INT nChannels, in FDKaacEnc_InitBits2PeFactor() argument
296 if (nChannels==1) in FDKaacEnc_InitBits2PeFactor()
343 if ((bitRate/nChannels > 32000) && (bitRate/nChannels <= 40000)) { in FDKaacEnc_InitBits2PeFactor()
346 else if (bitRate/nChannels > 20000) { in FDKaacEnc_InitBits2PeFactor()
349 else if (bitRate/nChannels >= 16000) { in FDKaacEnc_InitBits2PeFactor()
384 const INT nChannels) in FDKaacEnc_calcThreshExp() argument
389 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_calcThreshExp()
407 const INT nChannels) in FDKaacEnc_adaptMinSnr() argument
415 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_adaptMinSnr()
460 const INT nChannels, in FDKaacEnc_initAvoidHoleFlag() argument
[all …]
Dmetadata_main.cpp157 INT nChannels; member
226 const INT nChannels,
408 const UINT nChannels, in FDK_MetadataEnc_Init() argument
424 if ( (hMetaData->nChannels>MAX_DRC_CHANNELS) || ((-delay)>MAX_DRC_FRAMELEN) ) { in FDK_MetadataEnc_Init()
435 …f ( resetStates || (hMetaData->nAudioDataDelay!=-delay) || (hMetaData->nChannels!=(INT)nChannels) ) in FDK_MetadataEnc_Init()
447 … LoadSubmittedMetadata(&hMetaData->submittedMetaData, nChannels, 0, &hMetaData->metaDataBuffer[i]); in FDK_MetadataEnc_Init()
460 hMetaData->nChannels = nChannels; in FDK_MetadataEnc_Init()
580 hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
598 hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
631 int i, delaySamples = hMetaDataEnc->nAudioDataDelay*hMetaDataEnc->nChannels; in CompensateAudioDelay()
[all …]
Dqc_main.cpp140 static void FDKaacEnc_crashRecovery(INT nChannels,
155 int nChannels,
240 const INT nChannels, in FDKaacEnc_QCOutNew() argument
256 for (i=0; i<nChannels; i++) { in FDKaacEnc_QCOutNew()
453 INT nChannels = elInfo->nChannelsInEl; in FDKaacEnc_QCMainPrepare() local
457 FDKaacEnc_CalcFormFactor(qcOutElement->qcOutChannel, psyOutChannel, nChannels); in FDKaacEnc_QCMainPrepare()
460 …yOutChannel, qcOutElement->qcOutChannel, &psyOutElement->toolsInfo, adjThrStateElement, nChannels); in FDKaacEnc_QCMainPrepare()
642 int nChannels = elInfo.nChannelsInEl; in FDKaacEnc_prepareBitDistribution() local
654 nChannels, in FDKaacEnc_prepareBitDistribution()
874 for (ch=0; ch<cm->nChannels; ch++) { in FDKaacEnc_QCMain()
[all …]
Daacenc_lib.cpp148 UINT nChannels; /*!< will be set via channelMode. */ member
464 cc->noChannels = hAacConfig->nChannels; in H_ALLOC_MEM()
552 config->nChannels = hAacConfig->nChannels; in aacEncDefaultConfig()
622 const INT nChannels, in aacEncoder_LimitBitrate() argument
644 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
645 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate()
649 bitRate = FDKmin(576000*nChannels, bitRate); in aacEncoder_LimitBitrate()
659 nChannels, in aacEncoder_LimitBitrate()
748 hAacConfig->nChannels = config->nChannels; in FDKaacEnc_AdjustEncSettings()
820 INT brPerChannel = hAacConfig->bitRate/hAacConfig->nChannels; in FDKaacEnc_AdjustEncSettings()
[all …]
Dsf_estim.h107 const INT nChannels);
114 const int nChannels);
Daacenc.cpp153 INT nChannels, in FDKaacEnc_LimitBitrate() argument
185 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate()
344 const INT nChannels, in FDKaacEnc_Open() argument
369 nChannels in FDKaacEnc_Open()
377 nChannels, in FDKaacEnc_Open()
387 nChannels, in FDKaacEnc_Open()
402 hAacEnc->maxChannels = nChannels; in FDKaacEnc_Open()
432 if (config->nChannels < 1 || config->nChannels > (8)) { in FDKaacEnc_Initialize()
467 config->nChannels, in FDKaacEnc_Initialize()
531 encBitrate = (config->bitRate/*-config->ancDataBitRate*/)- (INT)(config->nChannels*8000); in FDKaacEnc_Initialize()
[all …]
Dchannel_map.h101 INT nChannels; member
116 INT nChannels);
Daacenc.h197 INT nChannels; /* number of channels to process */ member
280 INT nChannels,
319 … const INT nChannels, /* number of maximal channels in instance to support */
Dadj_thr.h107 const INT nChannels
131 const INT nChannels,
Dpsy_main.h130 const INT nChannels
136 const INT nChannels,
Dchannel_map.cpp196 AAC_ENCODER_ERROR FDKaacEnc_DetermineEncoderMode(CHANNEL_MODE* mode, INT nChannels) in FDKaacEnc_DetermineEncoderMode() argument
203 if (channelModeConfig[i].nChannels==nChannels) { in FDKaacEnc_DetermineEncoderMode()
212 if (FDKaacEnc_GetChannelModeConfiguration(*mode)->nChannels==nChannels) { in FDKaacEnc_DetermineEncoderMode()
276 cm->nChannels = channelModeConfig[i].nChannels; in FDKaacEnc_InitChannelMapping()
Dblock_switch.cpp391 const INT nChannels, in FDKaacEnc_SyncBlockSwitching() argument
396 if( nChannels == 2 && commonWindow == TRUE) in FDKaacEnc_SyncBlockSwitching()
420 if( nChannels == 2 ) in FDKaacEnc_SyncBlockSwitching()
531 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.cpp410 config->codecSettings.nChannels = numChannels; in FDKsbrEnc_AdjustSbrSettings()
1017 INT nEnvCh = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame()
1060 for(ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) in FDKsbrEnc_EnvEncodeFrame()
1199 int nChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame() local
1201 for (ch=0; ch < nChannels; ch++) in FDKsbrEnc_EnvEncodeFrame()
1211 hEnvEncoder->nChannels); in FDKsbrEnc_EnvEncodeFrame()
1477 INT nChannels, in sbrEncoder_Open() argument
1517 for (i=0; i<nChannels; i++) { in sbrEncoder_Open()
1533 for (i=0; i<fixMax(nChannels,(supportPS)?2:0); i++) { in sbrEncoder_Open()
1640 …if ((params->codecSettings.nChannels < 1) || (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/aac/libSBRenc/include/
Dsbr_encoder.h115 INT nChannels; member
238 INT nChannels; /**< Number of channels. */ member
291 INT nChannels,
/external/pdfium/third_party/lcms2-2.6/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()
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()
Dcmspcs.c652 int nChannels; in _cmsReasonableGridpointsByColorspace() local
660 nChannels = cmsChannelsOf(Colorspace); in _cmsReasonableGridpointsByColorspace()
665 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
668 if (nChannels == 4) // 23 for CMYK in _cmsReasonableGridpointsByColorspace()
678 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
681 if (nChannels == 1) in _cmsReasonableGridpointsByColorspace()
688 if (nChannels > 4) in _cmsReasonableGridpointsByColorspace()
691 if (nChannels == 4) in _cmsReasonableGridpointsByColorspace()
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.cpp322 for (ch=0; ch<self->pSbrElement[elementIndex]->nChannels; ch++) in sbrDecoder_ResetElement()
510 self->numSbrChannels -= self->pSbrElement[elementIndex]->nChannels; in sbrDecoder_InitElement()
543 self->pSbrElement[elementIndex]->nChannels = elChannels; in sbrDecoder_InitElement()
696 if ( (elementID == ID_CPE && pSbrElement->nChannels != 2) in sbrDecoder_Header()
697 || (elementID != ID_CPE && pSbrElement->nChannels != 1) ) in sbrDecoder_Header()
708 pSbrElement->nChannels in sbrDecoder_Header()
848 elChannels = FDKmin(elChannels, pSbrElement->nChannels); in sbrDecoder_drcGetChannel()
1138 hSbrElement->nChannels in sbrDecoder_Parse()
1341 …int numElementChannels = hSbrElement->nChannels; /* Number of channels of the current SBR element… in sbrDecoder_DecodeElement()
1388 hSbrElement->nChannels in sbrDecoder_DecodeElement()
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h52 const size_t nChannels,
62 const size_t nChannels,
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.h60 const size_t nChannels,
69 const size_t nChannels,
Dtransmit_mixer.h55 size_t nChannels,
177 size_t nChannels,

123