Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DIvfReader.java108 int frameSize = mFrameSizes[frameIndex]; in readFrame() local
111 byte[] frame = new byte[frameSize]; in readFrame()
170 int frameSize = changeEndianness(mIvfFile.readInt()); in readFrameMetadata() local
172 mFrameSizes[i] = frameSize; in readFrameMetadata()
174 frameHead += FRAME_HEADER_SIZE + frameSize; in readFrameMetadata()
DAudioRecordTest.java482 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testSynchronizedRecord() local
485 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord()
631 final int frameSize = in createAudioRecord() local
634 assertTrue(record.getBufferSizeInFrames() * frameSize >= bufferSizeInBytes); in createAudioRecord()
DAudioTrackTest.java1809 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testPlayChannelIndexStreamBuffer() local
1812 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer()
1861 Math.min(bufferSize - written, frameSize * kBatchFrames), in testPlayChannelIndexStreamBuffer()
2108 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testVariableSpeedPlayback() local
2111 .setBufferSizeInBytes(frameCount * frameSize) in testVariableSpeedPlayback()
DVp8CodecTestBase.java1578 int frameSize = params.frameWidth * params.frameHeight * 3 / 2; in encodeSimulcast() local
1579 srcFrame[i] = new byte[frameSize]; in encodeSimulcast()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp384 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioTrackNative_nativeTest() local
388 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
394 track.write((char *)buffer + i * (framesPerBuffer * frameSize), in Java_android_media_cts_AudioTrackNative_nativeTest()
395 framesPerBuffer * frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
Daudio-record-native.cpp442 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioRecordNative_nativeTest() local
446 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()
455 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp300 size_t frameSize = pSles->channels * sizeof(short); in slesCreateServer() local
303 audio_utils_fifo_init(&(pSles->fifo), FIFO_FRAMES, frameSize, pSles->fifoBuffer); in slesCreateServer()
317 audio_utils_fifo_init(&(pSles->fifo2), FIFO2_FRAMES, frameSize, pSles->fifo2Buffer); in slesCreateServer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java796 Size frameSize = videoDecoder.getSize(); in analyzeVideo() local
798 if (frameSize.width != meta.frameWidth || frameSize.height != meta.frameHeight) { in analyzeVideo()
810 Mat camMat = cameraMatrix(fc, new Size(frameSize.width/2, frameSize.height/2)); in analyzeVideo()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...