Home
last modified time | relevance | path

Searched refs:outputSurface (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java91 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceSharedOutputUpdate() local
93 testCameraDeviceSharedOutputUpdate(mPreviewSurface, outputSurface, in testCameraDeviceSharedOutputUpdate()
104 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceLogicalPhysicalStreaming() local
116 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceLogicalPhysicalSettings() local
DMultiViewTest.java376 Surface outputSurface = new Surface(outputTexture); in testSharedSurfaceBasicByCamera() local
378 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
381 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
387 outputConfigs[0].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
393 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
397 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
400 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
406 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java227 OutputSurface outputSurface = null; in encodeVirtualDisplayTest() local
262 outputSurface = new OutputSurface(sWidth, sHeight); in encodeVirtualDisplayTest()
263 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
271 doTestEncodeVirtual(encoder, decoder, outputSurface); in encodeVirtualDisplayTest()
278 if (outputSurface != null) { in encodeVirtualDisplayTest()
279 outputSurface.release(); in encodeVirtualDisplayTest()
296 OutputSurface outputSurface) { in doTestEncodeVirtual() argument
368 outputSurface.makeCurrent(); in doTestEncodeVirtual()
372 outputSurface.awaitNewImage(); in doTestEncodeVirtual()
373 outputSurface.drawImage(); in doTestEncodeVirtual()
DEncodeDecodeTest.java481 OutputSurface outputSurface = null; in encodeDecodeVideoFromSurfaceToSurface() local
515 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
526 decoder.configure(format, outputSurface.getSurface(), null, 0); in encodeDecodeVideoFromSurfaceToSurface()
546 doEncodeDecodeVideoFromSurfaceToSurface(encoder, inputSurface, decoder, outputSurface); in encodeDecodeVideoFromSurfaceToSurface()
552 if (outputSurface != null) { in encodeDecodeVideoFromSurfaceToSurface()
553 outputSurface.release(); in encodeDecodeVideoFromSurfaceToSurface()
638 OutputSurface outputSurface = null; in doEncodeDecodeVideoFromBuffer() local
664 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer()
761 decoder.configure(format, toSurface ? outputSurface.getSurface() : null, in doEncodeDecodeVideoFromBuffer()
881 outputSurface.awaitNewImage(); in doEncodeDecodeVideoFromBuffer()
[all …]
DDecodeEditEncodeTest.java405 OutputSurface outputSurface = null; in editVideoFile() local
432 outputSurface = new OutputSurface(); in editVideoFile()
433 outputSurface.changeFragmentShader(FRAGMENT_SHADER); in editVideoFile()
437 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0); in editVideoFile()
445 editVideoData(inputData, decoder, outputSurface, inputSurface, encoder, outputData); in editVideoFile()
448 if (outputSurface != null) { in editVideoFile()
449 outputSurface.release(); in editVideoFile()
471 OutputSurface outputSurface, InputSurface inputSurface, MediaCodec encoder, in editVideoData() argument
594 outputSurface.awaitNewImage(); in editVideoData()
595 outputSurface.drawImage(); in editVideoData()
DExtractDecodeEditEncodeMuxTest.java345 OutputSurface outputSurface = null; in extractDecodeEditEncodeMux() local
369 outputSurface = new OutputSurface(); in extractDecodeEditEncodeMux()
370 outputSurface.changeFragmentShader(FRAGMENT_SHADER); in extractDecodeEditEncodeMux()
371 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux()
399 outputSurface); in extractDecodeEditEncodeMux()
439 if (outputSurface != null) { in extractDecodeEditEncodeMux()
440 outputSurface.release(); in extractDecodeEditEncodeMux()
715 OutputSurface outputSurface) { in doExtractDecodeEditEncodeMux() argument
931 outputSurface.awaitNewImage(); in doExtractDecodeEditEncodeMux()
934 outputSurface.drawImage(); in doExtractDecodeEditEncodeMux()
DMediaCodecTest.java795 OutputSurface outputSurface = audio ? null : new OutputSurface(1, 1); in testAsyncReset() local
796 final Surface surface = outputSurface == null ? null : outputSurface.getSurface(); in testAsyncReset()
853 if (outputSurface != null) { in testAsyncReset()
854 outputSurface.release(); in testAsyncReset()
997 OutputSurface outputSurface = new OutputSurface(1, 1); in initCodecAndSurface() local
998 … encoder.configure(format, outputSurface.getSurface(), null, MediaCodec.CONFIGURE_FLAG_ENCODE); in initCodecAndSurface()
1231 OutputSurface outputSurface = null; in testDecodeAfterFlush()
1237 outputSurface = new OutputSurface(1, 1); in testDecodeAfterFlush()
1248 … mediaCodec.configure(mediaFormat, outputSurface == null ? null : outputSurface.getSurface(), in testDecodeAfterFlush()
1318 if (outputSurface != null) { in testDecodeAfterFlush()
[all …]
DMediaCodecBlockModelTest.java566 OutputSurface outputSurface = null; in runDecodeShortVideo() local
570 outputSurface = new OutputSurface(1, 1); in runDecodeShortVideo()
600 outputSurface.getSurface(), in runDecodeShortVideo()
609 new SurfaceOutputSlotListener(outputSurface, timestampList, events)); in runDecodeShortVideo()
627 if (outputSurface != null) { in runDecodeShortVideo()
628 outputSurface.release(); in runDecodeShortVideo()