最終更新:2017-03-31 (金) 16:22:01 (2576d)  

CameraDevice.createConstrainedHighSpeedCaptureSession
Top / CameraDevice.createConstrainedHighSpeedCaptureSession

https://developer.android.com/reference/android/hardware/camera2/CameraDevice.html#createConstrainedHighSpeedCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback?, android.os.Handler)

呼び出し

ソースコード

メモ

output (List<Surface>)

  • An active high speed capture session will support up to 2 output Surfaces, though the application might choose to configure just one Surface (e.g., preview only).
  • All Surfaces must be either video encoder surfaces (acquired by MediaRecorder.getSurface?() or MediaCodec,createInputSurface?()) or preview surfaces (obtained from SurfaceView, SurfaceTexture via Surface(SurfaceTexture)).

SurfaceView (android.view.SurfaceView)

  • SurfaceView.getSurface?

SurfaceTexture (android.graphics.SurfaceTexture)

MediaCodec? (android.media.MediaCodec)

  • MediaCodec.createInputSurface?

MediaRecorder? (android.media.MediaRecorder)

  • MediaRecorder.getSurface?

使えない??

Renderscript

  • android.renderscript.Allocation?
  • Allocation.getSurface?

ImageReader (android.media.ImageReader)

関連