camera_init_video_encoder()

Updated: April 19, 2023

Performs optional initialization for video recording and encoding

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_init_video_encoder(void)

Library:

libcamapi

Description:

Calling this function is optional. However, when it has been called, the first call to the camera_start_video() or camera_start_encode() functions takes less time. If this function is not called, more initialization time is required when you call these other functions.

Returns:

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