* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_init()
*/
int hal_camera_deinit(void *camera_handle);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
*/
int hal_camera_get_device_info_list(void *camera_handle, camera_device_info_list_s *device_info_list);
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_DEVICE_NOT_FOUND Failed to find camera device
* @retval #CAMERA_ERROR_DEVICE_UNAVAILABLE The camera device is unavailable
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_INITIALIZED.
* @post If it succeeds, the camera state will be #CAMERA_STATE_OPENED.
* @see hal_camera_close_device()
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_DEVICE_NOT_FOUND Failed to find camera device
* @retval #CAMERA_ERROR_DEVICE_UNAVAILABLE The camera device is unavailable
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_INITIALIZED.
* @post If it succeeds, the camera state will be #CAMERA_STATE_OPENED.
* @see hal_camera_close_device()
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @post If it succeeds, the camera state will be #CAMERA_STATE_INITIALIZED.
* @see hal_camera_open_device()
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_remove_message_callback()
*/
int hal_camera_add_message_callback(void *camera_handle, hal_camera_message_cb callback, void *user_data, uint32_t *cb_id);
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_remove_message_callback()
*/
int hal_camera_remove_message_callback(void *camera_handle, uint32_t cb_id);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @see hal_camera_start_preview()
* @see hal_camera_start_capture()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_start_preview()
* @see hal_camera_start_capture()
* @see hal_camera_set_preview_stream_format()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @see hal_camera_start_preview()
*/
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_DEVICE_BUSY The device is being used in another application or is performing other operations
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @post If it succeeds, the camera state will be #CAMERA_STATE_PREVIEWING.
* @see hal_camera_stop_preview()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_start_preview()
*/
int hal_camera_release_preview_buffer(void *camera_handle, int buffer_index);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_PREVIEWING.
* @post The camera state will be #CAMERA_STATE_OPENED.
* @see hal_camera_start_preview()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @see hal_camera_get_extra_preview_stream_format()
*/
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_set_extra_preview_stream_format()
*/
int hal_camera_get_extra_preview_stream_format(void *camera_handle, int stream_id, camera_format_s *format);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
- * @pre The camera state must be set to #CAMERA_STATE_OPENED.
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_get_extra_preview_bitrate()
*/
int hal_camera_set_extra_preview_bitrate(void *camera_handle, int stream_id, int bitrate);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_set_extra_preview_bitrate()
*/
int hal_camera_get_extra_preview_bitrate(void *camera_handle, int stream_id, int *bitrate);
+/**
+ * @brief Sets the GOP (Group Of Pictures) interval of the extra preview.
+ * @since_tizen 6.5
+ * @param[in] camera_handle The handle to the camera HAL
+ * @param[in] stream_id The id of extra preview stream
+ * @param[in] interval The GOP interval(millisecond) of the extra preview
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #CAMERA_ERROR_NONE Successful
+ * @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CAMERA_ERROR_INVALID_STATE Invalid state
+ * @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
+ * @see hal_camera_get_extra_preview_gop_interval()
+ */
+int hal_camera_set_extra_preview_gop_interval(void *camera_handle, int stream_id, int interval);
+
+/**
+ * @brief Gets the GOP (Group Of Pictures) interval of the extra preview.
+ * @since_tizen 6.5
+ * @param[in] camera_handle The handle to the camera HAL
+ * @param[in] stream_id The id of extra preview stream
+ * @param[out] interval The GOP interval(millisecond) of the extra preview
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #CAMERA_ERROR_NONE Successful
+ * @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CAMERA_ERROR_INVALID_STATE Invalid state
+ * @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
+ * @see hal_camera_set_extra_preview_gop_interval()
+ */
+int hal_camera_get_extra_preview_gop_interval(void *camera_handle, int stream_id, int *interval);
+
/**
* @brief Sets a callback function to be called for extra preview frames.
* @since_tizen 6.5
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED Not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
*/
int hal_camera_set_extra_preview_frame_cb(void *camera_handle, hal_camera_extra_preview_frame_cb callback, void *user_data);
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see camera_set_extra_preview_cb()
*/
int hal_camera_unset_extra_preview_frame_cb(void *camera_handle);
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_set_extra_preview_frame_cb()
*/
int hal_camera_release_extra_preview_buffer(void *camera_handle, int stream_id, int buffer_index);
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_PREVIEWING or #CAMERA_STATE_RECORDING.
* @post The camera focus state will be #CAMERA_FOCUS_STATE_ONGOING.
* @see hal_camera_stop_auto_focus()
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_PREVIEWING or #CAMERA_STATE_RECORDING.
* @post The camera focus state will be #CAMERA_FOCUS_STATE_ONGOING.
* @see hal_camera_start_auto_focus()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_PREVIEWING or #CAMERA_STATE_RECORDING.
* @post If it succeeds the camera state will be #CAMERA_STATE_CAPTURING or #CAMERA_STATE_RECORDING_SNAPSHOT.
* @see hal_camera_start_preview()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_CAPTURING or #CAMERA_STATE_RECORDING_SNAPSHOT.
* @post If it succeeds the camera state will be #CAMERA_STATE_PREVIEWING or #CAMERA_STATE_RECORDING.
* @see hal_camera_start_capture()
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_OPENED.
* @see hal_camera_start_record()
* @see hal_camera_start_capture()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_start_preview()
* @see hal_camera_start_capture()
* @see hal_camera_set_preview_stream_format()
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be #CAMERA_STATE_PREVIEWING.
* @post The camera state will be #CAMERA_STATE_RECORDING.
* @see hal_camera_set_video_stream_format()
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be set to #CAMERA_STATE_PREVIEWING.
* @see hal_camera_start_record()
*/
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @pre The camera state must be #CAMERA_STATE_RECORDING.
* @post The camera state will be #CAMERA_STATE_PREVIEWING.
* @see hal_camera_set_video_stream_format()
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_get_command()
*/
int hal_camera_set_command(void *camera_handle, int64_t command, void *value);
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_get_command()
*/
int hal_camera_get_command(void *camera_handle, int64_t command, void **value);
* @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
* @retval #CAMERA_ERROR_INVALID_STATE Invalid state
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
+ * @retval #CAMERA_ERROR_NOT_IMPLEMENTED The feature is not implemented
* @see hal_camera_set_command()
* @see hal_camera_get_command()
*/