camera_init_video_encoder()

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 called once, the first call to the camera_start_video() or camera_start_encode() functions take less time. If this function is not called, more initialization time is required when you call the camera_start_video() or camera_start_encode() functions the first time.

Returns:

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