rename API
authorInki Dae <inki.dae@samsung.com>
Tue, 26 Mar 2024 05:51:09 +0000 (14:51 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 5 Apr 2024 03:30:19 +0000 (12:30 +0900)
Rename singleo_service_add_image_data to singleo_service_add_rgb_data.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
capi/singleo_native_capi.h
services/singleo_native_capi.cpp

index c553de46f5b40094fd09e40b3cd7d6f16b04ad5e..e8b49d68c1079c77758350f6b33ce06277cf7c02 100644 (file)
@@ -131,7 +131,7 @@ int singleo_service_add_input_image_file(singleo_service_h handle, const char *f
  *
  * @pre Create a source handle by calling singleo_service_create()
  */
-int singleo_service_add_input_image_data(singleo_service_h handle, const unsigned char *buffer, unsigned int width,
+int singleo_service_add_input_rgb_data(singleo_service_h handle, const unsigned char *buffer, unsigned int width,
                                                                                 unsigned int height, unsigned long byte_per_pixel);
 
 /**
index 35656a30732e6192d7e377232d51fbb9579b3782..2786d9bdfcb48f9608b085aed857bbe1bf046920 100644 (file)
@@ -82,7 +82,7 @@ int singleo_service_add_input_image_file(singleo_service_h handle, const char *f
        return SINGLEO_ERROR_NONE;
 }
 
-int singleo_service_add_input_image_data(singleo_service_h handle, const unsigned char *buffer, unsigned int width,
+int singleo_service_add_input_rgb_data(singleo_service_h handle, const unsigned char *buffer, unsigned int width,
                                                                                 unsigned int height, unsigned long byte_per_pixel)
 {
        try {