Home
last modified time | relevance | path

Searched refs:videoCodec (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderRenderTest.java133 MediaCodec videoCodec = createCodecFor(videoFormat); in onFrameRendered_indicatesAllFramesRendered() local
134 assumeFalse("No video codec found for " + fileName, videoCodec == null); in onFrameRendered_indicatesAllFramesRendered()
135 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in onFrameRendered_indicatesAllFramesRendered()
138 videoCodec.setCallback(videoDecoderCallback); in onFrameRendered_indicatesAllFramesRendered()
146 videoCodec.queueInputBuffer(index, 0, sampleSize, presentationTimeUs, flags); in onFrameRendered_indicatesAllFramesRendered()
173 videoCodec.releaseOutputBuffer(index, data.renderTimeNs); in onFrameRendered_indicatesAllFramesRendered()
179 videoCodec.setOnFrameRenderedListener( in onFrameRendered_indicatesAllFramesRendered()
184 videoCodec.start(); in onFrameRendered_indicatesAllFramesRendered()
197 videoCodec.flush(); in onFrameRendered_indicatesAllFramesRendered()
198 videoCodec.stop(); in onFrameRendered_indicatesAllFramesRendered()
[all …]
DDecodeOnlyTest.java236 MediaCodec videoCodec = MediaCodec.createDecoderByType(mime); in testNonTunneledTrickPlay() local
243 videoCodec.setCallback(new MediaCodec.Callback() { in testNonTunneledTrickPlay()
255 ByteBuffer inputBuffer = videoCodec.getInputBuffer(index); in testNonTunneledTrickPlay()
269 videoCodec.queueInputBuffer(index, 0, sampleSize, presentationTime, flags); in testNonTunneledTrickPlay()
283 videoCodec.releaseOutputBuffer(index, false); in testNonTunneledTrickPlay()
302 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in testNonTunneledTrickPlay()
304 videoCodec.start(); in testNonTunneledTrickPlay()
311 videoCodec.stop(); in testNonTunneledTrickPlay()
312 videoCodec.release(); in testNonTunneledTrickPlay()
341 MediaCodec videoCodec = MediaCodec.createByCodecName(codecName); in testTunneledTrickPlay() local
[all …]
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp503 AMediaCodec* videoCodec = NULL; in playContent() local
515 addTracks(videoExtractor, crypto, window, &videoCodec); in playContent()
529 fillDecoder(videoCodec, videoExtractor, in playContent()
539 sawVideoOutputEos = drainDecoder(videoCodec, videoPresentationTimeUs, in playContent()
556 if (videoCodec) { in playContent()
557 AMediaCodec_stop(videoCodec); in playContent()
558 AMediaCodec_delete(videoCodec); in playContent()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DCamcorderProfileTest.java127 profile.videoCodec, in checkProfile()
159 profile.videoCodec, in checkAllProfiles()
176 assertEquals(profile.videoCodec, videoProfile.getCodec()); in checkAllProfiles()
275 assertEquals(expectedProfile.videoCodec, actualProfile.videoCodec); in assertProfileEquals()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java96 mVideoEncoder = profile.videoCodec; in setUp()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1300 videoEncoder = profile.videoCodec; in constrainedHighSpeedRecording()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt22061 field public int videoCodec;