Searched refs:inputSurface (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 192 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 …]
|
D | MediaCodecTest.java | 413 InputSurface inputSurface = null; in testSignalSurfaceEOS() local 422 inputSurface = new InputSurface(encoder.createInputSurface()); in testSignalSurfaceEOS() 423 inputSurface.makeCurrent(); in testSignalSurfaceEOS() 440 inputSurface.swapBuffers(); in testSignalSurfaceEOS() 452 if (inputSurface != null) { in testSignalSurfaceEOS() 453 inputSurface.release(); in testSignalSurfaceEOS() 479 InputSurface inputSurface = null; in doTestAbruptStop() local 488 inputSurface = new InputSurface(encoder.createInputSurface()); in doTestAbruptStop() 489 inputSurface.makeCurrent(); in doTestAbruptStop() 501 inputSurface.swapBuffers(); in doTestAbruptStop() [all …]
|
D | EncodeDecodeTest.java | 316 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 …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 352 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()
|
D | MediaCodecWrapper.java | 36 void setInputSurface(InputSurfaceInterface inputSurface); in setInputSurface() argument
|
D | EncodeVirtualDisplayTest.java | 233 Surface inputSurface = encoder.createInputSurface(); in encodeVirtualDisplayTest() local 238 sWidth, sHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1663 Surface inputSurface = mSession.getInputSurface(); 1664 imageWriter = ImageWriter.newInstance(inputSurface, inputRequests.size());
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 194 Surface inputSurface, int maxImages, in makeImageWriter() argument 196 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter()
|