API reference

MvrVirtualCameraInputConfiguration Struct

In Header file metavr/virtualcamera/VirtualCamera.h
Structure used to represent an input stream configuration.
Defines the format, resolution, and framerate of frames that the virtual camera producer will provide to the virtual camera service. The Camera API client will be able to request output streams that can be satisfied by one of the registered input configurations.

Fields

format : AHardwareBuffer_Format
Pixel format of the input stream (e.g., AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM).
Signature
AHardwareBuffer_Format MvrVirtualCameraInputConfiguration::format
height : int32_t
Height of the input stream in pixels.
Must be greater than 0.
Signature
int32_t MvrVirtualCameraInputConfiguration::height
maxFps : int32_t
Maximum frames per second.
Set to -1 for no limit, or a positive value.
Signature
int32_t MvrVirtualCameraInputConfiguration::maxFps
version : uint32_t
version of the structure, filled by MvrVirtualCameraInputConfiguration_init
Signature
uint32_t MvrVirtualCameraInputConfiguration::version
width : int32_t
Width of the input stream in pixels.
Must be greater than 0.
Signature
int32_t MvrVirtualCameraInputConfiguration::width