From: Jiyong Min Date: Wed, 3 Aug 2016 03:41:43 +0000 (+0900) Subject: Add the description for callback context X-Git-Tag: submit/tizen/20160805.054353^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3829f96c28582ab9d994d57cef04365dba49a5f4;p=platform%2Fcore%2Fapi%2Fimage-util.git Add the description for callback context Change-Id: Ibf05dbbe9500cf75fd77450b4bda864af47036af Signed-off-by: jiyong min --- diff --git a/include/mobile/image_util_type.h b/include/mobile/image_util_type.h index ea07bfc..acdbe9a 100644 --- a/include/mobile/image_util_type.h +++ b/include/mobile/image_util_type.h @@ -111,7 +111,8 @@ typedef struct transformation_s *transformation_h; * @brief Called when transform is finished just before returning the output. * @since_tizen 2.3 * -* @remarks You must release the @a dst result using media_packet_destroy(). +* @remarks You must release the @a dst result using media_packet_destroy(). \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util transfrom * @param[in, out] dst The result buffer of image util transform @@ -173,7 +174,8 @@ typedef enum { * @brief Called when Image-util decoding is finished just before returning the output. * @since_tizen 3.0 * -* @remarks The output will be stored in the pointer set using image_util_decode_set_output_buffer() after this callback. +* @remarks The output will be stored in the pointer set using image_util_decode_set_output_buffer() after this callback. \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util decoding * #IMAGE_UTIL_ERROR_NONE Successful @@ -193,7 +195,8 @@ typedef void (*image_util_decode_completed_cb) (int error_code, void *user_data, * @brief Called when Image-util encoding is finished just before returning the output. * @since_tizen 3.0 * -* @remarks The output will be stored in the pointer set using image_util_encode_set_output_buffer() or image_util_encode_set_output_path() after this callback. +* @remarks The output will be stored in the pointer set using image_util_encode_set_output_buffer() or image_util_encode_set_output_path() after this callback. \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util encoding * #IMAGE_UTIL_ERROR_NONE Successful diff --git a/include/wearable/image_util_type.h b/include/wearable/image_util_type.h index 19f915a..b05f647 100755 --- a/include/wearable/image_util_type.h +++ b/include/wearable/image_util_type.h @@ -111,7 +111,8 @@ typedef struct transformation_s *transformation_h; * @brief Called when transform is finished just before returning the output. * @since_tizen 2.3 * -* @remarks You must release the @a dst result using media_packet_destroy(). +* @remarks You must release the @a dst result using media_packet_destroy(). \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util transfrom * @param[in, out] dst The result buffer of image util transform @@ -173,7 +174,8 @@ typedef enum { * @brief Called when Image-util decoding is finished just before returning the output. * @since_tizen 3.0 * -* @remarks The output will be stored in the pointer set using image_util_decode_set_output_buffer() after this callback. +* @remarks The output will be stored in the pointer set using image_util_decode_set_output_buffer() after this callback. \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util decoding * #IMAGE_UTIL_ERROR_NONE Successful @@ -193,7 +195,8 @@ typedef void (*image_util_decode_completed_cb) (int error_code, void *user_data, * @brief Called when Image-util encoding is finished just before returning the output. * @since_tizen 3.0 * -* @remarks The output will be stored in the pointer set using image_util_encode_set_output_buffer() or image_util_encode_set_output_path() after this callback. +* @remarks The output will be stored in the pointer set using image_util_encode_set_output_buffer() or image_util_encode_set_output_path() after this callback. \n +* The callback is called in a separate thread(not in the main loop). * * @param[in] error_code The error code of image util encoding * #IMAGE_UTIL_ERROR_NONE Successful