World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
21 #ifndef AVUTIL_BPRINT_H
22 #define AVUTIL_BPRINT_H
34 #define FF_PAD_STRUCTURE(name, size, ...) \
35 struct ff_pad_helper_##name { __VA_ARGS__ }; \
36 typedef struct name { \
38 char reserved_padding[size - sizeof(struct ff_pad_helper_##name)]; \
87 char reserved_internal_buffer[1];
94 #define AV_BPRINT_SIZE_UNLIMITED ((
unsigned)-1)
95 #define AV_BPRINT_SIZE_AUTOMATIC 1
96 #define AV_BPRINT_SIZE_COUNT_ONLY 0
127 void av_bprintf(AVBPrint *
buf,
const char *fmt, ...) av_printf_format(2, 3);
172 unsigned char **mem,
unsigned *actual_size);
187 return buf->len <
buf->size;
void av_bprint_clear(AVBPrint *buf)
void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size)
void av_bprint_chars(AVBPrint *buf, char c, unsigned n)
FF_PAD_STRUCTURE(AVBPrint, 1024, char *str;unsigned len;unsigned size;unsigned size_max;char reserved_internal_buffer[1];) void av_bprint_init(AVBPrint *buf
void av_bprintf(AVBPrint *buf, const char *fmt,...) av_printf_format(2
void av_bprint_get_buffer(AVBPrint *buf, unsigned size, unsigned char **mem, unsigned *actual_size)
EGLContext EGLenum EGLClientBuffer buffer
GLenum GLuint GLenum GLsizei const GLchar * buf
unsigned unsigned size_max
static int av_bprint_is_complete(const AVBPrint *buf)
void void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg)
int av_bprint_finalize(AVBPrint *buf, char **ret_str)
void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars, enum AVEscapeMode mode, int flags)
void av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm)