Home
last modified time | relevance | path

Searched refs:frameSize (Results 1 – 25 of 71) sorted by relevance

123

/external/aac/libPCMutils/src/
Dpcm_utils.cpp110 const UINT channels, const UINT frameSize, in FDK_interleave() argument
116 In += frameSize; in FDK_interleave()
122 const UINT channels, const UINT frameSize, in FDK_interleave() argument
128 In += frameSize; in FDK_interleave()
134 const UINT channels, const UINT frameSize, in FDK_interleave() argument
140 In += frameSize; in FDK_interleave()
146 const UINT channels, const UINT frameSize, in FDK_deinterleave() argument
151 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave()
159 const UINT channels, const UINT frameSize, in FDK_deinterleave() argument
164 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave()
[all …]
Dpcmdmx_lib.cpp2030 const int pcmBufSize, UINT frameSize, in pcmDmx_ApplyFrame() argument
2074 if (frameSize == 0) { in pcmDmx_ApplyFrame()
2108 if ((UINT)pcmBufSize < (UINT)numOutChannels * frameSize) { in pcmDmx_ApplyFrame()
2130 offset = frameSize; /* Channel specific offset factor */ in pcmDmx_ApplyFrame()
2267 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2325 &pPcmBuf[(frameSize - 1) * in pcmDmx_ApplyFrame()
2332 (frameSize - 1) * outStride]; in pcmDmx_ApplyFrame()
2334 (frameSize - 1) * outStride]; in pcmDmx_ApplyFrame()
2337 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2422 &pPcmBuf[inOffsetTable[ch] * offset + (frameSize - 1) * inStride]; in pcmDmx_ApplyFrame()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp76 int SparcSubtarget::getAdjustedFrameSize(int frameSize) const { in getAdjustedFrameSize()
81 frameSize += 128; in getAdjustedFrameSize()
84 frameSize = alignTo(frameSize, 16); in getAdjustedFrameSize()
93 frameSize += 92; in getAdjustedFrameSize()
97 frameSize = alignTo(frameSize, 8); in getAdjustedFrameSize()
99 return frameSize; in getAdjustedFrameSize()
/external/aac/libPCMutils/include/
Dpcm_utils.h110 const UINT channels, const UINT frameSize,
113 const UINT channels, const UINT frameSize,
116 const UINT channels, const UINT frameSize,
120 const UINT channels, const UINT frameSize,
123 const UINT channels, const UINT frameSize,
126 const UINT channels, const UINT frameSize,
129 const UINT channels, const UINT frameSize,
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp1075 if (pSi->frameSize > 0) { in aacDecoder_UpdateBitStreamCounters()
1078 FIXP_DBL ratio_m = fDivNorm(pSi->sampleRate, pSi->frameSize, &ratio_e); in aacDecoder_UpdateBitStreamCounters()
1336 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
1345 self->streamInfo.frameSize, 0); in aacDecoder_DecodeFrame()
1450 (self->streamInfo.frameSize)); in aacDecoder_DecodeFrame()
1467 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1472 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1477 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1482 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1485 } else if (self->streamInfo.frameSize == 768) { in aacDecoder_DecodeFrame()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DEC3TrackImpl.java31 int frameSize; field in EC3TrackImpl
66 long skipped = inputStream.skip(bsi.frameSize); in parse()
67 assert skipped == bsi.frameSize; in parse()
109 frameSize += bsi.frameSize; in parse()
188 entry.frameSize = 2 * (frmsiz + 1); in readVariables()
218 entry.frameSize *= (6 / numberOfBlocksPerSyncFrame); in readVariables()
387 entry.bitrate = (int) (((double) entry.samplerate) / 1536.0 * entry.frameSize * 8); in readVariables()
393 int read = frameSize; in readSamples()
395 while (frameSize == read) { in readSamples()
397 byte[] data = new byte[frameSize]; in readSamples()
[all …]
DAC3TrackImpl.java32 int frameSize; field in AC3TrackImpl
175 if (frameSize == 0) { in readVariables()
250 frameSize = 2 * bitRateAndFrameSizeTable[frmsizecode][flag][fscod][1]; in calcBitrateAndFrameSize()
267 byte[] data = new byte[frameSize]; in readSamples()
/external/aac/libDRCdec/src/
DdrcGainDec_init.cpp187 initGainDec(HANDLE_DRC_GAIN_DECODER hGainDec, const int frameSize, in initGainDec() argument
191 if (frameSize < 1) { in initGainDec()
195 hGainDec->frameSize = frameSize; in initGainDec()
197 if (hGainDec->frameSize * 1000 < sampleRate) { in initGainDec()
202 if (hGainDec->deltaTminDefault > hGainDec->frameSize) { in initGainDec()
229 void initDrcGainBuffers(const int frameSize, DRC_GAIN_BUFFERS* drcGainBuffers) { in initDrcGainBuffers() argument
242 frameSize - 1; in initDrcGainBuffers()
254 drcGainBuffers->dummyLnb.linearNode[i][0].time = frameSize - 1; in initDrcGainBuffers()
289 if (pCoef->drcFrameSize != hGainDec->frameSize) { in initActiveDrc()
DdrcGainDec_process.cpp202 const int frameSize, const GAIN_INTERPOLATION_TYPE gainInterpolationType, in _processNodeSegments() argument
223 if ((timePrev >= (frameSize - 1)) || in _processNodeSegments()
236 stop = fMin(time, (SHORT)(frameSize - 1)) - timePrev + 1; in _processNodeSegments()
265 offset = hGainDec->frameSize; in processDrcTime()
270 hGainDec->frameSize) /* if delaySamples is too big, NUM_LNB_FRAMES in processDrcTime()
313 nodePrevious.time -= hGainDec->frameSize; in processDrcTime()
340 hGainDec->frameSize, pLnb->gainInterpolationType, in processDrcTime()
342 lnbPointerDiff * hGainDec->frameSize + delaySamples + offset, 1, in processDrcTime()
380 offset = hGainDec->frameSize; in processDrcSubband()
385 hGainDec->frameSize) /* if delaySamples is too big, NUM_LNB_FRAMES in processDrcSubband()
[all …]
DdrcDec_gainDecoder.cpp173 drcDec_GainDecoder_Init(HANDLE_DRC_GAIN_DECODER hGainDec, const int frameSize, in drcDec_GainDecoder_Init() argument
177 err = initGainDec(hGainDec, frameSize, sampleRate); in drcDec_GainDecoder_Init()
180 initDrcGainBuffers(hGainDec->frameSize, &hGainDec->drcGainBuffers); in drcDec_GainDecoder_Init()
303 hUniDrcGain->gainNode[seq][0].time = hGainDec->frameSize - 1; in drcDec_GainDecoder_Conceal()
310 const int frameSize, in drcDec_GainDecoder_SetChannelGains() argument
353 if (frameSize == 1024) in drcDec_GainDecoder_SetChannelGains()
356 stepsize = (LONG)stepsize / frameSize; in drcDec_GainDecoder_SetChannelGains()
361 n_min, frameSize); in drcDec_GainDecoder_SetChannelGains()
363 for (i = 0; i < frameSize; i++) { in drcDec_GainDecoder_SetChannelGains()
438 return hGainDec->frameSize; in drcDec_GainDecoder_GetFrameSize()
DFDK_drcDecLib.cpp324 FDK_drcDec_Init(HANDLE_DRC_DECODER hDrcDec, const int frameSize, in FDK_drcDec_Init() argument
329 if (hDrcDec == NULL || frameSize == 0 || sampleRate == 0 || in FDK_drcDec_Init()
345 dErr = drcDec_GainDecoder_Init(hDrcDec->hGainDec, frameSize, sampleRate); in FDK_drcDec_Init()
535 const int numChannels, const int frameSize, in FDK_drcDec_SetChannelGains() argument
546 drcDec_GainDecoder_SetChannelGains(hDrcDec->hGainDec, numChannels, frameSize, in FDK_drcDec_SetChannelGains()
810 int frameSize, n, ic, oc; in FDK_drcDec_ApplyDownmix() local
832 frameSize = drcDec_GainDecoder_GetFrameSize(hDrcDec->hGainDec); in FDK_drcDec_ApplyDownmix()
835 audioChannels[ic] = &(realBuffer[ic * frameSize]); in FDK_drcDec_ApplyDownmix()
839 for (n = 0; n < frameSize; n++) { in FDK_drcDec_ApplyDownmix()
857 FDKmemset(audioChannels[oc], 0, frameSize * sizeof(FIXP_DBL)); in FDK_drcDec_ApplyDownmix()
DdrcGainDec_init.h107 initGainDec(HANDLE_DRC_GAIN_DECODER hGainDec, const int frameSize,
110 void initDrcGainBuffers(const int frameSize, DRC_GAIN_BUFFERS* drcGainBuffers);
DdrcDec_gainDecoder.h174 INT frameSize; member
198 drcDec_GainDecoder_Init(HANDLE_DRC_GAIN_DECODER hGainDec, const int frameSize,
259 const int frameSize,
DdrcDec_reader.h113 const int frameSize, const int deltaTminDefault,
118 HANDLE_UNI_DRC_CONFIG hUniDrcConfig, const int frameSize,
/external/speex/libspeex/
Dnb_celp.c132 st->frameSize = mode->frameSize; in nb_encoder_init()
133 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_encoder_init()
135 st->windowSize = st->frameSize+st->subframeSize; in nb_encoder_init()
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); in nb_encoder_init()
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
295 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, st->max_pitch+2); in nb_encode()
296 SPEEX_MOVE(st->swBuf, st->swBuf+st->frameSize, st->max_pitch+2); in nb_encode()
299 …highpass(in, in, st->frameSize, (st->isWideband?HIGHPASS_WIDEBAND:HIGHPASS_NARROWBAND)|HIGHPASS_IN… in nb_encode()
307 for (i=0;i<st->windowSize-st->frameSize;i++) in nb_encode()
[all …]
/external/tensorflow/tensorflow/examples/ios/camera/
DCameraExampleViewController.mm202 frameSize:(CGSize)frameSize
205 CGFloat viewRatio = frameSize.width / frameSize.height;
210 size.width = frameSize.width;
212 apertureSize.width * (frameSize.width / apertureSize.height);
215 apertureSize.height * (frameSize.height / apertureSize.width);
216 size.height = frameSize.height;
221 apertureSize.height * (frameSize.height / apertureSize.width);
222 size.height = frameSize.height;
224 size.width = frameSize.width;
226 apertureSize.width * (frameSize.width / apertureSize.height);
[all …]
/external/libxcam/plugins/smart/dvs/libdvs/
Dlibdvs.cpp50 cv::Size frameSize; in init() local
51 frameSize.width = width; in init()
52 frameSize.height = height; in init()
64 _videoStab->setFrameSize(frameSize); in init()
Dstabilizer.cpp372 VideoStabilizer::setFrameSize(Size frameSize) in setFrameSize() argument
374 frameSize_ = frameSize; in setFrameSize()
406 VideoStabilizer::trimedVideoSize(Size frameSize) in trimedVideoSize() argument
409 outputFrameSize.width = ((int)((float)frameSize.width * (1 - 2 * trimRatio_)) >> 3) << 3; in trimedVideoSize()
410 outputFrameSize.height = ((int)((float)frameSize.height * (1 - 2 * trimRatio_)) >> 3) << 3; in trimedVideoSize()
Dstabilizer.h77 cv::Size trimedVideoSize(cv::Size frameSize);
80 void setFrameSize(cv::Size frameSize);
/external/proguard/src/proguard/gui/splash/
DSplashPanel.java208 Dimension frameSize = frame.getSize(); in main() local
209 frame.setLocation((screenSize.width - frameSize.width) / 2, in main()
210 (screenSize.height - frameSize.height) / 2); in main()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java105 private int frameSize = 0; field in VideoCapturerAndroidTestFixtures.FakeCapturerObserver
126 frameSize = frame.length; in onByteBufferFrameCaptured()
141 frameSize = 0; in onTextureFrameCaptured()
164 int frameSize() { in frameSize() method in VideoCapturerAndroidTestFixtures.FakeCapturerObserver
166 return frameSize; in frameSize()
395 assertEquals(0, observer.frameSize()); in startStopWithDifferentResolutions()
397 assertTrue(format.frameSize() <= observer.frameSize()); in startStopWithDifferentResolutions()
/external/libpcap/msdos/
Dndis2.c77 static WORD frameSize = 0; variable
344 CALLBACK (NdisReceiveLookahead (WORD macId, WORD frameSize, in CALLBACK() argument
389 ARGSUSED (frameSize); in CALLBACK()
410 CALLBACK (NdisReceiveChain (WORD macId, WORD frameSize, WORD reqHandle, in CALLBACK() argument
444 ARGSUSED (frameSize); in CALLBACK()
712 frameSize = MAC_CHAR (handle)->maxFrameSize; in CheckMacFeatures()
853 DEBUG1 (" - Frame size: %d\n", frameSize); in NdisInit()
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
Dfifo.c29 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize, in audio_utils_fifo_init() argument
32 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL); in audio_utils_fifo_init()
36 fifo->mFrameSize = frameSize; in audio_utils_fifo_init()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c148 const int16_t frameSize, in WebRtcIsacfix_UpdateUplinkBwImpl() argument
197 if (frameSize == 60) { in WebRtcIsacfix_UpdateUplinkBwImpl()
199 if ( (frameSize != bweStr->prevFrameSizeMs) && (bweStr->countUpdates > 0)) { in WebRtcIsacfix_UpdateUplinkBwImpl()
214 if ( (frameSize != bweStr->prevFrameSizeMs) && (bweStr->countUpdates > 0)) { in WebRtcIsacfix_UpdateUplinkBwImpl()
238 bweStr->prevFrameSizeMs = frameSize; in WebRtcIsacfix_UpdateUplinkBwImpl()
252 frameSizeSampl = SAMPLES_PER_MSEC * frameSize; in WebRtcIsacfix_UpdateUplinkBwImpl()
502 bweStr->prevFrameSizeMs = frameSize; in WebRtcIsacfix_UpdateUplinkBwImpl()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java85 public int frameSize() { in frameSize() method in CameraEnumerationAndroid.CaptureFormat
86 return frameSize(width, height, imageFormat); in frameSize()
93 public static int frameSize(int width, int height, int imageFormat) { in frameSize() method in CameraEnumerationAndroid.CaptureFormat

123