Home
last modified time | relevance | path

Searched refs:frameSize (Results 1 – 12 of 12) 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()
DAudioTrackLatencyTest.java639 int frameSize = TrackBufferSizeChecker.getFrameSize(); in testTrackBufferSize() local
640 TrackBufferSizeChecker.checkBadSize(-4 * frameSize); in testTrackBufferSize()
642 TrackBufferSizeChecker.checkSmallSize(i * frameSize); in testTrackBufferSize()
643 TrackBufferSizeChecker.checkBadSize(3 + (i * frameSize)); in testTrackBufferSize()
DAudioTrackTest.java1815 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testPlayChannelIndexStreamBuffer() local
1818 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer()
1867 Math.min(bufferSize - written, frameSize * kBatchFrames), in testPlayChannelIndexStreamBuffer()
1949 final int frameSize = in doTestTimestamp() local
1981 ByteBuffer data = ByteBuffer.allocate(frameCount * frameSize); in doTestTimestamp()
1982 data.order(java.nio.ByteOrder.nativeOrder()).limit(frameCount * frameSize); in doTestTimestamp()
1996 framesWritten += data.limit() / frameSize; in doTestTimestamp()
2182 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testVariableSpeedPlayback() local
2185 .setBufferSizeInBytes(frameCount * frameSize) in testVariableSpeedPlayback()
DAudioRecordTest.java583 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testSynchronizedRecord() local
586 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord()
732 final int frameSize = in createAudioRecord() local
735 assertTrue(record.getBufferSizeInFrames() * frameSize >= bufferSizeInBytes); in createAudioRecord()
DVp8CodecTestBase.java1578 int frameSize = params.frameWidth * params.frameHeight * 3 / 2; in encodeSimulcast() local
1579 srcFrame[i] = new byte[frameSize]; in encodeSimulcast()
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c28 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,
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp383 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioTrackNative_nativeTest() local
387 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
393 track.write((char *)buffer + i * (framesPerBuffer * frameSize), in Java_android_media_cts_AudioTrackNative_nativeTest()
394 framesPerBuffer * frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
Daudio-record-native.cpp444 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioRecordNative_nativeTest() local
448 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()
457 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java803 Size frameSize = videoDecoder.getSize(); in analyzeVideo() local
805 if (frameSize.width != meta.frameWidth || frameSize.height != meta.frameHeight) { in analyzeVideo()
817 Mat camMat = cameraMatrix(fc, new Size(frameSize.width/2, frameSize.height/2)); in analyzeVideo()
889 if (error < REPROJECTION_THREASHOLD_RATIO * frameSize.height) { in analyzeVideo()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp320 size_t frameSize = pSles->channels * sizeof(short); in slesCreateServer() local
323 audio_utils_fifo_init(&(pSles->fifo), FIFO_FRAMES, frameSize, pSles->fifoBuffer); in slesCreateServer()
337 audio_utils_fifo_init(&(pSles->fifo2), FIFO2_FRAMES, frameSize, pSles->fifo2Buffer); in slesCreateServer()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...