Searched refs:outputSurface (Results 1 – 7 of 7) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | NativeCameraDeviceTest.java | 78 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceSharedOutputUpdate() local 80 testCameraDeviceSharedOutputUpdate(mPreviewSurface, outputSurface)); in testCameraDeviceSharedOutputUpdate()
|
D | MultiViewTest.java | 350 Surface outputSurface = new Surface(outputTexture); in testSharedSurfaceBasicByCamera() local 352 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera() 355 outputConfigs[1].addSurface(outputSurface); in testSharedSurfaceBasicByCamera() 361 outputConfigs[0].addSurface(outputSurface); in testSharedSurfaceBasicByCamera() 367 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera() 371 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera() 374 outputConfigs[0].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera() 380 outputConfigs[1].removeSurface(outputSurface); in testSharedSurfaceBasicByCamera()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 210 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()
|
D | EncodeDecodeTest.java | 474 OutputSurface outputSurface = null; in encodeDecodeVideoFromSurfaceToSurface() local 502 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 513 decoder.configure(format, outputSurface.getSurface(), null, 0); in encodeDecodeVideoFromSurfaceToSurface() 533 doEncodeDecodeVideoFromSurfaceToSurface(encoder, inputSurface, decoder, outputSurface); in encodeDecodeVideoFromSurfaceToSurface() 539 if (outputSurface != null) { in encodeDecodeVideoFromSurfaceToSurface() 540 outputSurface.release(); in encodeDecodeVideoFromSurfaceToSurface() 625 OutputSurface outputSurface = null; in doEncodeDecodeVideoFromBuffer() local 651 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer() 748 decoder.configure(format, toSurface ? outputSurface.getSurface() : null, in doEncodeDecodeVideoFromBuffer() 868 outputSurface.awaitNewImage(); in doEncodeDecodeVideoFromBuffer() [all …]
|
D | DecodeEditEncodeTest.java | 392 OutputSurface outputSurface = null; in editVideoFile() local 419 outputSurface = new OutputSurface(); in editVideoFile() 420 outputSurface.changeFragmentShader(FRAGMENT_SHADER); in editVideoFile() 421 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0); in editVideoFile() 424 editVideoData(inputData, decoder, outputSurface, inputSurface, encoder, outputData); in editVideoFile() 427 if (outputSurface != null) { in editVideoFile() 428 outputSurface.release(); in editVideoFile() 450 OutputSurface outputSurface, InputSurface inputSurface, MediaCodec encoder, in editVideoData() argument 573 outputSurface.awaitNewImage(); in editVideoData() 574 outputSurface.drawImage(); in editVideoData()
|
D | ExtractDecodeEditEncodeMuxTest.java | 345 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 927 outputSurface.awaitNewImage(); in doExtractDecodeEditEncodeMux() 930 outputSurface.drawImage(); in doExtractDecodeEditEncodeMux()
|
D | MediaCodecTest.java | 598 OutputSurface outputSurface = audio ? null : new OutputSurface(1, 1); in testAsyncReset() local 599 final Surface surface = outputSurface == null ? null : outputSurface.getSurface(); in testAsyncReset() 656 if (outputSurface != null) { in testAsyncReset() 657 outputSurface.release(); in testAsyncReset() 800 OutputSurface outputSurface = new OutputSurface(1, 1); in initCodecAndSurface() local 801 … encoder.configure(format, outputSurface.getSurface(), null, MediaCodec.CONFIGURE_FLAG_ENCODE); in initCodecAndSurface() 1031 OutputSurface outputSurface = null; in testDecodeAfterFlush() 1037 outputSurface = new OutputSurface(1, 1); in testDecodeAfterFlush() 1048 … mediaCodec.configure(mediaFormat, outputSurface == null ? null : outputSurface.getSurface(), in testDecodeAfterFlush() 1118 if (outputSurface != null) { in testDecodeAfterFlush() [all …]
|