log.h File Reference

Go to the source code of this file.

Classes

struct  AVCLASS

Typedefs

typedef struct AVCLASS AVClass
 Used by av_log.

Functions

void av_log (void *, int level, const char *fmt,...) __attribute__((__format__(__printf__
 Send the specified message to the log if the level is less than or equal to the current av_log_level.
void av_vlog (void *, int level, const char *fmt, va_list)
int av_log_get_level (void)
void av_log_set_level (int)
void av_log_set_callback (void(*)(void *, int, const char *, va_list))
void av_log_default_callback (void *ptr, int level, const char *fmt, va_list vl)

Variables

int av_log_level
void(* av_vlog )(void *, int, const char *, va_list)


Typedef Documentation

typedef struct AVCLASS AVClass

Used by av_log.

Definition at line 29 of file log.h.


Function Documentation

void av_log ( void *  ,
int  level,
const char *  fmt,
  ... 
)

Send the specified message to the log if the level is less than or equal to the current av_log_level.

By default, all logging messages are sent to stderr. This behavior can be altered by setting a different av_vlog callback function.

Parameters:
avcl A pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct.
level The importance level of the message, lower values signifying higher importance.
fmt The format string (printf-compatible) that specifies how subsequent arguments are converted to output.
See also:
av_vlog

void av_vlog ( void *  ,
int  level,
const char *  fmt,
va_list   
)

Definition at line 63 of file log.c.

int av_log_get_level ( void   ) 

Definition at line 68 of file log.c.

void av_log_set_level ( int   ) 

Definition at line 73 of file log.c.

Referenced by AvFormatDecoder::AvFormatDecoder().

void av_log_set_callback ( void(*)(void *, int, const char *, va_list)   ) 

Definition at line 78 of file log.c.

Referenced by AvFormatDecoder::AvFormatDecoder(), and MPEG2fixup::MPEG2fixup().

void av_log_default_callback ( void *  ptr,
int  level,
const char *  fmt,
va_list  vl 
)

Definition at line 31 of file log.c.


Variable Documentation

void(* av_vlog)(void *, int, const char *, va_list)

Referenced by av_log(), and X264_log().


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5