91d73ec8ea
1. cd aegisub/ 2. svn mv *cpp *h src/ 3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \ changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \ mythes.hxx res.rc src/ 4. cd .. 5. svn mv FFmpegSource2/ INSTALL Makefile.am README acinclude.m4 \ autogen.sh automation/ bin build configure.in desktop dummy.txt lib \ libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/ 6. mkdir -p docs/wiki_convert 7. svn add docs/wiki_convert 8. cd docs 9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/ * See r2749 for full description. Originally committed to SVN as r2752.
35 lines
866 B
C
35 lines
866 B
C
#ifndef __MPUTILS_H__
|
|
#define __MPUTILS_H__
|
|
|
|
#include "help_mp.h"
|
|
|
|
unsigned utf8_get_char(char **str);
|
|
|
|
void my_mp_msg(int lvl, char *lvl_str, char *fmt, ...);
|
|
|
|
#ifdef __VISUALC__
|
|
static void mp_msg(int mod, int level, const char *fmt, ...) {
|
|
// MSVC doesn't like the # used all around for mp_msg, so it breaks va_arg
|
|
}
|
|
#else
|
|
#define mp_msg(mod, level, args...) my_mp_msg(level, #level, args)
|
|
#endif
|
|
|
|
#define MSGT_ASS 43
|
|
|
|
#define MSGL_FATAL 0
|
|
#define MSGL_ERR 1
|
|
#define MSGL_WARN 2
|
|
#define MSGL_INFO 4
|
|
#define MSGL_V 6
|
|
#define MSGL_DBG2 7
|
|
|
|
void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height,
|
|
int stride, int *m2, int r, int mwidth);
|
|
|
|
void* guess_buffer_cp(unsigned char* buffer, int buflen, char *preferred_language, char *fallback);
|
|
|
|
#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
|
|
#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
|
|
|
|
#endif
|