*imgsize = size;
break;
-
case MM_UTIL_COLOR_NV12:
case MM_UTIL_COLOR_NV12_TILED:
x_chroma_shift = 1;
break;
default:
- mm_util_error("Not supported format");
+ mm_util_error("Not supported format [%d]", format);
return MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
}
}
if (__mm_gst_can_resize_format(_imgp_info_s->src_format) == FALSE) {
- mm_util_error("#RESIZE ERROR# IMAGE_NOT_SUPPORT_FORMAT");
+ mm_util_error("Not supported format");
ret = MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
goto ERROR;
}
}
if (__mm_gst_can_rotate_format(_imgp_info_s->src_format) == FALSE) {
- mm_util_error("#ROTATE ERROR# IMAGE_NOT_SUPPORT_FORMAT");
+ mm_util_error("Not supported format");
ret = MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
goto ERROR;
}
if (_src->color == MM_UTIL_COLOR_I420 || _src->color == MM_UTIL_COLOR_YUV420) {
if ((_width % 2) != 0) {
- mm_util_warn("#YUV Width value(%u) must be even at least# ", _width);
_width = ((_width+1)>>1)<<1;
- mm_util_debug("Image isplay is suceeded when YUV crop width value %u", _width);
+ mm_util_warn("width must be even. change from [%d] to [%d]", width, _width);
}
- if ((_height % 2) != 0) { /* height value must be also even when crop yuv image */
- mm_util_warn("#YUV Height value(%u) must be even at least# ", _height);
+ if ((_height % 2) != 0) {
_height = ((_height+1)>>1)<<1;
- mm_util_debug("Image isplay is suceeded when YUV crop height value %u", _height);
+ mm_util_warn("height must be even. change from [%d] to [%d]", height, _height);
}
}
break;
}
default:
- mm_util_debug("Not supported format");
+ mm_util_error("Not supported format [%d]", _src->color);
g_free(_buffer);
return MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
}
break;
default:
- mm_util_error("Not supported format");
+ mm_util_error("Not supported format [%d]", format);
return MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
}