Home
last modified time | relevance | path

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

12345

/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp82 static int icvMatchTest( double* src_pixel, int nChannels, int* match,
94 static void icvUpdateFullWindow( double* src_pixel, int nChannels,
102 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match,
104 static void icvUpdatePartialNoMatch( double* src_pixel, int nChannels,
110 static void icvGetSortKey( const int nChannels, double* sort_key, const CvGaussBGPoint* g_point,
112 static void icvBackgroundTest( const int nChannels, int n, int i, int j, int *match, CvGaussBGModel…
182 first_frame->height), IPL_DEPTH_8U, first_frame->nChannels)); in cvCreateGaussianBGModel()
198 const int p = i*first_frame->widthStep+j*first_frame->nChannels; in cvCreateGaussianBGModel()
204 for( m = 0; m < first_frame->nChannels; m++) in cvCreateGaussianBGModel()
213 for( m = 0; m < first_frame->nChannels; m++){ in cvCreateGaussianBGModel()
[all …]
Dcvlines.cpp383 if( img->nChannels != 1 && img->nChannels != 3 ) in cvDeleteMoire()
388 CV_CALL( icvDeleteMoire8u( img_data, img_step, img_size, img->nChannels )); in cvDeleteMoire()
421 if( img->nChannels != 3 ) in cvPreWarpImage()
465 if( img->nChannels != 3 ) in cvPostWarpImage()
Dcvbgfg_acmmm2003.cpp93 if (first_frame->nChannels != 3) in cvCreateFGDStatModel()
229 || prev_frame->nChannels != 3 in cvChangeDetection()
230 || curr_frame->nChannels != 3 in cvChangeDetection()
231 || change_mask->nChannels != 1 in cvChangeDetection()
246 for (b=0 ; b<prev_frame->nChannels ; b++) { in cvChangeDetection()
257 …=0 ; x<curr_frame->width ; x++, rowStart1+=curr_frame->nChannels, rowStart2+=prev_frame->nChannels in cvChangeDetection()
299 for (x = 0; x < curr_frame->width; x++, rowStart1+=curr_frame->nChannels, in cvChangeDetection()
300 rowStart2+=prev_frame->nChannels, rowStart3+=change_mask->nChannels) { in cvChangeDetection()
/external/aac/libAACenc/src/
Dadj_thr.cpp258 const INT nChannels, in FDKaacEnc_InitBits2PeFactor() argument
295 if (nChannels==1) in FDKaacEnc_InitBits2PeFactor()
358 const INT nChannels) in FDKaacEnc_calcThreshExp() argument
363 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_calcThreshExp()
381 const INT nChannels) in FDKaacEnc_adaptMinSnr() argument
389 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_adaptMinSnr()
434 const INT nChannels, in FDKaacEnc_initAvoidHoleFlag() argument
445 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_initAvoidHoleFlag()
465 for(ch=0; ch<nChannels; ch++) { in FDKaacEnc_initAvoidHoleFlag()
509 if (nChannels == 2) { in FDKaacEnc_initAvoidHoleFlag()
[all …]
Dqc_main.cpp143 static void FDKaacEnc_crashRecovery(INT nChannels,
158 int nChannels,
243 const INT nChannels, in FDKaacEnc_QCOutNew() argument
259 for (i=0; i<nChannels; i++) { in FDKaacEnc_QCOutNew()
457 INT nChannels = elInfo->nChannelsInEl; in FDKaacEnc_QCMainPrepare() local
461 FDKaacEnc_CalcFormFactor(qcOutElement->qcOutChannel, psyOutChannel, nChannels); in FDKaacEnc_QCMainPrepare()
464 …yOutChannel, qcOutElement->qcOutChannel, &psyOutElement->toolsInfo, adjThrStateElement, nChannels); in FDKaacEnc_QCMainPrepare()
646 int nChannels = elInfo.nChannelsInEl; in FDKaacEnc_prepareBitDistribution() local
658 nChannels, in FDKaacEnc_prepareBitDistribution()
878 for (ch=0; ch<cm->nChannels; ch++) { in FDKaacEnc_QCMain()
[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()
582 hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
600 hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
633 int i, delaySamples = hMetaDataEnc->nAudioDataDelay*hMetaDataEnc->nChannels; in CompensateAudioDelay()
[all …]
Daacenc_lib.cpp143 UINT nChannels; /*!< will be set via channelMode. */ member
480 cc->noChannels = hAacConfig->nChannels; in H_ALLOC_MEM()
577 config->nChannels = hAacConfig->nChannels; in aacEncDefaultConfig()
646 const INT nChannels, in aacEncoder_LimitBitrate() argument
668 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
669 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate()
673 bitRate = FDKmin(576000*nChannels, bitRate); in aacEncoder_LimitBitrate()
683 nChannels, in aacEncoder_LimitBitrate()
772 hAacConfig->nChannels = config->nChannels; in FDKaacEnc_AdjustEncSettings()
841 hAacConfig->bitreservoir = 100*config->nChannels; /* default, reduced bitreservoir */ in FDKaacEnc_AdjustEncSettings()
[all …]
Dsf_estim.h107 const INT nChannels);
113 const int nChannels);
Daacenc.h192 INT nChannels; /* number of channels to process */ member
243 INT nChannels,
282 … const INT nChannels, /* number of maximal channels in instance to support */
Daacenc.cpp120 INT nChannels, in FDKaacEnc_LimitBitrate() argument
152 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate()
308 const INT nChannels, in FDKaacEnc_Open() argument
333 nChannels in FDKaacEnc_Open()
341 nChannels, in FDKaacEnc_Open()
351 nChannels, in FDKaacEnc_Open()
366 hAacEnc->maxChannels = nChannels; in FDKaacEnc_Open()
396 if (config->nChannels < 1 || config->nChannels > (8)) { in FDKaacEnc_Initialize()
431 config->nChannels, in FDKaacEnc_Initialize()
493 encBitrate = (config->bitRate/*-config->ancDataBitRate*/)- (INT)(config->nChannels*8000); in FDKaacEnc_Initialize()
[all …]
Dchannel_map.h101 INT nChannels; member
116 INT nChannels);
Dadj_thr.h107 const INT nChannels
130 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()
/external/qemu/audio/
Daudio_win_int.c20 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings()
69 switch (wfx->nChannels) { in waveformat_to_audio_settings()
81 wfx->nChannels in waveformat_to_audio_settings()
/external/sonivox/arm-hybrid-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/sonivox/arm-fm-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/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.cpp411 config->codecSettings.nChannels = numChannels; in FDKsbrEnc_AdjustSbrSettings()
943 INT nEnvCh = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame()
986 for(ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) in FDKsbrEnc_EnvEncodeFrame()
1125 int nChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame() local
1127 for (ch=0; ch < nChannels; ch++) in FDKsbrEnc_EnvEncodeFrame()
1137 hEnvEncoder->nChannels); in FDKsbrEnc_EnvEncodeFrame()
1382 INT nChannels, in sbrEncoder_Open() argument
1422 for (i=0; i<nChannels; i++) { in sbrEncoder_Open()
1438 for (i=0; i<fixMax(nChannels,(supportPS)?2:0); i++) { in sbrEncoder_Open()
1545 …if ((params->codecSettings.nChannels < 1) || (params->codecSettings.nChannels > MAX_NUM_CHANNELS)){ in FDKsbrEnc_EnvInit()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_device/include/
Daudio_device_defines.h60 const uint8_t nChannels,
70 const uint8_t nChannels,
/external/chromium_org/third_party/webrtc/modules/audio_device/test/
Dfunc_test_manager.h68 uint8_t nChannels; member
108 const uint8_t nChannels,
118 const uint8_t nChannels,
/external/aac/libSBRenc/include/
Dsbr_encoder.h115 INT nChannels; member
229 INT nChannels; /**< Number of channels. */ member
280 INT nChannels,

12345