/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 638 InputSurface inputSurface = null; in testSignalSurfaceEOS() local 647 inputSurface = new InputSurface(encoder.createInputSurface()); in testSignalSurfaceEOS() 648 inputSurface.makeCurrent(); in testSignalSurfaceEOS() 665 inputSurface.swapBuffers(); in testSignalSurfaceEOS() 677 if (inputSurface != null) { in testSignalSurfaceEOS() 678 inputSurface.release(); in testSignalSurfaceEOS() 708 InputSurface inputSurface = null; in doTestAbruptStop() local 717 inputSurface = new InputSurface(encoder.createInputSurface()); in doTestAbruptStop() 718 inputSurface.makeCurrent(); in doTestAbruptStop() 730 inputSurface.swapBuffers(); in doTestAbruptStop() [all …]
|
D | DecodeEditEncodeTest.java | 369 InputSurface inputSurface = null; in generateVideoFile() local 403 inputSurface = new InputSurface(encoder.createInputSurface(), mUseHighBitDepth); in generateVideoFile() 404 inputSurface.makeCurrent(); in generateVideoFile() 407 generateVideoData(encoder, inputSurface, output); in generateVideoFile() 415 if (inputSurface != null) { in generateVideoFile() 416 inputSurface.release(); in generateVideoFile() 425 private void generateVideoData(MediaCodec encoder, InputSurface inputSurface, in generateVideoData() argument 455 inputSurface.setPresentationTime(computePresentationTime(generateIndex) * 1000); in generateVideoData() 457 inputSurface.swapBuffers(); in generateVideoData() 559 InputSurface inputSurface = null; in editVideoFile() local [all …]
|
D | EncodeDecodeTest.java | 259 InputSurfaceInterface inputSurface = null; in run() local 266 inputSurface = NdkMediaCodec.createPersistentInputSurface(); in run() 268 inputSurface = new InputSurface(MediaCodec.createPersistentInputSurface()); in run() 273 mTest.encodeDecodeVideoFromSurfaceToSurface(inputSurface, mUseNdk); in run() 279 if (inputSurface != null) { in run() 280 inputSurface.release(); in run() 382 InputSurfaceInterface inputSurface = inSurf; in encodeDecodeVideoFromSurfaceToSurface() local 426 encoder.setInputSurface(inputSurface); in encodeDecodeVideoFromSurfaceToSurface() 427 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 429 inputSurface = encoder.createInputSurface(); in encodeDecodeVideoFromSurfaceToSurface() [all …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 410 InputSurface inputSurface = null; in extractDecodeEditEncodeMux() local 424 inputSurface = new InputSurface(inputSurfaceReference.get()); in extractDecodeEditEncodeMux() 425 inputSurface.makeCurrent(); in extractDecodeEditEncodeMux() 456 inputSurface, in extractDecodeEditEncodeMux() 551 if (inputSurface != null) { in extractDecodeEditEncodeMux() 552 inputSurface.release(); in extractDecodeEditEncodeMux() 775 InputSurface inputSurface, in doExtractDecodeEditEncodeMux() argument 992 inputSurface.setPresentationTime( in doExtractDecodeEditEncodeMux() 995 inputSurface.swapBuffers(); in doExtractDecodeEditEncodeMux()
|
D | EncodeVirtualDisplayTest.java | 266 Surface inputSurface = encoder.createInputSurface(); in encodeVirtualDisplayTest() local 271 mWidth, mHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecodeEditEncodeTest.java | 411 InputSurface inputSurface = null; in editVideoFile() local 444 inputSurface = new InputSurface(encoder.createInputSurface(), false); in editVideoFile() 445 if (inputSurface.getWidth() != TARGET_WIDTH in editVideoFile() 446 || inputSurface.getHeight() != TARGET_HEIGHT) { in editVideoFile() 447 inputSurface.updateSize(TARGET_WIDTH, TARGET_HEIGHT); in editVideoFile() 449 inputSurface.makeCurrent(); in editVideoFile() 469 editVideoData(inputData, decoder, outputSurface, inputSurface, encoder, outputData); in editVideoFile() 477 if (inputSurface != null) { in editVideoFile() 478 inputSurface.release(); in editVideoFile() 496 OutputSurface outputSurface, InputSurface inputSurface, MediaCodec encoder, in editVideoData() argument [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecWrapper.java | 40 void setInputSurface(InputSurfaceInterface inputSurface); in setInputSurface() argument
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraCameraXTest.kt | 257 private var inputSurface: Surface? = null in <lambda>() variable 266 inputSurface = surface in <lambda>() 267 surfaceWriter(inputSurface!!) in <lambda>()
|
D | VirtualCameraCaptureTest.java | 316 Surface inputSurface = mSurfaceCaptor.getValue(); in captureImage() local 317 assertThat(inputSurface.isValid()).isTrue(); in captureImage() 318 inputSurfaceConsumer.accept(inputSurface); in captureImage()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 241 Surface inputSurface, int maxImages, in makeImageWriter() argument 243 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 4184 Surface inputSurface = mSession.getInputSurface(); 4185 imageWriter = ImageWriter.newInstance(inputSurface, inputRequests.size());
|