Home
last modified time | relevance | path

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

12

/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/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()
DAACTrackImpl.java263 int frameSize = brb.readBits(13); in readSamples() local
271 frameSize -= used; in readSamples()
273 byte[] data = new byte[frameSize]; in readSamples()
/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 …]
Dmodes.h118 int frameSize; /**< Size of frames used for encoding */ member
137 int frameSize; /**< Size of frames used for encoding */ member
Dnb_celp.h53 int frameSize; /**< Size of frames */ member
127 int frameSize; /**< Size of frames */ member
/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/aac/libAACdec/src/
Daacdecoder_lib.cpp758 if (pSi->frameSize > 0) { in aacDecoder_UpdateBitStreamCounters()
759 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; in aacDecoder_UpdateBitStreamCounters()
902 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
968 if (self->streamInfo.frameSize == 768) { in aacDecoder_DecodeFrame()
975 …self->streamInfo.frameSize = (INT)fMult((FIXP_DBL)self->streamInfo.aacSamplesPerFrame<<UP… in aacDecoder_DecodeFrame()
1001 self->streamInfo.frameSize, in aacDecoder_DecodeFrame()
1033 self->streamInfo.frameSize in aacDecoder_DecodeFrame()
1056 if (timeDataSize_extern < self->streamInfo.numChannels*self->streamInfo.frameSize) { in aacDecoder_DecodeFrame()
1062 …meData_extern, pTimeData, self->streamInfo.numChannels*self->streamInfo.frameSize*sizeof(*pTimeDat… in aacDecoder_DecodeFrame()
/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/aac/libSBRdec/src/
Dpsdec_hybrid.h118 SCHAR frameSize; member
160 SCHAR frameSize,
Dpsdec_hybrid.cpp108 SCHAR frameSize, /*!< Framesize (in Qmf s�bband samples). */ in InitHybridFilterBank() argument
122 hs->frameSize = frameSize; in InitHybridFilterBank()
/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()
Dfifo.h54 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
/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/aac/libPCMutils/src/
Dpcmutils_lib.cpp1880 UINT frameSize, in pcmDmx_ApplyFrame() argument
1928 if (frameSize == 0) { return (PCMDMX_INVALID_ARGUMENT); } in pcmDmx_ApplyFrame()
1982 offset = frameSize; /* Channel specific offset factor */ in pcmDmx_ApplyFrame()
2119 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame()
2181 …pInPcm[CENTER_FRONT_CHANNEL] = &pPcmBuf[(frameSize-1)*inStride]; /* Considering input mapping cou… in pcmDmx_ApplyFrame()
2185 pOutLF = &pPcmBuf[outOffsetTable[LEFT_FRONT_CHANNEL]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
2186 pOutRF = &pPcmBuf[outOffsetTable[RIGHT_FRONT_CHANNEL]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
2189 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2270 pIn[nContentCh] = &pPcmBuf[inOffsetTable[ch]*offset+(frameSize-1)*inStride]; in pcmDmx_ApplyFrame()
2271 pOut[nContentCh] = &pPcmBuf[outOffsetTable[ch]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
[all …]
/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
/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()
Dbandwidth_estimator.h62 const int16_t frameSize,
/external/drrickorang/LoopbackApp/app/src/main/jni/
Dsles.cpp181 size_t frameSize = pSles->channels * sizeof(short); // only one channel in byteBuffer_write() local
182 int32_t maxLengthInShort = (pSles->byteBufferLength - 4) / frameSize; in byteBuffer_write()
192 memcpy(pSles->byteBufferPtr + (tempRear * frameSize), buffer, in byteBuffer_write()
193 part1 * frameSize); in byteBuffer_write()
197 memcpy(pSles->byteBufferPtr, (buffer + (part1 * frameSize)), in byteBuffer_write()
198 part2 * frameSize); in byteBuffer_write()
561 size_t frameSize = pSles->channels * sizeof(short); in slesCreateServer() local
564 audio_utils_fifo_init(&(pSles->fifo), FIFO_FRAMES, frameSize, pSles->fifoBuffer); in slesCreateServer()
578 audio_utils_fifo_init(&(pSles->fifo2), FIFO2_FRAMES, frameSize, pSles->fifo2Buffer); in slesCreateServer()
/external/aac/libSBRenc/src/
Dps_main.cpp552 const INT frameSize = hParametricStereo->noQmfSlots; in psFindBestScaling() local
576 for (col=0; col<frameSize-HYBRID_READ_OFFSET; col++) { in psFindBestScaling()
587 for (col=frameSize-HYBRID_READ_OFFSET; col<frameSize; col++) { in psFindBestScaling()
Dsbr.h141 int frameSize; /* SBR framelength. */ member
Dsbr_encoder.cpp1207 hSbrElement->sbrConfigData.frameSize, in FDKsbrEnc_EnvEncodeFrame()
1452 sbrConfigData->frameSize, in initEnvChannel()
1684 hSbrElement->sbrConfigData.frameSize = params->sbrFrameSize; in FDKsbrEnc_EnvInit()
1694 / (1000 * hSbrElement->sbrConfigData.frameSize)); in FDKsbrEnc_EnvInit()
1699 …xMax(headerPeriod,1),(hSbrElement->sbrConfigData.sampleFreq/hSbrElement->sbrConfigData.frameSize)); in FDKsbrEnc_EnvInit()
2066 hSbrEncoder->frameSize = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2221 psEncConfig.frameSize = coreFrameLength; //sbrConfig.sbrFrameSize; in sbrEncoder_Init()
2233 …eSampleRate) * 5 * psEncConfig.nStereoBands * psEncConfig.maxEnvelopes) / hSbrEncoder->frameSize)); in sbrEncoder_Init()
2337 hSbrEncoder->frameSize, in sbrEncoder_EncodeFrame()
2363 timeBuffer + hSbrEncoder->nChannels * hSbrEncoder->frameSize, in sbrEncoder_UpdateBuffers()
Dps_encode.h183 const INT frameSize,
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp246 int frameSize = frameSizes[index]; in writeFrames() local
247 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames()
276 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames()

12