Add new functions for extra preview stream format
[platform/core/multimedia/libmm-camcorder.git] / src / include / mm_camcorder_stillshot.h
index 22c19c9..fbef48c 100644 (file)
@@ -122,15 +122,6 @@ int _mmcamcorder_remove_stillshot_pipeline(MMHandleType handle);
 int _mmcamcorder_connect_capture_signal(MMHandleType handle);
 
 /**
- * This function connects extra preview stream signal.
- *
- * @param[in]  handle          Handle of camcorder context.
- * @return     This function returns MM_ERROR_NONE on success, or the other values on error.
- * @remarks
- */
-int _mmcamcorder_connect_extra_preview_stream(MMHandleType handle);
-
-/**
  * This function destroy image pipeline.
  *
  * @param[in]  handle          Handle of camcorder context.
@@ -152,6 +143,11 @@ int __mmcamcorder_capture_save_exifinfo(MMHandleType handle, MMCamcorderCaptureD
 int __mmcamcorder_set_jpeg_data(MMHandleType handle, MMCamcorderCaptureDataType *dest, MMCamcorderCaptureDataType *thumbnail, int provide_exif);
 gboolean __mmcamcorder_handoff_callback(GstElement *fakesink, GstBuffer *buffer, GstPad *pad, gpointer u_data);
 
+/* extra preview */
+int _mmcamcorder_initialize_extra_preview_stream(MMHandleType handle);
+int _mmcamcorder_set_extra_preview_stream_format(MMHandleType camcorder, int stream_id, int pixel_format, int width, int height, int fps);
+int _mmcamcorder_get_extra_preview_stream_format(MMHandleType camcorder, int stream_id, int *pixel_format, int *width, int *height, int *fps);
+
 #ifdef __cplusplus
 }
 #endif