public class CameraUtils
extends java.lang.Object
| Constructor and Description |
|---|
CameraUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
chooseFixedPreviewFps(android.hardware.Camera.Parameters parms,
int desiredThousandFps)
Attempts to find a fixed preview frame rate that matches the desired frame rate.
|
static void |
choosePreviewSize(android.hardware.Camera.Parameters parms,
int width,
int height)
Attempts to find a preview size that matches the provided width and height (which
specify the dimensions of the encoded video).
|
public static void choosePreviewSize(android.hardware.Camera.Parameters parms,
int width,
int height)
public static int chooseFixedPreviewFps(android.hardware.Camera.Parameters parms,
int desiredThousandFps)