SET(INC_COM_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR}, ${INC_COM_DIR})
-IF (EVAS_RENDERER_SUPPORT)
+IF (TIZEN_FEATURE_EVAS_RENDERER)
SET(dependents "dlog glib-2.0 libtbm capi-media-tool capi-media-sound-manager capi-base-common mused mm-common tizen-extension-client evas ecore elementary mm-evas-renderer")
-ELSE (EVAS_RENDERER_SUPPORT)
+ELSE (TIZEN_FEATURE_EVAS_RENDERER)
SET(dependents "dlog glib-2.0 libtbm capi-media-tool capi-media-sound-manager capi-base-common mused mm-common tizen-extension-client evas ecore elementary")
-ENDIF (EVAS_RENDERER_SUPPORT)
+ENDIF (TIZEN_FEATURE_EVAS_RENDERER)
SET(pc_dependents "libtbm capi-media-tool capi-base-common capi-media-sound-manager")
INCLUDE(FindPkgConfig)
ADD_DEFINITIONS("-DTARGET")
ENDIF("${ARCH}" STREQUAL "arm")
-IF (EVAS_RENDERER_SUPPORT)
- ADD_DEFINITIONS("-DEVAS_RENDERER_SUPPORT")
-ENDIF(EVAS_RENDERER_SUPPORT)
+IF (TIZEN_FEATURE_EVAS_RENDERER)
+ ADD_DEFINITIONS("-DTIZEN_FEATURE_EVAS_RENDERER")
+ENDIF(TIZEN_FEATURE_EVAS_RENDERER)
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DTIZEN_DEBUG")
#include "player_private.h"
#include "player_display.h"
#include "player_msg.h"
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
#include <mm_evas_renderer.h>
#endif
#define INVALID_SOCKET -1
LOGD("ENTER");
player_msg_send(api, pc, ret_buf, ret);
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (CALLBACK_INFO(pc) && EVAS_HANDLE(pc)) {
player_unset_media_packet_video_frame_decoded_cb(player);
if (mm_evas_renderer_destroy(&EVAS_HANDLE(pc)) != MM_ERROR_NONE)
if (!CALLBACK_INFO(pc))
return PLAYER_ERROR_INVALID_STATE;
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
player_unset_media_packet_video_frame_decoded_cb(player);
if (mm_evas_renderer_destroy(&EVAS_HANDLE(pc)) != MM_ERROR_NONE)
char *ret_buf = NULL;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_update_param(EVAS_HANDLE(pc));
if (ret != PLAYER_ERROR_NONE)
pc->wlclient = NULL;
}
}
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
else if (type == PLAYER_DISPLAY_TYPE_EVAS && !strcmp(object_type, "image")) {
/* evas object surface */
LOGI("evas surface type");
char *ret_buf = NULL;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_set_geometry(EVAS_HANDLE(pc), mode);
return ret;
int mode = -1;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_get_geometry(EVAS_HANDLE(pc), &mode);
*pmode = (player_display_mode_e) mode;
char *ret_buf = NULL;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_set_rotation(EVAS_HANDLE(pc), rotation);
return ret;
int rotation = -1;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_get_rotation(EVAS_HANDLE(pc), &rotation);
*protation = (player_display_rotation_e) rotation;
char *ret_buf = NULL;
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_set_visible(EVAS_HANDLE(pc), visible);
return ret;
muse_player_api_e api = MUSE_PLAYER_API_IS_DISPLAY_VISIBLE;
char *ret_buf = NULL;
int value = -1;
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
bool visible = 0;
#endif
LOGD("ENTER");
-#ifdef EVAS_RENDERER_SUPPORT
+#ifdef TIZEN_FEATURE_EVAS_RENDERER
if (EVAS_HANDLE(pc)) {
ret = mm_evas_renderer_get_visible(EVAS_HANDLE(pc), &visible);
if (visible)