CameraConfig

public class CameraConfig

Provides details of a camera configuration such as size of the CPU image and GPU texture.

Protected Constructors

CameraConfig()
(FOR TESTING) Constructs a new instance for use as a mock.

Public Methods

Size
getImageSize()
Gets the dimensions of the image frames for processing that are sent on CPU stream.
Size
getTextureSize()
Gets the dimensions of the image frams for texture that are sent on GPU stream.

Inherited Methods

Protected Constructors

protected CameraConfig ()

(FOR TESTING) Constructs a new instance for use as a mock. Calling any base method implementation on this instance may return unexpected results, throw an exception, or even crash.

To obtain a CameraConfigFilters normally, use update().

Public Methods

public Size getImageSize ()

Gets the dimensions of the image frames for processing that are sent on CPU stream.

public Size getTextureSize ()

Gets the dimensions of the image frams for texture that are sent on GPU stream.

Send feedback about...