Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
Loading...
Searching...
No Matches
auterion::Camera::ImageReplacementOptions Struct Reference

Public Types

enum class  PixelFormat { SameAsImage , NV12 , RGBA , YUYV }
 

Public Member Functions

ImageReplacementOptions & withTimeout (std::chrono::milliseconds timeout_val)
 
ImageReplacementOptions & withPixelFormat (PixelFormat format)
 
ImageReplacementOptions & withUseOutputImageSize (bool use)
 

Public Attributes

std::chrono::milliseconds timeout
 
PixelFormat pixel_format {PixelFormat::SameAsImage}
 
bool use_output_image_size {false}
 or equal to the subscription image size)
 

Member Enumeration Documentation

◆ PixelFormat

Enumerator
YUYV 

packed 4:2:2 (FourCC YUY2)

Member Data Documentation

◆ pixel_format

PixelFormat auterion::Camera::ImageReplacementOptions::pixel_format {PixelFormat::SameAsImage}

Optionally use a different image format from the subscribe image

◆ timeout

std::chrono::milliseconds auterion::Camera::ImageReplacementOptions::timeout
Initial value:
=
300ms

After the camera service receives a replacement image, this timeout is activated/reset. If no new replacement image is received within this timeout, the replacement image is disabled, and the original image is sent again. It will immediately be reused when receiving a new replacement image.

◆ use_output_image_size

bool auterion::Camera::ImageReplacementOptions::use_output_image_size {false}

or equal to the subscription image size)

If true, use the same image size as the output video stream (which may be lower


The documentation for this struct was generated from the following file: