camera_register_resource()

Updated: April 19, 2023

Register with the resource management component to let the OS know that your application may be processing buffers

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_register_resource(camera_handle_t handle)

Arguments:

handle
The handle returned by a call to the camera_open() function.

Library:

libcamapi

Description:

For more information about the resource management procedure, see Resource Management.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.