/dports/audio/libaudiofile/audiofile-0.3.6/test/ |
H A D | IntToFloat.cpp | 89 float readData[frameCount]; in TEST_F() 91 ASSERT_EQ(framesRead, frameCount); in TEST_F() 94 for (int i=0; i<frameCount; i++) in TEST_F() 111 float readData[frameCount]; in TEST_F() 113 ASSERT_EQ(framesRead, frameCount); in TEST_F() 116 for (int i=0; i<frameCount; i++) in TEST_F() 133 float readData[frameCount]; in TEST_F() 135 ASSERT_EQ(framesRead, frameCount); in TEST_F() 138 for (int i=0; i<frameCount; i++) in TEST_F() 155 float readData[frameCount]; in TEST_F() [all …]
|
H A D | FloatToInt.cpp | 87 int8_t readData[frameCount]; in TEST_F() 89 ASSERT_EQ(framesRead, frameCount); in TEST_F() 92 for (int i=0; i<frameCount; i++) in TEST_F() 109 int16_t readData[frameCount]; in TEST_F() 111 ASSERT_EQ(framesRead, frameCount); in TEST_F() 114 for (int i=0; i<frameCount; i++) in TEST_F() 131 int32_t readData[frameCount]; in TEST_F() 133 ASSERT_EQ(framesRead, frameCount); in TEST_F() 136 for (int i=0; i<frameCount; i++) in TEST_F() 153 int32_t readData[frameCount]; in TEST_F() [all …]
|
H A D | Sign.cpp | 87 uint8_t readData[frameCount]; in TEST_F() 89 ASSERT_EQ(framesRead, frameCount); in TEST_F() 92 for (int i=0; i<frameCount; i++) in TEST_F() 110 uint16_t readData[frameCount]; in TEST_F() 112 ASSERT_EQ(framesRead, frameCount); in TEST_F() 115 for (int i=0; i<frameCount; i++) in TEST_F() 133 uint32_t readData[frameCount]; in TEST_F() 135 ASSERT_EQ(framesRead, frameCount); in TEST_F() 138 for (int i=0; i<frameCount; i++) in TEST_F() 156 uint32_t readData[frameCount]; in TEST_F() [all …]
|
H A D | ChannelMatrix.cpp | 44 const int frameCount = 10; in testChannelMatrixReading() local 61 samples, frameCount); in testChannelMatrixReading() 62 EXPECT_EQ(framesWritten, frameCount); in testChannelMatrixReading() 85 readSamples, frameCount); in testChannelMatrixReading() 86 EXPECT_EQ(framesRead, frameCount); in testChannelMatrixReading() 88 for (int i=0; i<frameCount; i++) in testChannelMatrixReading() 133 const int frameCount = 10; in testChannelMatrixWriting() local 163 samples, frameCount); in testChannelMatrixWriting() 177 readSamples, frameCount); in testChannelMatrixWriting() 178 EXPECT_EQ(framesRead, frameCount); in testChannelMatrixWriting() [all …]
|
H A D | PCMMapping.cpp | 74 const int frameCount = sizeof (data) / sizeof (data[0]); in TEST_F() local 75 AFframecount framesWritten = afWriteFrames(file, AF_DEFAULT_TRACK, data, frameCount); in TEST_F() 76 ASSERT_EQ(framesWritten, frameCount); in TEST_F() 82 float readData[frameCount]; in TEST_F() 84 ASSERT_EQ(framesRead, frameCount); in TEST_F() 87 for (int i=0; i<frameCount; i++) in TEST_F() 95 const int frameCount = sizeof (data) / sizeof (data[0]); in TEST_F() local 97 ASSERT_EQ(framesWritten, frameCount); in TEST_F() 103 double readData[frameCount]; in TEST_F() 105 ASSERT_EQ(framesRead, frameCount); in TEST_F() [all …]
|
H A D | Lossless.h | 67 int compressionFormat, int channelCount, int sampleWidth, int frameCount) in testLossless() argument 83 SampleType *data = new SampleType[frameCount * channelCount]; in testLossless() 84 for (int i=0; i<frameCount; i++) in testLossless() 89 ASSERT_EQ(frameCount, framesWritten); in testLossless() 100 ASSERT_EQ(frameCount, afGetFrameCount(file, AF_DEFAULT_TRACK)); in testLossless() 102 SampleType *readData = new SampleType[frameCount * channelCount]; in testLossless() 104 ASSERT_EQ(frameCount, framesRead); in testLossless() 106 for (int i=0; i<frameCount; i++) in testLossless() 112 for (AFframecount offset = 0; offset < frameCount; offset += 373) in testLossless() 118 ASSERT_EQ(std::min(framesToRead, frameCount - offset), framesRead); in testLossless() [all …]
|
H A D | ADPCM.cpp | 57 int16_t *data = new int16_t[frameCount * channelCount]; in testADPCM() 58 for (int i=0; i<frameCount; i++) in testADPCM() 63 ASSERT_EQ(framesWritten, frameCount); in testADPCM() 70 ASSERT_EQ(afGetFrameCount(file, AF_DEFAULT_TRACK), frameCount); in testADPCM() 72 (bytesPerPacket * frameCount) / framesPerPacket); in testADPCM() 74 int16_t *readData = new int16_t[frameCount * channelCount]; in testADPCM() 76 ASSERT_EQ(framesRead, frameCount); in testADPCM() 78 for (int i=0; i<frameCount; i++) in testADPCM() 82 int16_t *offsetReadData = new int16_t[frameCount * channelCount]; in testADPCM() 91 ASSERT_EQ(framesRead, std::min(framesToRead, frameCount - offset)); in testADPCM() [all …]
|
/dports/audio/exhale/exhale-7688ab502ecbd1203bde1e605676f7440cd9fd5e/src/app/ |
H A D | basicWavReader.cpp | 137 …const unsigned rest = ((frameCount >> (BWR_READ_FRACT - 1)) << (BWR_READ_FRACT - 1)) < frameCount … in readDataFloat16() 165 for (unsigned i = frameCount * chanCount; i > 0; i--) in readDataFloat16() 186 …const unsigned rest = ((frameCount >> (BWR_READ_FRACT - 1)) << (BWR_READ_FRACT - 1)) < frameCount … in readDataFloat32() 214 for (unsigned i = frameCount * chanCount; i > 0; i--) in readDataFloat32() 233 …const unsigned rest = ((frameCount >> (BWR_READ_FRACT - 1)) << (BWR_READ_FRACT - 1)) < frameCount … in readDataLnPcm08() 255 for (unsigned i = frameCount * chanCount; i > 0; i--) in readDataLnPcm08() 270 …const unsigned rest = ((frameCount >> (BWR_READ_FRACT - 1)) << (BWR_READ_FRACT - 1)) < frameCount … in readDataLnPcm16() 292 for (unsigned i = frameCount * chanCount; i > 0; i--) in readDataLnPcm16() 307 …const unsigned rest = ((frameCount >> (BWR_READ_FRACT - 1)) << (BWR_READ_FRACT - 1)) < frameCount … in readDataLnPcm24() 331 for (unsigned i = frameCount * chanCount; i > 0; i--) in readDataLnPcm24() [all …]
|
/dports/games/glest/glest_source_3.2.2/source/shared_lib/sources/graphics/ |
H A D | interpolation.cpp | 53 uint32 frameCount= mesh->getFrameCount(); in updateVertices() local 57 if(frameCount>1){ in updateVertices() 59 uint32 prevFrame= min<uint32>(static_cast<uint32>(t*frameCount), frameCount-1); in updateVertices() 60 uint32 nextFrame= cycle? (prevFrame+1) % frameCount: min(prevFrame+1, frameCount-1); in updateVertices() 66 assert(prevFrame<frameCount); in updateVertices() 67 assert(nextFrame<frameCount); in updateVertices() 83 if(frameCount>1){ in updateNormals() 85 uint32 prevFrame= min<uint32>(static_cast<uint32>(t*frameCount), frameCount-1); in updateNormals() 86 uint32 nextFrame= cycle? (prevFrame+1) % frameCount: min(prevFrame+1, frameCount-1); in updateNormals() 92 assert(prevFrame<frameCount); in updateNormals() [all …]
|
/dports/audio/libaudiofile/audiofile-0.3.6/libaudiofile/modules/ |
H A D | UT_RebufferModule.cpp | 64 void setFrameCount(unsigned frameCount) { m_frameCount = frameCount; } in setFrameCount() argument 74 unsigned frameCount = std::min<unsigned>(m_outChunk->frameCount, m_frameCount); in runPull() local 75 m_outChunk->frameCount = frameCount; in runPull() 77 m_startFrame += frameCount; in runPull() 78 m_frameCount -= frameCount; in runPull() 163 variableChunk->frameCount = 22; in testFixedToVariable() 174 variableChunk->frameCount = 30; in testFixedToVariable() 185 variableChunk->frameCount = 50; in testFixedToVariable() 245 variableChunk->frameCount = 21; in testBufferingAfterShortChunk() 256 variableChunk->frameCount = 5; in testBufferingAfterShortChunk() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/ |
H A D | light.cpp | 65 void Light::read(Common::ReadStream *stream, int frameCount, int frame, int animated) { in read() argument 66 _frameCount = frameCount; in read() 88 _m12ptr = _m11ptr + ((_animatedParameters & 0x1) ? frameCount : 1); in read() 89 _m13ptr = _m12ptr + ((_animatedParameters & 0x2) ? frameCount : 1); in read() 90 _m14ptr = _m13ptr + ((_animatedParameters & 0x4) ? frameCount : 1); in read() 91 _m21ptr = _m14ptr + ((_animatedParameters & 0x8) ? frameCount : 1); in read() 92 _m22ptr = _m21ptr + ((_animatedParameters & 0x10) ? frameCount : 1); in read() 93 _m23ptr = _m22ptr + ((_animatedParameters & 0x20) ? frameCount : 1); in read() 94 _m24ptr = _m23ptr + ((_animatedParameters & 0x40) ? frameCount : 1); in read() 95 _m31ptr = _m24ptr + ((_animatedParameters & 0x80) ? frameCount : 1); in read() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/ |
H A D | light.cpp | 65 void Light::read(Common::ReadStream *stream, int frameCount, int frame, int animated) { in read() argument 66 _frameCount = frameCount; in read() 88 _m12ptr = _m11ptr + ((_animatedParameters & 0x1) ? frameCount : 1); in read() 89 _m13ptr = _m12ptr + ((_animatedParameters & 0x2) ? frameCount : 1); in read() 90 _m14ptr = _m13ptr + ((_animatedParameters & 0x4) ? frameCount : 1); in read() 91 _m21ptr = _m14ptr + ((_animatedParameters & 0x8) ? frameCount : 1); in read() 92 _m22ptr = _m21ptr + ((_animatedParameters & 0x10) ? frameCount : 1); in read() 93 _m23ptr = _m22ptr + ((_animatedParameters & 0x20) ? frameCount : 1); in read() 94 _m24ptr = _m23ptr + ((_animatedParameters & 0x40) ? frameCount : 1); in read() 95 _m31ptr = _m24ptr + ((_animatedParameters & 0x80) ? frameCount : 1); in read() [all …]
|
/dports/java/java3d/java3d-1.5.2/j3d-core/src/classes/share/javax/media/j3d/ |
H A D | WakeupOnElapsedFrames.java | 64 int frameCount; field in WakeupOnElapsedFrames 79 public WakeupOnElapsedFrames(int frameCount) { in WakeupOnElapsedFrames() argument 80 this(frameCount, false); in WakeupOnElapsedFrames() 100 public WakeupOnElapsedFrames(int frameCount, boolean passive) { in WakeupOnElapsedFrames() argument 101 if (frameCount < 0) in WakeupOnElapsedFrames() 104 this.frameCount = frameCount; in WakeupOnElapsedFrames() 117 return frameCount; in getElapsedFrameCount() 150 this.countdown = this.frameCount; in addBehaviorCondition() 180 this.countdown = this.frameCount; in resetBehaviorCondition()
|
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/sources/graphics/ |
H A D | interpolation.cpp | 80 uint32 frameCount= mesh->getFrameCount(); in update() local 83 if(frameCount > 1) { in update() 90 prevFrame= min<uint32>(static_cast<uint32>(t*frameCount), frameCount-1); in update() 91 nextFrame= (prevFrame+1) % frameCount; in update() 92 localT= t*frameCount - prevFrame; in update() 95 prevFrame= min<uint32> (static_cast<uint32> (t * (frameCount-1)), frameCount - 2); in update() 96 nextFrame= min(prevFrame + 1, frameCount - 1); in update() 97 localT= t * (frameCount-1) - prevFrame; in update() 105 assert(prevFrame<frameCount); in update() 106 assert(nextFrame<frameCount); in update()
|
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/src/common/ |
H A D | pa_process.c | 444 unsigned long frameCount ) in PaUtil_SetInputFrameCount() argument 446 if( frameCount == 0 ) in PaUtil_SetInputFrameCount() 506 unsigned long frameCount ) in PaUtil_Set2ndInputFrameCount() argument 557 unsigned long frameCount ) in PaUtil_SetOutputFrameCount() argument 559 if( frameCount == 0 ) in PaUtil_SetOutputFrameCount() 717 unsigned long frameCount; in NonAdaptingProcess() local 944 frameCount = framesToGo; in NonAdaptingProcess() 982 unsigned long frameCount; in AdaptingInputOnlyProcess() local 1089 unsigned long frameCount; in AdaptingOutputOnlyProcess() local 1212 unsigned int frameCount; in CopyTempOutputBuffersToHostOutputBuffers() local [all …]
|
/dports/devel/upp/upp/bazaar/plugin/portaudio/common/ |
H A D | pa_process.c | 444 unsigned long frameCount ) in PaUtil_SetInputFrameCount() argument 446 if( frameCount == 0 ) in PaUtil_SetInputFrameCount() 506 unsigned long frameCount ) in PaUtil_Set2ndInputFrameCount() argument 557 unsigned long frameCount ) in PaUtil_SetOutputFrameCount() argument 559 if( frameCount == 0 ) in PaUtil_SetOutputFrameCount() 717 unsigned long frameCount; in NonAdaptingProcess() local 940 frameCount = framesToGo; in NonAdaptingProcess() 978 unsigned long frameCount; in AdaptingInputOnlyProcess() local 1085 unsigned long frameCount; in AdaptingOutputOnlyProcess() local 1208 unsigned int frameCount; in CopyTempOutputBuffersToHostOutputBuffers() local [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/src/common/ |
H A D | pa_process.c | 444 unsigned long frameCount ) in PaUtil_SetInputFrameCount() argument 446 if( frameCount == 0 ) in PaUtil_SetInputFrameCount() 506 unsigned long frameCount ) in PaUtil_Set2ndInputFrameCount() argument 557 unsigned long frameCount ) in PaUtil_SetOutputFrameCount() argument 559 if( frameCount == 0 ) in PaUtil_SetOutputFrameCount() 717 unsigned long frameCount; in NonAdaptingProcess() local 944 frameCount = framesToGo; in NonAdaptingProcess() 982 unsigned long frameCount; in AdaptingInputOnlyProcess() local 1089 unsigned long frameCount; in AdaptingOutputOnlyProcess() local 1212 unsigned int frameCount; in CopyTempOutputBuffersToHostOutputBuffers() local [all …]
|
/dports/audio/praat/praat-6.2.03/external/portaudio/ |
H A D | pa_process.c | 444 unsigned long frameCount ) 446 if( frameCount == 0 ) 506 unsigned long frameCount ) 557 unsigned long frameCount ) 559 if( frameCount == 0 ) 717 unsigned long frameCount; 944 frameCount = framesToGo; 982 unsigned long frameCount; 1089 unsigned long frameCount; 1212 unsigned int frameCount; [all …]
|
/dports/audio/portaudio/portaudio/src/common/ |
H A D | pa_process.c | 444 unsigned long frameCount ) in PaUtil_SetInputFrameCount() argument 446 if( frameCount == 0 ) in PaUtil_SetInputFrameCount() 506 unsigned long frameCount ) in PaUtil_Set2ndInputFrameCount() argument 557 unsigned long frameCount ) in PaUtil_SetOutputFrameCount() argument 559 if( frameCount == 0 ) in PaUtil_SetOutputFrameCount() 717 unsigned long frameCount; in NonAdaptingProcess() local 944 frameCount = framesToGo; in NonAdaptingProcess() 982 unsigned long frameCount; in AdaptingInputOnlyProcess() local 1089 unsigned long frameCount; in AdaptingOutputOnlyProcess() local 1212 unsigned int frameCount; in CopyTempOutputBuffersToHostOutputBuffers() local [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/src/common/ |
H A D | pa_process.c | 444 unsigned long frameCount ) 446 if( frameCount == 0 ) 506 unsigned long frameCount ) 557 unsigned long frameCount ) 559 if( frameCount == 0 ) 717 unsigned long frameCount; 944 frameCount = framesToGo; 982 unsigned long frameCount; 1089 unsigned long frameCount; 1212 unsigned int frameCount; [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/src/common/ |
H A D | pa_process.c | 452 unsigned long frameCount ) in PaUtil_SetInputFrameCount() argument 454 if( frameCount == 0 ) in PaUtil_SetInputFrameCount() 512 unsigned long frameCount ) in PaUtil_Set2ndInputFrameCount() argument 563 if( frameCount == 0 ) in PaUtil_SetOutputFrameCount() 713 unsigned long frameCount; in NonAdaptingProcess() local 876 frameCount = framesToGo; in NonAdaptingProcess() 914 unsigned long frameCount; in AdaptingInputOnlyProcess() local 999 framesToGo -= frameCount; in AdaptingInputOnlyProcess() 1021 unsigned long frameCount; in AdaptingOutputOnlyProcess() local 1144 unsigned int frameCount; in CopyTempOutputBuffersToHostOutputBuffers() local [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/audio/ |
H A D | Sonic.java | 203 frameCount * channelCount); in copyToOutput() 204 outputFrameCount += frameCount; in copyToOutput() 211 return frameCount; in copyInputToOutput() 330 frameCount * channelCount); in moveNewSamplesToPitchBuffer() 332 pitchFrameCount += frameCount; in moveNewSamplesToPitchBuffer() 336 if (frameCount == 0) { in removePitchFrames() 341 frameCount * channelCount, in removePitchFrames() 345 pitchFrameCount -= frameCount; in removePitchFrames() 451 int frameCount = inputFrameCount; in changeSpeed() local 485 int frameCount, in overlapAdd() argument [all …]
|
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/audio/ |
H A D | Sonic.java | 203 frameCount * channelCount); in copyToOutput() 204 outputFrameCount += frameCount; in copyToOutput() 211 return frameCount; in copyInputToOutput() 330 frameCount * channelCount); in moveNewSamplesToPitchBuffer() 332 pitchFrameCount += frameCount; in moveNewSamplesToPitchBuffer() 336 if (frameCount == 0) { in removePitchFrames() 341 frameCount * channelCount, in removePitchFrames() 345 pitchFrameCount -= frameCount; in removePitchFrames() 451 int frameCount = inputFrameCount; in changeSpeed() local 485 int frameCount, in overlapAdd() argument [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/audio/ |
H A D | Sonic.java | 203 frameCount * channelCount); in copyToOutput() 204 outputFrameCount += frameCount; in copyToOutput() 211 return frameCount; in copyInputToOutput() 330 frameCount * channelCount); in moveNewSamplesToPitchBuffer() 332 pitchFrameCount += frameCount; in moveNewSamplesToPitchBuffer() 336 if (frameCount == 0) { in removePitchFrames() 341 frameCount * channelCount, in removePitchFrames() 345 pitchFrameCount -= frameCount; in removePitchFrames() 451 int frameCount = inputFrameCount; in changeSpeed() local 485 int frameCount, in overlapAdd() argument [all …]
|
/dports/textproc/jalingo/jalingo-0.6.0-src/src.shared/ja/lingo/application/util/starlabel/ |
H A D | StarAnimation.java | 30 protected int frameCount; field in StarAnimation 34 public StarAnimation( int frameCount ) { in StarAnimation() argument 35 this.frameCount = frameCount; in StarAnimation() 37 sprites = new IFigure[frameCount]; in StarAnimation() 38 for ( int i = 0; i < frameCount; i++ ) { in StarAnimation() 45 sprites[frame % frameCount].draw( g2 ); in draw() 49 return frameCount; in getFrameCount()
|