#define MEDIA_CONTENT_UUID_SIZE 36
#define BATCH_REQUEST_MAX 300
-#define EMPTY_STR ""
-
typedef enum {
MEDIA_INFO_UUID = 0,
MEDIA_INFO_PATH,
} media_info_item_e;
typedef enum {
- MEDIA_CONTENT_TYPE = 0,
- MEDIA_THUMBNAIL_TYPE,
- MEDIA_REGISTER_TYPE
-} media_info_error_type_e;
-
-typedef enum {
MEDIA_TAG_ADD,
MEDIA_TAG_REMOVE,
MEDIA_TAG_UPDATE_TAG_NAME,
media_content_orientation_e orientation;
} image_meta_s;
-typedef struct _image_mm_meta_s {
- int width;
- int height;
-} image_mm_meta_s;
-
typedef struct {
char *media_id;
char *album;
LOGE(FONT_COLOR_RED"[%ld]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg); \
} while (0)
-#define content_debug_func() do { \
- LOGD(FONT_COLOR_RESET"[%ld]", media_content_gettid()); \
- } while (0)
-
#define content_sec_debug(fmt, arg...) do { \
SECURE_LOGD(FONT_COLOR_CYAN"[%ld]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg); \
} while (0)
-#define content_sec_warn(fmt, arg...) do { \
- SECURE_LOGW(FONT_COLOR_RED"[%ld]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg); \
- } while (0)
-
#define content_sec_error(fmt, arg...) do { \
SECURE_LOGE(FONT_COLOR_RED"[%ld]"fmt""FONT_COLOR_RESET, media_content_gettid(), ##arg); \
} while (0)