MCPcopy Create free account
hub / github.com/PhilLab/Android-MediaCodec-Examples / prepareCamera

Method prepareCamera

CameraToMpegTest.java:226–258  ·  view source on GitHub ↗

Configures Camera for video capture. Sets mCamera. Opens a Camera and sets parameters. Does not start preview.

(int encWidth, int encHeight)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encodeCameraToMpegMethod · 0.95

Calls 2

choosePreviewSizeMethod · 0.95
setParametersMethod · 0.45

Tested by

no test coverage detected