Updated: October 28, 2024 |
Performs optional initialization for video recording and encoding
#include <camera/camera_api.h>
camera_error_t camera_init_video_encoder(void)
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.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.