Searched refs:inputSurface (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 365 InputSurface inputSurface = null; in testSignalSurfaceEOS() local 374 inputSurface = new InputSurface(encoder.createInputSurface()); in testSignalSurfaceEOS() 375 inputSurface.makeCurrent(); in testSignalSurfaceEOS() 392 inputSurface.swapBuffers(); in testSignalSurfaceEOS() 404 if (inputSurface != null) { in testSignalSurfaceEOS() 405 inputSurface.release(); in testSignalSurfaceEOS() 431 InputSurface inputSurface = null; in doTestAbruptStop() local 440 inputSurface = new InputSurface(encoder.createInputSurface()); in doTestAbruptStop() 441 inputSurface.makeCurrent(); in doTestAbruptStop() 453 inputSurface.swapBuffers(); in doTestAbruptStop() [all …]
|
D | DecodeEditEncodeTest.java | 191 InputSurface inputSurface = null; in generateVideoFile() local 220 inputSurface = new InputSurface(encoder.createInputSurface()); in generateVideoFile() 221 inputSurface.makeCurrent(); in generateVideoFile() 224 generateVideoData(encoder, inputSurface, output); in generateVideoFile() 232 if (inputSurface != null) { in generateVideoFile() 233 inputSurface.release(); in generateVideoFile() 253 private void generateVideoData(MediaCodec encoder, InputSurface inputSurface, in generateVideoData() argument 283 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in generateVideoData() 285 inputSurface.swapBuffers(); in generateVideoData() 391 InputSurface inputSurface = null; in editVideoFile() local [all …]
|
D | EncodeDecodeTest.java | 287 InputSurface inputSurface = null; in run() local 293 inputSurface = new InputSurface( in run() 298 mTest.encodeDecodeVideoFromSurfaceToSurface(inputSurface); in run() 304 if (inputSurface != null) { in run() 305 inputSurface.release(); in run() 417 InputSurface inputSurface = inSurf; in encodeDecodeVideoFromSurfaceToSurface() local 461 encoder.setInputSurface(inputSurface.getSurface()); in encodeDecodeVideoFromSurfaceToSurface() 462 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 464 inputSurface = new InputSurface(encoder.createInputSurface()); in encodeDecodeVideoFromSurfaceToSurface() 468 doEncodeDecodeVideoFromSurfaceToSurface(encoder, inputSurface, decoder, outputSurface); in encodeDecodeVideoFromSurfaceToSurface() [all …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 324 InputSurface inputSurface = null; in extractDecodeEditEncodeMux() local 338 inputSurface = new InputSurface(inputSurfaceReference.get()); in extractDecodeEditEncodeMux() 339 inputSurface.makeCurrent(); in extractDecodeEditEncodeMux() 370 inputSurface, in extractDecodeEditEncodeMux() 465 if (inputSurface != null) { in extractDecodeEditEncodeMux() 466 inputSurface.release(); in extractDecodeEditEncodeMux() 641 InputSurface inputSurface, in doExtractDecodeEditEncodeMux() argument 866 inputSurface.setPresentationTime( in doExtractDecodeEditEncodeMux() 869 inputSurface.swapBuffers(); in doExtractDecodeEditEncodeMux()
|
D | EncodeVirtualDisplayTest.java | 228 Surface inputSurface = encoder.createInputSurface(); in encodeVirtualDisplayTest() local 233 sWidth, sHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 193 Surface inputSurface, int maxImages, in makeImageWriter() argument 195 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1278 Surface inputSurface = mSession.getInputSurface(); 1279 imageWriter = ImageWriter.newInstance(inputSurface, inputRequests.size());
|