/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | IvfReader.java | 108 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()
|
D | VideoCodecTestBase.java | 1765 int frameSize = params.frameWidth * params.frameHeight * 3 / 2; in encodeSimulcast() local 1766 srcFrame[i] = new byte[frameSize]; in encodeSimulcast()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderBlockModelTestBase.java | 100 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in enqueueInput() local 102 (int) ((frameSize * mActiveEncCfg.mSampleRate) * mMaxInputSizeInMs / 1000); in enqueueInput() 103 maxInputSize = ((maxInputSize + (frameSize - 1)) / frameSize) * frameSize; in enqueueInput()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderMultiAccessUnitTest.java | 311 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode() local 312 int maxOutputSize = (outSizeInMs[0] * frameSize * mActiveEncCfg.mSampleRate) / 1000; in testSimpleEncode() 314 maxInputSize = ((maxInputSize + (frameSize - 1)) / frameSize) * frameSize; in testSimpleEncode() 316 (outSizeInMs[1] * frameSize * mActiveEncCfg.mSampleRate) / 1000; in testSimpleEncode()
|
D | CodecEncoderBlockModelMultiAccessUnitTest.java | 330 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode() local 331 int maxOutputSize = (outSizeInMs[0] * frameSize * mActiveEncCfg.mSampleRate) / 1000; in testSimpleEncode() 333 (outSizeInMs[1] * frameSize * mActiveEncCfg.mSampleRate) / 1000; in testSimpleEncode()
|
/cts/tests/tests/media/audio/jni/ |
D | audio-track-native.cpp | 383 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_audio_cts_AudioTrackNative_nativeTest() local 387 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_audio_cts_AudioTrackNative_nativeTest() 393 track.write((char *)buffer + i * (framesPerBuffer * frameSize), in Java_android_media_audio_cts_AudioTrackNative_nativeTest() 394 framesPerBuffer * frameSize); in Java_android_media_audio_cts_AudioTrackNative_nativeTest()
|
D | audio-record-native.cpp | 471 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_audio_cts_AudioRecordNative_nativeTest() local 475 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_audio_cts_AudioRecordNative_nativeTest() 484 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_audio_cts_AudioRecordNative_nativeTest()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 71 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testSynchronizedRecord() local 74 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord()
|
D | AudioTrackLatencyTest.java | 697 int frameSize = TrackBufferSizeChecker.getFrameSize(); in testTrackBufferSize() local 698 TrackBufferSizeChecker.checkBadSize(-4 * frameSize); in testTrackBufferSize() 700 TrackBufferSizeChecker.checkSmallSize(i * frameSize); in testTrackBufferSize() 701 TrackBufferSizeChecker.checkBadSize(3 + (i * frameSize)); in testTrackBufferSize()
|
D | AudioTrackTest.java | 1927 final int frameSize = AudioHelper.frameSizeFromFormat(format); in playOnceStreamByteBuffer() local 1930 final int bufferSize = frameCount * frameSize; in playOnceStreamByteBuffer() 1996 Math.min(bufferSize - written, frameSize * kBatchFrames), in playOnceStreamByteBuffer() 2185 final int frameSize = in doTestTimestamp() local 2222 final ByteBuffer data = ByteBuffer.allocate(frameCount * frameSize); in doTestTimestamp() 2223 data.order(java.nio.ByteOrder.nativeOrder()).limit(frameCount * frameSize); in doTestTimestamp() 2245 framesWritten += data.limit() / frameSize; in doTestTimestamp() 2453 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testVariableSpeedPlayback() local 2456 .setBufferSizeInBytes(frameCount * frameSize) in testVariableSpeedPlayback() 2561 (int) (minBufferSize / frameSize)); in testVariableSpeedPlayback()
|
D | VolumeShaperTest.java | 206 final int frameSize = AudioHelper.frameSizeFromFormat(format); in createSineAudioTrack() local 215 .setBufferSizeInBytes(frameCount * frameSize) in createSineAudioTrack()
|
D | AudioRecordTest.java | 1040 final int frameSize = in createAudioRecord() local 1043 assertTrue(record.getBufferSizeInFrames() * frameSize >= bufferSizeInBytes); in createAudioRecord()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 534 Size frameSize = null; in testSharedSurfaceYUVImageReaderSwitch() local 540 frameSize = yuvSizes[0]; in testSharedSurfaceYUVImageReaderSwitch() 546 if ((yuvFormat != -1) && (frameSize.getWidth() > 0) && in testSharedSurfaceYUVImageReaderSwitch() 547 (frameSize.getHeight() > 0)) { in testSharedSurfaceYUVImageReaderSwitch() 549 frameSize, /*blockMaxAcquired*/ false); in testSharedSurfaceYUVImageReaderSwitch() 551 frameSize, /*blockMaxAcquired*/ true); in testSharedSurfaceYUVImageReaderSwitch() 564 Size frameSize, boolean blockMaxAcquired) throws Exception { in testSharedSurfaceYUVImageReaderSwitch() argument 576 imageReaders[i] = ImageReader.newInstance(frameSize.getWidth(), frameSize.getHeight(), in testSharedSurfaceYUVImageReaderSwitch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 821 Size frameSize = videoDecoder.getSize(); in analyzeVideo() local 823 if (frameSize.width != meta.frameWidth || frameSize.height != meta.frameHeight) { in analyzeVideo() 837 Mat camMat = cameraMatrix(fc, new Size(frameSize.width/2, frameSize.height/2)); in analyzeVideo()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | VideoCodecRequirementsTest.java | 323 int frameSize = maxRecordingSize.getWidth() * maxRecordingSize.getHeight(); in testHlgEditingSupport() local 324 maxRecordingSize = frameSize < frameSize4k ? maxRecordingSize : size4k; in testHlgEditingSupport()
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 106 int frameSize = ySize + uSize * 2; in convertyuv420ptoyuv420sp() local 107 int totalFrames = mInputLength / frameSize; in convertyuv420ptoyuv420sp() 119 frameBase += frameSize; in convertyuv420ptoyuv420sp()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |