Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java87 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceSharedOutputUpdate() local
89 testCameraDeviceSharedOutputUpdate(mPreviewSurface, outputSurface)); in testCameraDeviceSharedOutputUpdate()
99 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceLogicalPhysicalStreaming() local
111 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceLogicalPhysicalSettings() local
DMultiViewTest.java368 Surface outputSurface = new Surface(outputTexture); in testSharedSurfaceBasicByCamera() local
370 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
373 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
379 outputConfigs[0].addSurface(outputSurface); in testSharedSurfaceBasicByCamera()
385 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
389 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
392 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
398 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java210 OutputSurface outputSurface = null; in encodeVirtualDisplayTest() local
242 outputSurface = new OutputSurface(sWidth, sHeight); in encodeVirtualDisplayTest()
243 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
251 doTestEncodeVirtual(encoder, decoder, outputSurface); in encodeVirtualDisplayTest()
258 if (outputSurface != null) { in encodeVirtualDisplayTest()
259 outputSurface.release(); in encodeVirtualDisplayTest()
276 OutputSurface outputSurface) { in doTestEncodeVirtual() argument
348 outputSurface.makeCurrent(); in doTestEncodeVirtual()
352 outputSurface.awaitNewImage(); in doTestEncodeVirtual()
353 outputSurface.drawImage(); in doTestEncodeVirtual()
DEncodeDecodeTest.java476 OutputSurface outputSurface = null; in encodeDecodeVideoFromSurfaceToSurface() local
504 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
515 decoder.configure(format, outputSurface.getSurface(), null, 0); in encodeDecodeVideoFromSurfaceToSurface()
535 doEncodeDecodeVideoFromSurfaceToSurface(encoder, inputSurface, decoder, outputSurface); in encodeDecodeVideoFromSurfaceToSurface()
541 if (outputSurface != null) { in encodeDecodeVideoFromSurfaceToSurface()
542 outputSurface.release(); in encodeDecodeVideoFromSurfaceToSurface()
627 OutputSurface outputSurface = null; in doEncodeDecodeVideoFromBuffer() local
653 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer()
750 decoder.configure(format, toSurface ? outputSurface.getSurface() : null, in doEncodeDecodeVideoFromBuffer()
870 outputSurface.awaitNewImage(); in doEncodeDecodeVideoFromBuffer()
[all …]
DDecodeEditEncodeTest.java393 OutputSurface outputSurface = null; in editVideoFile() local
420 outputSurface = new OutputSurface(); in editVideoFile()
421 outputSurface.changeFragmentShader(FRAGMENT_SHADER); in editVideoFile()
425 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0); in editVideoFile()
433 editVideoData(inputData, decoder, outputSurface, inputSurface, encoder, outputData); in editVideoFile()
436 if (outputSurface != null) { in editVideoFile()
437 outputSurface.release(); in editVideoFile()
459 OutputSurface outputSurface, InputSurface inputSurface, MediaCodec encoder, in editVideoData() argument
582 outputSurface.awaitNewImage(); in editVideoData()
583 outputSurface.drawImage(); in editVideoData()
DMediaCodecTest.java611 OutputSurface outputSurface = audio ? null : new OutputSurface(1, 1); in testAsyncReset() local
612 final Surface surface = outputSurface == null ? null : outputSurface.getSurface(); in testAsyncReset()
669 if (outputSurface != null) { in testAsyncReset()
670 outputSurface.release(); in testAsyncReset()
813 OutputSurface outputSurface = new OutputSurface(1, 1); in initCodecAndSurface() local
814 … encoder.configure(format, outputSurface.getSurface(), null, MediaCodec.CONFIGURE_FLAG_ENCODE); in initCodecAndSurface()
1047 OutputSurface outputSurface = null; in testDecodeAfterFlush()
1053 outputSurface = new OutputSurface(1, 1); in testDecodeAfterFlush()
1064 … mediaCodec.configure(mediaFormat, outputSurface == null ? null : outputSurface.getSurface(), in testDecodeAfterFlush()
1134 if (outputSurface != null) { in testDecodeAfterFlush()
[all …]
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()
707 OutputSurface outputSurface) { in doExtractDecodeEditEncodeMux() argument
923 outputSurface.awaitNewImage(); in doExtractDecodeEditEncodeMux()
926 outputSurface.drawImage(); in doExtractDecodeEditEncodeMux()