World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
+ Граф связей класса Other:

Группы

 Preprocessor String Macros
 
 Library Version Macros
 
 Constants
 
 Image related
 AVPicture types, pixel formats and basic image planes manipulation.
 
 Version and Build diagnostics
 Macros and function useful to check at compiletime and at runtime which version of libavutil is in use.
 
 Media Type
 Media Type.
 

Перечисления

enum  AVMediaType {
  AVMEDIA_TYPE_UNKNOWN = -1, AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_DATA,
  AVMEDIA_TYPE_SUBTITLE, AVMEDIA_TYPE_ATTACHMENT, AVMEDIA_TYPE_NB
}
 

Функции

const char * av_get_media_type_string (enum AVMediaType media_type)
 
static voidav_x_if_null (const void *p, const void *x)
 
unsigned av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term) av_pure
 
FILE * av_fopen_utf8 (const char *path, const char *mode)
 
AVRational av_get_time_base_q (void)
 
char * av_fourcc_make_string (char *buf, uint32_t fourcc)
 

Подробное описание

Перечисления

◆ AVMediaType

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Элементы перечислений
AVMEDIA_TYPE_UNKNOWN 

Usually treated as AVMEDIA_TYPE_DATA.

AVMEDIA_TYPE_VIDEO 
AVMEDIA_TYPE_AUDIO 
AVMEDIA_TYPE_DATA 

Opaque data information usually continuous.

AVMEDIA_TYPE_SUBTITLE 
AVMEDIA_TYPE_ATTACHMENT 

Opaque data information usually sparse.

AVMEDIA_TYPE_NB 

См. определение в файле avutil.h строка 199

Функции

◆ av_get_media_type_string()

const char* av_get_media_type_string ( enum AVMediaType  media_type)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Return a string describing the media_type enum, NULL if media_type is unknown.

◆ av_x_if_null()

static void* av_x_if_null ( const void p,
const void x 
)
inlinestatic

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Return x default pointer in case p is NULL.

См. определение в файле avutil.h строка 308

309 {
310  return (void *)(intptr_t)(p ? p : x);
311 }

◆ av_int_list_length_for_size()

unsigned av_int_list_length_for_size ( unsigned  elsize,
const void list,
uint64_t  term 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Compute the length of an integer list.

Аргументы
elsizesize in bytes of each list element (only 1, 2, 4 or 8)
termlist terminator (usually 0 or -1)
listpointer to the list
Возвращает
length of the list, in elements, not counting the terminator

◆ av_fopen_utf8()

FILE* av_fopen_utf8 ( const char *  path,
const char *  mode 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Open a file using a UTF-8 filename. The API of this function matches POSIX fopen(), errors are returned through errno.

◆ av_get_time_base_q()

AVRational av_get_time_base_q ( void  )

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Return the fractional representation of the internal time base.

◆ av_fourcc_make_string()

char* av_fourcc_make_string ( char *  buf,
uint32_t  fourcc 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/avutil.h>

Fill the provided buffer with a string containing a FourCC (four-character code) representation.

Аргументы
bufa buffer with size in bytes of at least AV_FOURCC_MAX_STRING_SIZE
fourccthe fourcc to represent
Возвращает
the buffer in input
AVMEDIA_TYPE_SUBTITLE
@ AVMEDIA_TYPE_SUBTITLE
Definition: avutil.h:204
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
AVMEDIA_TYPE_NB
@ AVMEDIA_TYPE_NB
Definition: avutil.h:206
AVMEDIA_TYPE_DATA
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
Definition: avutil.h:203
p
GLfloat GLfloat p
Definition: SDL_opengl_glext.h:11093
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
AVMEDIA_TYPE_UNKNOWN
@ AVMEDIA_TYPE_UNKNOWN
Usually treated as AVMEDIA_TYPE_DATA.
Definition: avutil.h:200
AVMEDIA_TYPE_ATTACHMENT
@ AVMEDIA_TYPE_ATTACHMENT
Opaque data information usually sparse.
Definition: avutil.h:205
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201