diff options
author | lucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-20 12:13:57 +0000 |
---|---|---|
committer | lucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-20 12:13:57 +0000 |
commit | 0860745385f730be8615373ed834a652154e2516 (patch) | |
tree | 8cf981ea376bd06794527f82cf0f761be5158ce8 /libswscale/swscale_internal.h | |
parent | 68deda7604af1d9270bdf5da5cc78a109272a70c (diff) | |
download | mpv-0860745385f730be8615373ed834a652154e2516.tar.bz2 mpv-0860745385f730be8615373ed834a652154e2516.tar.xz |
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19148 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5bccd62b6e..bc8f08d1db 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -23,20 +23,20 @@ #include <altivec.h> #endif +#include "avutil.h" + #ifdef CONFIG_DARWIN #define AVV(x...) (x) #else #define AVV(x...) {x} #endif -#include "mp_msg.h" - -#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args ) -#define MSG_FATAL(args...) mp_msg(MSGT_SWS,MSGL_FATAL, ##args ) -#define MSG_ERR(args...) mp_msg(MSGT_SWS,MSGL_ERR, ##args ) -#define MSG_V(args...) mp_msg(MSGT_SWS,MSGL_V, ##args ) -#define MSG_DBG2(args...) mp_msg(MSGT_SWS,MSGL_DBG2, ##args ) -#define MSG_INFO(args...) mp_msg(MSGT_SWS,MSGL_INFO, ##args ) +#define MSG_WARN(args...) av_log(NULL, AV_LOG_DEBUG, ##args ) +#define MSG_FATAL(args...) av_log(NULL, AV_LOG_ERROR, ##args ) +#define MSG_ERR(args...) av_log(NULL, AV_LOG_ERROR, ##args ) +#define MSG_V(args...) av_log(NULL, AV_LOG_INFO, ##args ) +#define MSG_DBG2(args...) av_log(NULL, AV_LOG_DEBUG, ##args ) +#define MSG_INFO(args...) av_log(NULL, AV_LOG_INFO, ##args ) #define MAX_FILTER_SIZE 256 @@ -164,4 +164,6 @@ typedef struct SwsContext{ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c); int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation); +char *sws_format_name(int format); + #endif |