* @brief Enumeration for supported barcode types.
* @details QR codes (versions 1 to 40) and set of 1D barcodes are supported
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef enum
- {
- MV_BARCODE_QR, /**< 2D barcode - Quick Response code */
- MV_BARCODE_UPC_A, /**< 1D barcode - Universal Product Code with 12-digit */
- MV_BARCODE_UPC_E, /**< 1D barcode - Universal Product Code with 6-digit */
- MV_BARCODE_EAN_8, /**< 1D barcode - International Article Number with 8-digit */
- MV_BARCODE_EAN_13, /**< 1D barcode - International Article Number with 13-digit */
- MV_BARCODE_CODE128, /**< 1D barcode - Code 128 */
- MV_BARCODE_CODE39, /**< 1D barcode - Code 39 */
- MV_BARCODE_I2_5, /**< 1D barcode - Interleaved Two of Five */
- MV_BARCODE_UNDEFINED /**< Undefined */
+ typedef enum {
+ MV_BARCODE_QR, /**< 2D barcode - Quick Response code */
+ MV_BARCODE_UPC_A, /**< 1D barcode - Universal Product Code with 12-digit */
+ MV_BARCODE_UPC_E, /**< 1D barcode - Universal Product Code with 6-digit */
+ MV_BARCODE_EAN_8, /**< 1D barcode - International Article Number with 8-digit */
+ MV_BARCODE_EAN_13, /**< 1D barcode - International Article Number with 13-digit */
+ MV_BARCODE_CODE128, /**< 1D barcode - Code 128 */
+ MV_BARCODE_CODE39, /**< 1D barcode - Code 39 */
+ MV_BARCODE_I2_5, /**< 1D barcode - Interleaved Two of Five */
+ MV_BARCODE_UNDEFINED /**< Undefined */
} mv_barcode_type_e;
/**
* @brief Enumeration for supported QR code error correction level.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
* @remarks This is unavailable for 1D barcodes
*/
- typedef enum
- {
- MV_BARCODE_QR_ECC_LOW, /**< Recovery up to 7% losses */
- MV_BARCODE_QR_ECC_MEDIUM, /**< Recovery up to 15% losses */
- MV_BARCODE_QR_ECC_QUARTILE, /**< Recovery up to 25% losses */
- MV_BARCODE_QR_ECC_HIGH, /**< Recovery up to 30% losses */
- MV_BARCODE_QR_ECC_UNAVAILABLE /**< Unavailable */
+ typedef enum {
+ MV_BARCODE_QR_ECC_LOW, /**< Recovery up to 7% losses */
+ MV_BARCODE_QR_ECC_MEDIUM, /**< Recovery up to 15% losses */
+ MV_BARCODE_QR_ECC_QUARTILE, /**< Recovery up to 25% losses */
+ MV_BARCODE_QR_ECC_HIGH, /**< Recovery up to 30% losses */
+ MV_BARCODE_QR_ECC_UNAVAILABLE /**< Unavailable */
} mv_barcode_qr_ecc_e;
/**
* @brief Enumeration for supported QR code encoding mode.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
* @remarks This is unavailable for 1D barcodes
*/
- typedef enum
- {
- MV_BARCODE_QR_MODE_NUMERIC, /**< Numeric digits */
- MV_BARCODE_QR_MODE_ALPHANUMERIC, /**< Alphanumeric characters */
- MV_BARCODE_QR_MODE_BYTE, /**< Raw 8-bit bytes */
- MV_BARCODE_QR_MODE_UTF8, /**< UTF-8 character encoding */
- MV_BARCODE_QR_MODE_UNAVAILABLE /**< Unavailable */
+ typedef enum {
+ MV_BARCODE_QR_MODE_NUMERIC, /**< Numeric digits */
+ MV_BARCODE_QR_MODE_ALPHANUMERIC, /**< Alphanumeric characters */
+ MV_BARCODE_QR_MODE_BYTE, /**< Raw 8-bit bytes */
+ MV_BARCODE_QR_MODE_UTF8, /**< UTF-8 character encoding */
+ MV_BARCODE_QR_MODE_UNAVAILABLE /**< Unavailable */
} mv_barcode_qr_mode_e;
/**
* @brief Enumeration for supported image formats for the barcode generating.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef enum
- {
- MV_BARCODE_IMAGE_FORMAT_UNAVAILABLE = -1, /** Unavailable image format */
- MV_BARCODE_IMAGE_FORMAT_BMP, /**< BMP image format */
- MV_BARCODE_IMAGE_FORMAT_JPG, /**< JPEG image format */
- MV_BARCODE_IMAGE_FORMAT_PNG, /**< PNG image format */
- MV_BARCODE_IMAGE_FORMAT_NUM, /**< The number of supported image format */
+ typedef enum {
+ MV_BARCODE_IMAGE_FORMAT_UNAVAILABLE = -1, /** Unavailable image format */
+ MV_BARCODE_IMAGE_FORMAT_BMP, /**< BMP image format */
+ MV_BARCODE_IMAGE_FORMAT_JPG, /**< JPEG image format */
+ MV_BARCODE_IMAGE_FORMAT_PNG, /**< PNG image format */
+ MV_BARCODE_IMAGE_FORMAT_NUM, /**< The number of supported image format */
} mv_barcode_image_format_e;
/**
/**
* @brief Point in 2D space.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef struct
- {
- int x; /**< X-axis coordinate of the point in 2D space */
- int y; /**< Y-axis coordinate of the point in 2D space */
+ typedef struct {
+ int x; /**< X-axis coordinate of the point in 2D space */
+ int y; /**< Y-axis coordinate of the point in 2D space */
} mv_point_s;
/**
* @brief Location of the object bounded by quadrangle defined by four 2D points.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef struct
- {
- mv_point_s points[4]; /**< Four points that define object bounding
- quadrangle */
+ typedef struct {
+ mv_point_s points[4]; /**< Four points that define object bounding
+ quadrangle */
} mv_quadrangle_s;
/**
* @brief Location of the object bounded by rectangle defined by
* coordinates of top left corner, width and height.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef struct
- {
- mv_point_s point; /**< Top left corner of rectangle coordinates */
- int width; /**< Width of the bounding rectangle */
- int height; /**< Height of the bounding rectangle */
+ typedef struct {
+ mv_point_s point; /**< Top left corner of rectangle coordinates */
+ int width; /**< Width of the bounding rectangle */
+ int height; /**< Height of the bounding rectangle */
} mv_rectangle_s;
/**
* @brief Enumeration for Media Vision error.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef enum
- {
- MEDIA_VISION_ERROR_NONE
- = TIZEN_ERROR_NONE, /**< Successful */
- MEDIA_VISION_ERROR_NOT_SUPPORTED
- = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
- MEDIA_VISION_ERROR_MSG_TOO_LONG
- = TIZEN_ERROR_MSG_TOO_LONG, /**< Message too long */
- MEDIA_VISION_ERROR_NO_DATA
- = TIZEN_ERROR_NO_DATA, /**< No data */
- MEDIA_VISION_ERROR_KEY_NOT_AVAILABLE
- = TIZEN_ERROR_KEY_NOT_AVAILABLE, /**< Key not available */
- MEDIA_VISION_ERROR_OUT_OF_MEMORY
- = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
- MEDIA_VISION_ERROR_INVALID_PARAMETER
- = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
- MEDIA_VISION_ERROR_INVALID_OPERATION
- = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid operation */
- MEDIA_VISION_ERROR_PERMISSION_DENIED
- = TIZEN_ERROR_NOT_PERMITTED, /**< Not permitted */
- MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT
- = TIZEN_ERROR_MEDIA_VISION | 0x01, /**< Not supported format */
- MEDIA_VISION_ERROR_INTERNAL
- = TIZEN_ERROR_MEDIA_VISION | 0x02, /**< Internal error */
- MEDIA_VISION_ERROR_INVALID_DATA
- = TIZEN_ERROR_MEDIA_VISION | 0x03, /**< Invalid data */
- MEDIA_VISION_ERROR_INVALID_PATH
- = TIZEN_ERROR_MEDIA_VISION | 0x04, /**< Invalid path (Since 3.0) */
+ typedef enum {
+ MEDIA_VISION_ERROR_NONE
+ = TIZEN_ERROR_NONE, /**< Successful */
+ MEDIA_VISION_ERROR_NOT_SUPPORTED
+ = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
+ MEDIA_VISION_ERROR_MSG_TOO_LONG
+ = TIZEN_ERROR_MSG_TOO_LONG, /**< Message too long */
+ MEDIA_VISION_ERROR_NO_DATA
+ = TIZEN_ERROR_NO_DATA, /**< No data */
+ MEDIA_VISION_ERROR_KEY_NOT_AVAILABLE
+ = TIZEN_ERROR_KEY_NOT_AVAILABLE, /**< Key not available */
+ MEDIA_VISION_ERROR_OUT_OF_MEMORY
+ = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
+ MEDIA_VISION_ERROR_INVALID_PARAMETER
+ = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
+ MEDIA_VISION_ERROR_INVALID_OPERATION
+ = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid operation */
+ MEDIA_VISION_ERROR_PERMISSION_DENIED
+ = TIZEN_ERROR_NOT_PERMITTED, /**< Not permitted */
+ MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT
+ = TIZEN_ERROR_MEDIA_VISION | 0x01, /**< Not supported format */
+ MEDIA_VISION_ERROR_INTERNAL
+ = TIZEN_ERROR_MEDIA_VISION | 0x02, /**< Internal error */
+ MEDIA_VISION_ERROR_INVALID_DATA
+ = TIZEN_ERROR_MEDIA_VISION | 0x03, /**< Invalid data */
+ MEDIA_VISION_ERROR_INVALID_PATH
+ = TIZEN_ERROR_MEDIA_VISION | 0x04, /**< Invalid path (Since 3.0) */
} mv_error_e;
/**
* @brief Enumeration for Media Vision @ref mv_engine_config_h handle attribute
* type.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef enum
- {
- MV_ENGINE_CONFIG_ATTR_TYPE_DOUBLE, /**< Double attribute type */
- MV_ENGINE_CONFIG_ATTR_TYPE_INTEGER, /**< Integer attribute type */
- MV_ENGINE_CONFIG_ATTR_TYPE_BOOLEAN, /**< Boolean attribute type */
- MV_ENGINE_CONFIG_ATTR_TYPE_STRING /**< String attribute type */
+ typedef enum {
+ MV_ENGINE_CONFIG_ATTR_TYPE_DOUBLE, /**< Double attribute type */
+ MV_ENGINE_CONFIG_ATTR_TYPE_INTEGER, /**< Integer attribute type */
+ MV_ENGINE_CONFIG_ATTR_TYPE_BOOLEAN, /**< Boolean attribute type */
+ MV_ENGINE_CONFIG_ATTR_TYPE_STRING /**< String attribute type */
} mv_config_attribute_type_e;
/**
* @brief Enumeration for Media Vision colorspace.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
*/
- typedef enum
- {
- MEDIA_VISION_COLORSPACE_INVALID, /**< The colorspace type is invalid */
- MEDIA_VISION_COLORSPACE_Y800, /**< The colorspace type is Y800 */
- MEDIA_VISION_COLORSPACE_I420, /**< The colorspace type is I420 */
- MEDIA_VISION_COLORSPACE_NV12, /**< The colorspace type is NV12 */
- MEDIA_VISION_COLORSPACE_YV12, /**< The colorspace type is YV12 */
- MEDIA_VISION_COLORSPACE_NV21, /**< The colorspace type is NV21 */
- MEDIA_VISION_COLORSPACE_YUYV, /**< The colorspace type is YUYV */
- MEDIA_VISION_COLORSPACE_UYVY, /**< The colorspace type is UYVY */
- MEDIA_VISION_COLORSPACE_422P, /**< The colorspace type is 422P */
- MEDIA_VISION_COLORSPACE_RGB565, /**< The colorspace type is RGB565 */
- MEDIA_VISION_COLORSPACE_RGB888, /**< The colorspace type is RGB888 */
- MEDIA_VISION_COLORSPACE_RGBA, /**< The colorspace type is RGBA */
+ typedef enum {
+ MEDIA_VISION_COLORSPACE_INVALID, /**< The colorspace type is invalid */
+ MEDIA_VISION_COLORSPACE_Y800, /**< The colorspace type is Y800 */
+ MEDIA_VISION_COLORSPACE_I420, /**< The colorspace type is I420 */
+ MEDIA_VISION_COLORSPACE_NV12, /**< The colorspace type is NV12 */
+ MEDIA_VISION_COLORSPACE_YV12, /**< The colorspace type is YV12 */
+ MEDIA_VISION_COLORSPACE_NV21, /**< The colorspace type is NV21 */
+ MEDIA_VISION_COLORSPACE_YUYV, /**< The colorspace type is YUYV */
+ MEDIA_VISION_COLORSPACE_UYVY, /**< The colorspace type is UYVY */
+ MEDIA_VISION_COLORSPACE_422P, /**< The colorspace type is 422P */
+ MEDIA_VISION_COLORSPACE_RGB565, /**< The colorspace type is RGB565 */
+ MEDIA_VISION_COLORSPACE_RGB888, /**< The colorspace type is RGB888 */
+ MEDIA_VISION_COLORSPACE_RGBA, /**< The colorspace type is RGBA */
} mv_colorspace_e;
/**