case IMAGE_UTIL_COLORSPACE_YUV422:
mimetype = MEDIA_FORMAT_422P;
break;
+ /* LCOV_EXCL_START */
case IMAGE_UTIL_COLORSPACE_NV12:
mimetype = MEDIA_FORMAT_NV12;
break;
case IMAGE_UTIL_COLORSPACE_ARGB8888:
mimetype = MEDIA_FORMAT_ARGB;
break;
+ /* LCOV_EXCL_STOP */
case IMAGE_UTIL_COLORSPACE_RGBA8888:
mimetype = MEDIA_FORMAT_RGBA;
break;
+ /* LCOV_EXCL_START */
case IMAGE_UTIL_COLORSPACE_NV21:
mimetype = MEDIA_FORMAT_NV21;
break;
mimetype = MEDIA_FORMAT_NV16;
break;
case IMAGE_UTIL_COLORSPACE_BGRA8888: /* not supported */
+ /* LCOV_EXCL_STOP */
case IMAGE_UTIL_COLORSPACE_BGRX8888: /* not supported */
case IMAGE_UTIL_COLORSPACE_NV61: /* not supported */
case IMAGE_UTIL_COLORSPACE_YV12: /* not supported */
return CONTACTS_ERROR_NONE;
}
-
+ /* LCOV_EXCL_START */
int ctsvc_image_util_rotate(media_packet_h packet, image_util_rotation_e rotation,
void **p_buffer, uint64_t *p_size)
{
ret = image_util_transform_create(&transform);
if (IMAGE_UTIL_ERROR_NONE != ret) {
- /* LCOV_EXCL_START */
ERR("image_util_transform_create() Fail(%d)", ret);
return CONTACTS_ERROR_SYSTEM;
- /* LCOV_EXCL_STOP */
}
ret = image_util_transform_set_rotation(transform, rotation);
if (IMAGE_UTIL_ERROR_NONE != ret) {
- /* LCOV_EXCL_START */
ERR("image_util_transform_set_rotation() Fail(%d)", ret);
image_util_transform_destroy(transform);
return CONTACTS_ERROR_SYSTEM;
- /* LCOV_EXCL_STOP */
}
ret = _ctsvc_image_util_transform_run(transform, packet, p_buffer, p_size);
image_util_transform_destroy(transform);
return ret;
}
-
+ /* LCOV_EXCL_STOP */
int ctsvc_image_util_resize(media_packet_h packet, int width, int height,
void **p_buffer, uint64_t *p_size)
{