HomeSort by relevance Sort by last modified time
    Searched refs:outputSurface (Results 1 - 5 of 5) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayTest.java 159 OutputSurface outputSurface = null;
183 outputSurface = new OutputSurface(WIDTH, HEIGHT);
184 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0);
192 doTestEncodeVirtual(encoder, decoder, outputSurface);
199 if (outputSurface != null) {
200 outputSurface.release();
217 OutputSurface outputSurface) {
    [all...]
EncodeDecodeTest.java 291 OutputSurface outputSurface = null;
319 outputSurface = new OutputSurface(mWidth, mHeight);
325 decoder.configure(format, outputSurface.getSurface(), null, 0);
335 doEncodeDecodeVideoFromSurfaceToSurface(encoder, inputSurface, decoder, outputSurface);
341 if (outputSurface != null) {
342 outputSurface.release();
449 OutputSurface outputSurface = null
    [all...]
DecodeEditEncodeTest.java 402 OutputSurface outputSurface = null;
427 // OutputSurface uses the EGL context created by InputSurface.
429 outputSurface = new OutputSurface();
430 outputSurface.changeFragmentShader(FRAGMENT_SHADER);
431 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0);
434 editVideoData(inputData, decoder, outputSurface, inputSurface, encoder, outputData);
437 if (outputSurface != null) {
438 outputSurface.release()
    [all...]
ExtractDecodeEditEncodeMuxTest.java 269 OutputSurface outputSurface = null;
308 outputSurface = new OutputSurface();
309 outputSurface.changeFragmentShader(FRAGMENT_SHADER);
310 videoDecoder = createVideoDecoder(inputFormat, outputSurface.getSurface());
345 outputSurface);
385 if (outputSurface != null) {
386 outputSurface.release();
389 Log.e(TAG, "error while releasing outputSurface", e)
    [all...]
MediaCodecTest.java 284 OutputSurface outputSurface = null;
288 outputSurface = new OutputSurface(1, 1);
294 mediaCodec.configure(mediaFormat, outputSurface.getSurface(), null, 0);
334 outputSurface.awaitNewImage();
352 if (outputSurface != null) {
353 outputSurface.release();

Completed in 540 milliseconds