World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
25 #ifndef AVUTIL_BUFFER_H
26 #define AVUTIL_BUFFER_H
113 #define AV_BUFFER_FLAG_READONLY (1 << 0)
132 void *opaque,
int flags);
267 void (*pool_free)(
void *opaque));
AVBufferRef * av_buffer_alloc(int size)
int av_buffer_realloc(AVBufferRef **buf, int size)
AVBufferRef * av_buffer_allocz(int size)
AVBufferRef * av_buffer_create(uint8_t *data, int size, void(*free)(void *opaque, uint8_t *data), void *opaque, int flags)
struct AVBufferRef AVBufferRef
AVBufferPool * av_buffer_pool_init(int size, AVBufferRef *(*alloc)(int size))
AVBufferRef * av_buffer_pool_get(AVBufferPool *pool)
void av_buffer_default_free(void *opaque, uint8_t *data)
GLenum GLuint GLenum GLsizei const GLchar * buf
struct AVBufferPool AVBufferPool
void av_buffer_unref(AVBufferRef **buf)
void av_buffer_pool_uninit(AVBufferPool **pool)
int av_buffer_make_writable(AVBufferRef **buf)
int av_buffer_get_ref_count(const AVBufferRef *buf)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
AVBufferPool * av_buffer_pool_init2(int size, void *opaque, AVBufferRef *(*alloc)(void *opaque, int size), void(*pool_free)(void *opaque))
int av_buffer_is_writable(const AVBufferRef *buf)
AVBufferRef * av_buffer_ref(AVBufferRef *buf)
void * av_buffer_get_opaque(const AVBufferRef *buf)