Home
last modified time | relevance | path

Searched refs:newFormat (Results 1 – 12 of 12) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderBlockModelMultiAccessUnitTest.java304 MediaFormat newFormat = setUpSource(mReconfigFile); in testReconfigure() local
307 formatList.add(newFormat); in testReconfigure()
375 configureKeysForLargeAudioBlockModelFrameMode(newFormat, maxSampleSize, in testReconfigure()
379 reConfigureCodec(newFormat, true, false, false); in testReconfigure()
DCodecDecoderMultiAccessUnitTest.java393 MediaFormat newFormat = setUpSource(mReconfigFile); in testReconfigure() local
398 formatList.add(newFormat); in testReconfigure()
418 configureKeysForLargeAudioFrameMode(newFormat, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testReconfigure()
469 reConfigureCodec(newFormat, true, false, false); in testReconfigure()
DCodecDecoderSurfaceTest.java502 MediaFormat newFormat = setUpSource(mReconfigFile); in testReconfigure() local
505 formatList.add(newFormat); in testReconfigure()
566 mActivity.setScreenParams(getWidth(newFormat), getHeight(newFormat), true); in testReconfigure()
567 reConfigureCodec(newFormat, isAsync, false, false); in testReconfigure()
DCodecDecoderTest.java622 MediaFormat newFormat = setUpSource(mReconfigFile); in testReconfigure() local
625 formatList.add(newFormat); in testReconfigure()
708 reConfigureCodec(newFormat, isAsync, false, false); in testReconfigure()
709 if (isFormatSimilar(newFormat, defFormat)) { in testReconfigure()
721 validateMetrics(mCodecName, newFormat); in testReconfigure()
728 doOutputFormatChecks(defFormat, newFormat); in testReconfigure()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DDecodeEditEncodeTest.java480 MediaFormat newFormat = encoder.getOutputFormat(); in generateVideoData() local
481 if (VERBOSE) Log.d(TAG, "encoder output format changed: " + newFormat); in generateVideoData()
700 MediaFormat newFormat = encoder.getOutputFormat(); in editVideoData() local
701 if (VERBOSE) Log.d(TAG, "encoder output format changed: " + newFormat); in editVideoData()
742 MediaFormat newFormat = decoder.getOutputFormat(); in editVideoData() local
743 if (VERBOSE) Log.d(TAG, "decoder output format changed: " + newFormat); in editVideoData()
889 MediaFormat newFormat = decoder.getOutputFormat(); in checkVideoData() local
890 if (VERBOSE) Log.d(TAG, "decoder output format changed: " + newFormat); in checkVideoData()
DEncodeVirtualDisplayTest.java437 MediaFormat newFormat = encoder.getOutputFormat(); in doTestEncodeVirtual() local
438 if (VERBOSE) Log.d(TAG, "encoder output format changed: " + newFormat); in doTestEncodeVirtual()
440 trackIndex = muxer.addTrack(newFormat); in doTestEncodeVirtual()
DEncodeDecodeTest.java621 MediaFormat newFormat = encoder.getOutputFormat(); in doEncodeDecodeVideoFromBuffer() local
622 if (VERBOSE) Log.d(TAG, "encoder output format changed: " + newFormat); in doEncodeDecodeVideoFromBuffer()
924 String newFormat = encoder.getOutputFormatString(); in doEncodeDecodeVideoFromSurfaceToSurface() local
925 if (VERBOSE) Log.d(TAG, "encoder output format changed: " + newFormat); in doEncodeDecodeVideoFromSurfaceToSurface()
DMediaCodecTest.java2442 MediaFormat newFormat = null; in doFlushAfterFirstBuffer() local
2504 newFormat = codec.getOutputFormat(); in doFlushAfterFirstBuffer()
2512 assertNotNull(newFormat); in doFlushAfterFirstBuffer()
2513 assertEquals(48000, newFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in doFlushAfterFirstBuffer()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java566 MediaFormat newFormat = encoder.getOutputFormat(); in editVideoData() local
567 outputData.setMediaFormat(newFormat); in editVideoData()
569 Log.d(LOG_TAG, "encoder output format changed: " + newFormat); in editVideoData()
618 MediaFormat newFormat = decoder.getOutputFormat(); in editVideoData() local
620 Log.d(LOG_TAG, "decoder output format changed: " + newFormat); in editVideoData()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java590 MediaFormat newFormat = mEncoder.getOutputFormat(); in doWork() local
591 if (DEBUG) Log.d(LOG_TAG, "encoder output format changed: " + newFormat); in doWork()
615 MediaFormat newFormat = mDecoder.getOutputFormat(); in doWork() local
616 if (DEBUG) Log.d(LOG_TAG, "decoder output format changed: " + newFormat); in doWork()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraGPURecordingTest.java323 MediaFormat newFormat = mEncoder.getOutputFormat(); in drainEncoder() local
324 Log.d(TAG, "encoder output format changed: " + newFormat); in drainEncoder()
327 mTrackIndex = mMuxer.addTrack(newFormat); in drainEncoder()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp344 for (auto newFormat : { ANDROID_BITMAP_FORMAT_RGBA_4444, ANDROID_BITMAP_FORMAT_NONE }) { in testSetFormat()
345 result = AImageDecoder_setAndroidBitmapFormat(decoder, newFormat); in testSetFormat()
350 for (auto newFormat : { ANDROID_BITMAP_FORMAT_RGBA_8888, ANDROID_BITMAP_FORMAT_RGBA_F16 }) { in testSetFormat()
351 result = AImageDecoder_setAndroidBitmapFormat(decoder, newFormat); in testSetFormat()
437 for (auto newFormat : { ANDROID_BITMAP_FORMAT_RGBA_8888, ANDROID_BITMAP_FORMAT_RGBA_F16 }) { in testGetMinimumStride()
438 setFormatAndCheckStride(newFormat); in testGetMinimumStride()