[camera] Update parameter - camera_get_command 10/180510/1 accepted/tizen/unified/20180611.015451 submit/tizen/20180530.102820 submit/tizen/20180607.021137
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 30 May 2018 07:40:58 +0000 (16:40 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 30 May 2018 07:40:58 +0000 (16:40 +0900)
[Version] 0.0.10
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I34c4664b71a9317f8d1f58513d15297dcd1a0e27
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/camera/camera_hal_interface.h
include/camera/tizen-camera.h
packaging/mm-hal-interface.spec
src/camera/camera_hal_interface.c

index 6ee6c61..f55cdb4 100644 (file)
@@ -51,7 +51,7 @@ int camera_hal_interface_start_record(camera_hal_interface *h, camera_video_fram
 int camera_hal_interface_release_video_buffer(camera_hal_interface *h, int buffer_index);
 int camera_hal_interface_stop_record(camera_hal_interface *h);
 int camera_hal_interface_set_command(camera_hal_interface *h, int64_t command, void *value);
-int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void *value);
+int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void **value);
 int camera_hal_interface_set_batch_command(camera_hal_interface *h, camera_batch_command_control_t *batch_command, int64_t *error_command);
 
 #ifdef __cplusplus
index d631119..962cf0d 100644 (file)
@@ -567,7 +567,7 @@ typedef struct camera_interface {
        int (*release_video_buffer)(void *camera_handle, int buffer_index);
        int (*stop_record)(void *camera_handle);
        int (*set_command)(void *camera_handle, int command, void *value);
-       int (*get_command)(void *camera_handle, int command, void *value);
+       int (*get_command)(void *camera_handle, int command, void **value);
        int (*set_batch_command)(void *camera_handle, camera_batch_command_control_t *batch_command, int64_t *error_command);
 } camera_interface_t;
 
@@ -959,7 +959,7 @@ int camera_set_command(void *camera_handle, int64_t command, void *value);
  * @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
  * @see camera_get_command()
  */
-int camera_get_command(void *camera_handle, int64_t command, void *value);
+int camera_get_command(void *camera_handle, int64_t command, void **value);
 
 /**
  * @brief Sets a set of commands.
index 07d89bf..2bf1b58 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mm-hal-interface
 Summary:    Multimedia HAL Interface
-Version:    0.0.9
+Version:    0.0.10
 Release:    0
 Group:      Multimedia/Development
 License:    Apache-2.0
index 4b484eb..ebc92dc 100644 (file)
@@ -553,7 +553,7 @@ int camera_hal_interface_set_command(camera_hal_interface *h, int64_t command, v
 }
 
 
-int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void *value)
+int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void **value)
 {
        int ret = CAMERA_ERROR_NONE;