/*=======================================================================================
| GLOBAL DEFINITIONS AND DECLARATIONS FOR CAMCORDER |
========================================================================================*/
+#define MM_CAMCORDER_ATTR_NONE -1
+
/*=======================================================================================
| MACRO DEFINITIONS |
/**
* Default None value for camera sensor enumeration.
*/
-#define _MMCAMCORDER_SENSOR_ENUM_NONE -255
+#define _MMCAMCORDER_SENSOR_ENUM_NONE -255
/* camera information related */
-#define CAMINFO_CONVERT_NUM 40
+#define CAMINFO_CONVERT_NUM 45
/*=======================================================================================
ENUM_CONVERT_NUM
} MMCamConvertingEnum;
+typedef enum {
+ MM_CAMCONVERT_CATEGORY_CAMERA = 1 << 0,
+ MM_CAMCONVERT_CATEGORY_DISPLAY = 1 << 1,
+ MM_CAMCONVERT_CATEGORY_AUDIO = 1 << 2,
+ MM_CAMCONVERT_CATEGORY_ALL = MM_CAMCONVERT_CATEGORY_CAMERA | MM_CAMCONVERT_CATEGORY_DISPLAY | MM_CAMCONVERT_CATEGORY_AUDIO
+} MMCamConvertingCategory;
+
/*=======================================================================================
| STRUCTURE DEFINITIONS |
========================================================================================*/
int _mmcamcorder_set_converted_value(MMHandleType handle, _MMCamcorderEnumConvert *convert);
int _mmcamcorder_init_convert_table(MMHandleType handle);
-int _mmcamcorder_init_attr_from_configure(MMHandleType handle);
+int _mmcamcorder_init_attr_from_configure(MMHandleType handle, MMCamConvertingCategory category);
int _mmcamcorder_convert_brightness(int mslVal);
int _mmcamcorder_convert_whitebalance(int mslVal);
int _mmcamcorder_convert_colortone(int mslVal);
double _mmcamcorder_convert_volume(int mslVal);
+int __mmcamcorder_set_info_to_attr(MMHandleType handle, _MMCamcorderInfoConverting *info, int table_size);
#ifdef __cplusplus
}