mp_msg.h File Reference
#include <stdarg.h>
#include "config.h"
Include dependency graph for mp_msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSGL_FATAL   0
 
#define MSGL_ERR   1
 
#define MSGL_WARN   2
 
#define MSGL_HINT   3
 
#define MSGL_INFO   4
 
#define MSGL_STATUS   5
 
#define MSGL_V   6
 
#define MSGL_DBG2   7
 
#define MSGL_DBG3   8
 
#define MSGL_DBG4   9
 
#define MSGL_DBG5   10
 
#define MSGL_FIXME   1
 
#define MSGT_FIXME   0
 
#define MSGT_GLOBAL   0
 
#define MSGT_CPLAYER   1
 
#define MSGT_GPLAYER   2
 
#define MSGT_VO   3
 
#define MSGT_AO   4
 
#define MSGT_DEMUXER   5
 
#define MSGT_DS   6
 
#define MSGT_DEMUX   7
 
#define MSGT_HEADER   8
 
#define MSGT_AVSYNC   9
 
#define MSGT_AUTOQ   10
 
#define MSGT_CFGPARSER   11
 
#define MSGT_DECAUDIO   12
 
#define MSGT_DECVIDEO   13
 
#define MSGT_SEEK   14
 
#define MSGT_WIN32   15
 
#define MSGT_OPEN   16
 
#define MSGT_DVD   17
 
#define MSGT_PARSEES   18
 
#define MSGT_LIRC   19
 
#define MSGT_STREAM   20
 
#define MSGT_CACHE   21
 
#define MSGT_MENCODER   22
 
#define MSGT_XACODEC   23
 
#define MSGT_TV   24
 
#define MSGT_OSDEP   25
 
#define MSGT_SPUDEC   26
 
#define MSGT_PLAYTREE   27
 
#define MSGT_INPUT   28
 
#define MSGT_VFILTER   29
 
#define MSGT_OSD   30
 
#define MSGT_NETWORK   31
 
#define MSGT_CPUDETECT   32
 
#define MSGT_CODECCFG   33
 
#define MSGT_SWS   34
 
#define MSGT_VOBSUB   35
 
#define MSGT_SUBREADER   36
 
#define MSGT_AFILTER   37
 
#define MSGT_NETST   38
 
#define MSGT_MUXER   39
 
#define MSGT_OSD_MENU   40
 
#define MSGT_IDENTIFY   41
 
#define MSGT_RADIO   42
 
#define MSGT_ASS   43
 
#define MSGT_LOADER   44
 
#define MSGT_STATUSLINE   45
 
#define MSGT_TELETEXT   46
 
#define MSGT_MAX   64
 
#define mp_dbg(mod, lev, ...)   do { if (0) ff_mp_msg(mod, lev, __VA_ARGS__); } while (0)
 

Functions

void ff_mp_msg_init (void)
 
int ff_mp_msg_test (int mod, int lev)
 
void ff_mp_msg_va (int mod, int lev, const char *format, va_list va)
 
void ff_mp_msg (int mod, int lev, const char *format,...)
 
const char * ff_filename_recode (const char *filename)
 

Variables

int verbose
 
char * ff_mp_msg_charset
 
int ff_mp_msg_color
 
int ff_mp_msg_module
 
int ff_mp_msg_levels [MSGT_MAX]
 
int ff_mp_msg_level_all
 

Macro Definition Documentation

#define mp_dbg (   mod,
  lev,
  ... 
)    do { if (0) ff_mp_msg(mod, lev, __VA_ARGS__); } while (0)

Definition at line 160 of file mp_msg.h.

#define MSGL_DBG2   7

Definition at line 39 of file mp_msg.h.

Referenced by ff_sws_getFlagsAndFilterFromCmdLine(), and ff_vf_get_image().

#define MSGL_DBG3   8

Definition at line 40 of file mp_msg.h.

#define MSGL_DBG4   9

Definition at line 41 of file mp_msg.h.

#define MSGL_DBG5   10

Definition at line 42 of file mp_msg.h.

#define MSGL_ERR   1

Definition at line 33 of file mp_msg.h.

Referenced by config(), ff_vf_next_draw_slice(), and put_image().

#define MSGL_FATAL   0

Definition at line 32 of file mp_msg.h.

Referenced by ff_vf_get_image().

#define MSGL_FIXME   1

Definition at line 44 of file mp_msg.h.

#define MSGL_HINT   3

Definition at line 35 of file mp_msg.h.

#define MSGL_INFO   4

Definition at line 36 of file mp_msg.h.

Referenced by analyze_plane(), config(), and uninit().

#define MSGL_STATUS   5

Definition at line 37 of file mp_msg.h.

#define MSGL_V   6

Definition at line 38 of file mp_msg.h.

Referenced by analyze_plane(), ff_vf_get_image(), ff_vf_next_config(), and print_values().

#define MSGL_WARN   2

Definition at line 34 of file mp_msg.h.

