Home
last modified time | relevance | path

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

/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.java474 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 …]
DDecodeEditEncodeTest.java392 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()
DMediaCodecTest.java595 OutputSurface outputSurface = audio ? null : new OutputSurface(1, 1); in testAsyncReset() local
596 final Surface surface = outputSurface == null ? null : outputSurface.getSurface(); in testAsyncReset()
653 if (outputSurface != null) { in testAsyncReset()
654 outputSurface.release(); in testAsyncReset()
797 OutputSurface outputSurface = new OutputSurface(1, 1); in initCodecAndSurface() local
798 … encoder.configure(format, outputSurface.getSurface(), null, MediaCodec.CONFIGURE_FLAG_ENCODE); in initCodecAndSurface()
1028 OutputSurface outputSurface = null; in testDecodeAfterFlush()
1034 outputSurface = new OutputSurface(1, 1); in testDecodeAfterFlush()
1045 … mediaCodec.configure(mediaFormat, outputSurface == null ? null : outputSurface.getSurface(), in testDecodeAfterFlush()
1115 if (outputSurface != null) { in testDecodeAfterFlush()
[all …]
DExtractDecodeEditEncodeMuxTest.java343 OutputSurface outputSurface = null; in extractDecodeEditEncodeMux() local
367 outputSurface = new OutputSurface(); in extractDecodeEditEncodeMux()
368 outputSurface.changeFragmentShader(FRAGMENT_SHADER); in extractDecodeEditEncodeMux()
369 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux()
397 outputSurface); in extractDecodeEditEncodeMux()
437 if (outputSurface != null) { in extractDecodeEditEncodeMux()
438 outputSurface.release(); in extractDecodeEditEncodeMux()
705 OutputSurface outputSurface) { in doExtractDecodeEditEncodeMux() argument
925 outputSurface.awaitNewImage(); in doExtractDecodeEditEncodeMux()
928 outputSurface.drawImage(); in doExtractDecodeEditEncodeMux()