adas_configure_viewer()

Updated: May 06, 2022

Dynamically configure an ADAS viewer instance

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_configure_viewer(uint32_t inst,
                                   adas_view_t view,
                                   double zoom_factor)

Arguments:

inst
The instance of the viewer you want to configure.
view
The desired view to use with the viewer (see adas_view_t).
zoom_factor
The zoom factor to apply to the view.

Library:

libadas

Description:

The instance configured is the one specified for the viewer in the configuration file. Not all views are supported for a given viewer; call adas_get_supported_views() to get the list of supported views.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.