Home
last modified time | relevance | path

Searched refs:frameSize (Results 1 – 25 of 73) 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.cpp2033 const int pcmBufSize, UINT frameSize, in pcmDmx_ApplyFrame() argument
2077 if (frameSize == 0) { in pcmDmx_ApplyFrame()
2111 if ((UINT)pcmBufSize < (UINT)numOutChannels * frameSize) { in pcmDmx_ApplyFrame()
2133 offset = frameSize; /* Channel specific offset factor */ in pcmDmx_ApplyFrame()
2270 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2328 &pPcmBuf[(frameSize - 1) * in pcmDmx_ApplyFrame()
2335 (frameSize - 1) * outStride]; in pcmDmx_ApplyFrame()
2337 (frameSize - 1) * outStride]; in pcmDmx_ApplyFrame()
2340 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2425 &pPcmBuf[inOffsetTable[ch] * offset + (frameSize - 1) * inStride]; in pcmDmx_ApplyFrame()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp73 int SparcSubtarget::getAdjustedFrameSize(int frameSize) const { in getAdjustedFrameSize()
78 frameSize += 128; in getAdjustedFrameSize()
81 frameSize = alignTo(frameSize, 16); in getAdjustedFrameSize()
90 frameSize += 92; in getAdjustedFrameSize()
94 frameSize = alignTo(frameSize, 8); in getAdjustedFrameSize()
96 return frameSize; in getAdjustedFrameSize()
/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/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DGraphicalVerifier.java48 final Dimension frameSize = frame.getSize(); in GraphicalVerifier() local
49 if (frameSize.height > screenSize.height) { in GraphicalVerifier()
50 frameSize.height = screenSize.height; in GraphicalVerifier()
52 if (frameSize.width > screenSize.width) { in GraphicalVerifier()
53 frameSize.width = screenSize.width; in GraphicalVerifier()
55 frame.setLocation((screenSize.width - frameSize.width) / 2, in GraphicalVerifier()
56 (screenSize.height - frameSize.height) / 2); in GraphicalVerifier()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dbyte_buffer.c32 size_t frameSize = channels * sizeof(short); // only one channel in byteBuffer_write() local
33 int32_t maxLengthInShort = dataSectionSize / frameSize; in byteBuffer_write()
43 memcpy(byteBuffer + (tempRear * frameSize), srcBuffer, in byteBuffer_write()
44 part1 * frameSize); in byteBuffer_write()
48 memcpy(byteBuffer, (srcBuffer + (part1 * frameSize)), in byteBuffer_write()
49 part2 * frameSize); in byteBuffer_write()
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp390 const INT samplingRate, const INT frameSize, in aacDecoder_SscCallback() argument
401 samplingRate, frameSize, stereoConfigIndex, coreSbrFrameLengthIndex, in aacDecoder_SscCallback()
1102 if (pSi->frameSize > 0) { in aacDecoder_UpdateBitStreamCounters()
1105 FIXP_DBL ratio_m = fDivNorm(pSi->sampleRate, pSi->frameSize, &ratio_e); in aacDecoder_UpdateBitStreamCounters()
1363 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
1372 self->streamInfo.frameSize, 0); in aacDecoder_DecodeFrame()
1481 (self->streamInfo.frameSize)); in aacDecoder_DecodeFrame()
1498 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1503 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1508 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame 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_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.cpp179 initDrcGainBuffers(hGainDec->frameSize, &hGainDec->drcGainBuffers); in drcDec_GainDecoder_Init()
191 hGainDec->frameSize = paramValue; in drcDec_GainDecoder_SetParam()
321 hUniDrcGain->gainNode[seq][0].time = hGainDec->frameSize - 1; in drcDec_GainDecoder_Conceal()
328 const int frameSize, in drcDec_GainDecoder_SetChannelGains() argument
371 if (frameSize == 1024) in drcDec_GainDecoder_SetChannelGains()
374 stepsize = (LONG)stepsize / frameSize; in drcDec_GainDecoder_SetChannelGains()
379 n_min, frameSize); in drcDec_GainDecoder_SetChannelGains()
381 for (i = 0; i < frameSize; i++) { in drcDec_GainDecoder_SetChannelGains()
456 return hGainDec->frameSize; in drcDec_GainDecoder_GetFrameSize()
DdrcGainDec_init.cpp191 if (hGainDec->deltaTminDefault > hGainDec->frameSize) return DE_NOT_OK; in initGainDec()
216 void initDrcGainBuffers(const int frameSize, DRC_GAIN_BUFFERS* drcGainBuffers) { in initDrcGainBuffers() argument
229 frameSize - 1; in initDrcGainBuffers()
241 drcGainBuffers->dummyLnb.linearNode[i][0].time = frameSize - 1; in initDrcGainBuffers()
276 if (pCoef->drcFrameSize != hGainDec->frameSize) { in initActiveDrc()
DFDK_drcDecLib.cpp318 FDK_drcDec_Init(HANDLE_DRC_DECODER hDrcDec, const int frameSize, in FDK_drcDec_Init() argument
323 if (hDrcDec == NULL || frameSize == 0 || sampleRate == 0 || in FDK_drcDec_Init()
340 frameSize); in FDK_drcDec_Init()
561 const int numChannels, const int frameSize, in FDK_drcDec_SetChannelGains() argument
572 drcDec_GainDecoder_SetChannelGains(hDrcDec->hGainDec, numChannels, frameSize, in FDK_drcDec_SetChannelGains()
836 int frameSize, n, ic, oc; in FDK_drcDec_ApplyDownmix() local
858 frameSize = drcDec_GainDecoder_GetFrameSize(hDrcDec->hGainDec); in FDK_drcDec_ApplyDownmix()
861 audioChannels[ic] = &(realBuffer[ic * frameSize]); in FDK_drcDec_ApplyDownmix()
865 for (n = 0; n < frameSize; n++) { in FDK_drcDec_ApplyDownmix()
883 FDKmemset(audioChannels[oc], 0, frameSize * sizeof(FIXP_DBL)); in FDK_drcDec_ApplyDownmix()
DdrcDec_reader.h113 const int frameSize, const int deltaTminDefault,
118 HANDLE_UNI_DRC_CONFIG hUniDrcConfig, const int frameSize,
/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/aac/libSACdec/include/
Dsac_dec_lib.h318 AUDIO_OBJECT_TYPE coreCodec, INT samplingRate, INT frameSize,
365 int frameSize, int fGlobalIndependencyFlag);
410 int *nChannels, int *frameSize, int sampleRate,
/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/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DMockAltsHandshakerResp.java64 int frameSize = TEST_OUT_FRAME.length(); in getOutFrame() local
65 ByteBuffer buffer = ByteBuffer.allocate(FRAME_HEADER_SIZE + frameSize); in getOutFrame()
67 buffer.putInt(frameSize); in getOutFrame()
/external/drrickorang/LoopbackApp/app/src/main/cpp/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/aac/libSACdec/src/
Dsac_dec_lib.cpp243 const INT frameSize);
702 AUDIO_OBJECT_TYPE coreCodec, INT samplingRate, INT frameSize, in mpegSurroundDecoder_Config() argument
750 err = sscCheckOutOfBand(pSsc, coreCodec, samplingRate, frameSize); in mpegSurroundDecoder_Config()
1100 const INT sampleRate, const INT frameSize) { in sscCheckOutOfBand() argument
1132 switch (frameSize) { in sscCheckOutOfBand()
1289 int frameSize, int fGlobalIndependencyFlag) { in mpegSurroundDecoder_Parse() argument
1400 frameSize, sampleRate); in mpegSurroundDecoder_Parse()
1512 int *nChannels, int *frameSize, int sampleRate, in mpegSurroundDecoder_Apply() argument
1614 *frameSize / in mpegSurroundDecoder_Apply()
1697 sizeof(INT_PCM) * (*nChannels) * (*frameSize)); in mpegSurroundDecoder_Apply()
[all …]

123