Referenced by config(), ff_mp_image_setfmt(), ff_vf_get_image(), put_image(), and vf_open().

#define MSGT_AFILTER   37

Definition at line 109 of file mp_msg.h.

#define MSGT_AO   4

Definition at line 54 of file mp_msg.h.

#define MSGT_ASS   43

Definition at line 121 of file mp_msg.h.

#define MSGT_AUTOQ   10

Definition at line 62 of file mp_msg.h.

#define MSGT_AVSYNC   9

Definition at line 61 of file mp_msg.h.

#define MSGT_CACHE   21

Definition at line 78 of file mp_msg.h.

#define MSGT_CFGPARSER   11

Definition at line 64 of file mp_msg.h.

#define MSGT_CODECCFG   33

Definition at line 102 of file mp_msg.h.

#define MSGT_CPLAYER   1

Definition at line 50 of file mp_msg.h.

#define MSGT_CPUDETECT   32

Definition at line 100 of file mp_msg.h.

#define MSGT_DECAUDIO   12

Definition at line 66 of file mp_msg.h.

#define MSGT_DECVIDEO   13

Definition at line 67 of file mp_msg.h.

Referenced by ff_mp_image_setfmt(), and ff_vf_get_image().

#define MSGT_DEMUX   7

Definition at line 58 of file mp_msg.h.

#define MSGT_DEMUXER   5

Definition at line 56 of file mp_msg.h.

#define MSGT_DS   6

Definition at line 57 of file mp_msg.h.

#define MSGT_DVD   17

Definition at line 72 of file mp_msg.h.

#define MSGT_FIXME   0

Definition at line 45 of file mp_msg.h.

#define MSGT_GLOBAL   0

Definition at line 49 of file mp_msg.h.

#define MSGT_GPLAYER   2

Definition at line 51 of file mp_msg.h.

#define MSGT_HEADER   8

Definition at line 59 of file mp_msg.h.

#define MSGT_IDENTIFY   41

Definition at line 117 of file mp_msg.h.

#define MSGT_INPUT   28

Definition at line 92 of file mp_msg.h.

#define MSGT_LIRC   19

Definition at line 75 of file mp_msg.h.

#define MSGT_LOADER   44

Definition at line 123 of file mp_msg.h.

#define MSGT_MAX   64

Definition at line 129 of file mp_msg.h.

#define MSGT_MENCODER   22

Definition at line 80 of file mp_msg.h.

#define MSGT_MUXER   39

Definition at line 113 of file mp_msg.h.

#define MSGT_NETST   38

Definition at line 111 of file mp_msg.h.

#define MSGT_NETWORK   31

Definition at line 98 of file mp_msg.h.

#define MSGT_OPEN   16

Definition at line 71 of file mp_msg.h.

#define MSGT_OSD   30

Definition at line 96 of file mp_msg.h.

#define MSGT_OSD_MENU   40

Definition at line 115 of file mp_msg.h.

#define MSGT_OSDEP   25

Definition at line 86 of file mp_msg.h.

#define MSGT_PARSEES   18

Definition at line 74 of file mp_msg.h.

#define MSGT_PLAYTREE   27

Definition at line 90 of file mp_msg.h.

#define MSGT_RADIO   42

Definition at line 119 of file mp_msg.h.

#define MSGT_SEEK   14

Definition at line 69 of file mp_msg.h.

#define MSGT_SPUDEC   26

Definition at line 88 of file mp_msg.h.

#define MSGT_STATUSLINE   45

Definition at line 125 of file mp_msg.h.

#define MSGT_STREAM   20

Definition at line 77 of file mp_msg.h.

#define MSGT_SUBREADER   36

Definition at line 107 of file mp_msg.h.

#define MSGT_SWS   34

Definition at line 104 of file mp_msg.h.

#define MSGT_TELETEXT   46

Definition at line 127 of file mp_msg.h.

#define MSGT_TV   24

Definition at line 84 of file mp_msg.h.

#define MSGT_VO   3

Definition at line 53 of file mp_msg.h.

#define MSGT_VOBSUB   35

Definition at line 106 of file mp_msg.h.

#define MSGT_WIN32   15

Definition at line 70 of file mp_msg.h.

#define MSGT_XACODEC   23

Definition at line 82 of file mp_msg.h.

Function Documentation

const char* ff_filename_recode ( const char *  filename)
void ff_mp_msg ( int  mod,
int  lev,
const char *  format,
  ... 
)
void ff_mp_msg_init ( void  )
int ff_mp_msg_test ( int  mod,
int  lev 
)

Definition at line 283 of file vf_mp.c.

Referenced by analyze_plane(), and ff_sws_getFlagsAndFilterFromCmdLine().

void ff_mp_msg_va ( int  mod,
int  lev,
const char *  format,
va_list  va 
)

Variable Documentation

char* ff_mp_msg_charset
int ff_mp_msg_color
int ff_mp_msg_level_all
int ff_mp_msg_levels[MSGT_MAX]
int ff_mp_msg_module
int verbose