Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 25 of 109) 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 …]
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()
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()
/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()
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 …]
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()
/external/opencv3/samples/cpp/tutorial_code/core/mat_mask_operations/
Dmat_mask_operations.cpp66 const int nChannels = myImage.channels(); in Sharpen() local
77 for(int i= nChannels;i < nChannels*(myImage.cols-1); ++i) in Sharpen()
80 -current[i-nChannels] - current[i+nChannels] - previous[i] - next[i]); in Sharpen()
/external/opencv3/modules/core/test/
Dtest_umat.cpp301 int nChannels = randomInt(1,4); in TEST_P() local
303 if ((ua.cols*ua.channels()*ua.rows)%nChannels != 0) in TEST_P()
305 EXPECT_ANY_THROW(ua.reshape(nChannels)); in TEST_P()
309 ub = ua.reshape(nChannels); in TEST_P()
310 ASSERT_EQ(ub.channels(),nChannels); in TEST_P()
313 EXPECT_MAT_NEAR(ua.reshape(nChannels), a.reshape(nChannels), 0); in TEST_P()
316 if ( ((int)ua.total()*ua.channels())%(new_rows*nChannels) != 0) in TEST_P()
318 EXPECT_ANY_THROW (ua.reshape(nChannels, new_rows) ); in TEST_P()
322 EXPECT_NO_THROW ( ub = ua.reshape(nChannels, new_rows) ); in TEST_P()
323 ASSERT_EQ(ub.channels(),nChannels); in TEST_P()
[all …]
/external/opencv3/doc/tutorials/core/mat-mask-operations/
Dmat_mask_operations.markdown41 const int nChannels = myImage.channels();
51 for(int i = nChannels; i < nChannels * (myImage.cols - 1); ++i)
54 -current[i - nChannels] - current[i + nChannels] - previous[i] - next[i]);
75 const int nChannels = myImage.channels();
91 for(int i = nChannels; i < nChannels * (myImage.cols - 1); ++i)
94 -current[i - nChannels] - current[i + nChannels] - previous[i] - next[i]);
/external/opencv3/samples/cpp/
Dpolar_transforms.cpp54 …og_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); in main()
55 …in_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); in main()
56 …ecovered_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); in main()
/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/opencv3/samples/gpu/
Dopticalflow_nvidia_api.cpp97 if (image->nChannels < 3) in CopyData()
99 … dst->ptr ()[j + i*dst->stride ()] = static_cast<float> (*(row + j*image->nChannels))/255.0f; in CopyData()
103 unsigned char *color = row + j * image->nChannels; in CopyData()
121 if (image->nChannels < 3) in CopyData()
123 … dst.ptr ()[j + i*dst.stride ()] = static_cast<float>(*(row + j*image->nChannels))/255.0f; in CopyData()
127 unsigned char *color = row + j * image->nChannels; in CopyData()
230 (row + j * flowField->nChannels)[0] = 0; in ShowFlow()
231 …(row + j * flowField->nChannels)[1] = static_cast<unsigned char> (MapValue (-(*ptr_v), -maxDisplac… in ShowFlow()
232 …(row + j * flowField->nChannels)[2] = static_cast<unsigned char> (MapValue (*ptr_u , -maxDisplac… in ShowFlow()
233 (row + j * flowField->nChannels)[3] = 255; in ShowFlow()
[all …]
/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/opencv/cxcore/include/
Dcxcore.hpp90 image->depth != depth || image->nChannels != channels ) in create()
154 int channels() const { return image ? image->nChannels : 0; } in channels()
155 int pix_size() const { return image ? ((image->depth & 255)>>3)*image->nChannels : 0; } in pix_size()
173 image->roi->xOffset*((image->depth & 255)>>3)*image->nChannels); in roi_row()
187 image->roi->xOffset*((image->depth & 255)>>3)*image->nChannels); in roi_row()
/external/opencv/otherlibs/highgui/
Dimage.cpp120 color = img->nChannels > 1; in CopyOf()
123 (!color ? 1 : img->nChannels > 1 ? img->nChannels : 3)*8, in CopyOf()

12345