summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/mm_camcorder.h10
-rw-r--r--src/include/mm_camcorder_attribute.h2
-rw-r--r--src/include/mm_camcorder_internal.h1
3 files changed, 13 insertions, 0 deletions
diff --git a/src/include/mm_camcorder.h b/src/include/mm_camcorder.h
index 9ad8416..0eb6492 100644
--- a/src/include/mm_camcorder.h
+++ b/src/include/mm_camcorder.h
@@ -1228,6 +1228,16 @@ extern "C" {
#define MMCAM_SUPPORT_MEDIA_PACKET_PREVIEW_CB "support-media-packet-preview-cb"
/**
+* Support user buffer for zero copy
+*/
+#define MMCAM_SUPPORT_USER_BUFFER "support-user-buffer"
+
+/**
+* Buffer fd from user
+*/
+#define MMCAM_USER_BUFFER_FD "user-buffer-fd"
+
+/**
* Enable to write tags for recorded file
*/
#define MMCAM_RECORDER_TAG_ENABLE "recorder-tag-enable"
diff --git a/src/include/mm_camcorder_attribute.h b/src/include/mm_camcorder_attribute.h
index e0ccc7c..2e8cbad 100644
--- a/src/include/mm_camcorder_attribute.h
+++ b/src/include/mm_camcorder_attribute.h
@@ -188,6 +188,8 @@ typedef enum {
MM_CAM_GDBUS_CONNECTION, /* 130 */
MM_CAM_AUDIO_REPLAY_GAIN_ENABLE,
MM_CAM_AUDIO_REPLAY_GAIN_REFERENCE_LEVEL,
+ MM_CAM_SUPPORT_USER_BUFFER,
+ MM_CAM_USER_BUFFER_FD,
MM_CAM_ATTRIBUTE_NUM
} MMCamcorderAttrsID;
diff --git a/src/include/mm_camcorder_internal.h b/src/include/mm_camcorder_internal.h
index f8f9ad9..144ae34 100644
--- a/src/include/mm_camcorder_internal.h
+++ b/src/include/mm_camcorder_internal.h
@@ -770,6 +770,7 @@ typedef struct mmf_camcorder {
int use_zero_copy_format; /**< Whether use zero copy format for camera input */
int use_videoconvert; /**< Whether use videoconvert element for display */
int support_media_packet_preview_cb; /**< Whether support zero copy format for camera input */
+ int support_user_buffer; /**< Whether support user allocated buffer for zero copy */
int shutter_sound_policy; /**< shutter sound policy */
int brightness_default; /**< default value of brightness */
int brightness_step_denominator; /**< denominator of brightness bias step */