Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java192 InputSurface inputSurface = null; in generateVideoFile() local
221 inputSurface = new InputSurface(encoder.createInputSurface()); in generateVideoFile()
222 inputSurface.makeCurrent(); in generateVideoFile()
225 generateVideoData(encoder, inputSurface, output); in generateVideoFile()
233 if (inputSurface != null) { in generateVideoFile()
234 inputSurface.release(); in generateVideoFile()
254 private void generateVideoData(MediaCodec encoder, InputSurface inputSurface, in generateVideoData() argument
284 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in generateVideoData()
286 inputSurface.swapBuffers(); in generateVideoData()
392 InputSurface inputSurface = null; in editVideoFile() local
[all …]
DMediaCodecTest.java412 InputSurface inputSurface = null; in testSignalSurfaceEOS() local
421 inputSurface = new InputSurface(encoder.createInputSurface()); in testSignalSurfaceEOS()
422 inputSurface.makeCurrent(); in testSignalSurfaceEOS()
439 inputSurface.swapBuffers(); in testSignalSurfaceEOS()
451 if (inputSurface != null) { in testSignalSurfaceEOS()
452 inputSurface.release(); in testSignalSurfaceEOS()
478 InputSurface inputSurface = null; in doTestAbruptStop() local
487 inputSurface = new InputSurface(encoder.createInputSurface()); in doTestAbruptStop()
488 inputSurface.makeCurrent(); in doTestAbruptStop()
500 inputSurface.swapBuffers(); in doTestAbruptStop()
[all …]
DEncodeDecodeTest.java316 InputSurfaceInterface inputSurface = null; in run() local
323 inputSurface = NdkMediaCodec.createPersistentInputSurface(); in run()
325 inputSurface = new InputSurface(MediaCodec.createPersistentInputSurface()); in run()
330 mTest.encodeDecodeVideoFromSurfaceToSurface(inputSurface, mUseNdk); in run()
336 if (inputSurface != null) { in run()
337 inputSurface.release(); in run()
475 InputSurfaceInterface inputSurface = inSurf; in encodeDecodeVideoFromSurfaceToSurface() local
528 encoder.setInputSurface(inputSurface); in encodeDecodeVideoFromSurfaceToSurface()
529 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
531 inputSurface = encoder.createInputSurface(); in encodeDecodeVideoFromSurfaceToSurface()
[all …]
DExtractDecodeEditEncodeMuxTest.java352 InputSurface inputSurface = null; in extractDecodeEditEncodeMux() local
366 inputSurface = new InputSurface(inputSurfaceReference.get()); in extractDecodeEditEncodeMux()
367 inputSurface.makeCurrent(); in extractDecodeEditEncodeMux()
398 inputSurface, in extractDecodeEditEncodeMux()
493 if (inputSurface != null) { in extractDecodeEditEncodeMux()
494 inputSurface.release(); in extractDecodeEditEncodeMux()
706 InputSurface inputSurface, in doExtractDecodeEditEncodeMux() argument
927 inputSurface.setPresentationTime( in doExtractDecodeEditEncodeMux()
930 inputSurface.swapBuffers(); in doExtractDecodeEditEncodeMux()
DMediaCodecWrapper.java36 void setInputSurface(InputSurfaceInterface inputSurface); in setInputSurface() argument
DEncodeVirtualDisplayTest.java232 Surface inputSurface = encoder.createInputSurface(); in encodeVirtualDisplayTest() local
237 sWidth, sHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1663 Surface inputSurface = mSession.getInputSurface();
1664 imageWriter = ImageWriter.newInstance(inputSurface, inputRequests.size());
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java194 Surface inputSurface, int maxImages, in makeImageWriter() argument
196 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter()