World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine

Functions for working with AVPicture. Подробнее...

+ Граф связей класса AVPicture:

Классы

struct  AVPicture
 

Определения типов

typedef struct AVPicture AVPicture
 

Функции

attribute_deprecated int avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated void avpicture_free (AVPicture *picture)
 
attribute_deprecated int avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated int avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)
 
attribute_deprecated int avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated void av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated int av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band)
 
attribute_deprecated int av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color)
 

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

Functions for working with AVPicture.

Типы

◆ AVPicture

typedef struct AVPicture AVPicture

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

Picture data structure.

Up to four components can be stored into it, the last component is alpha.

Уст.:
use AVFrame or imgutils functions instead

Функции

◆ avpicture_alloc()

attribute_deprecated int avpicture_alloc ( AVPicture picture,
enum AVPixelFormat  pix_fmt,
int  width,
int  height 
)

◆ avpicture_free()

attribute_deprecated void avpicture_free ( AVPicture picture)

◆ avpicture_fill()

attribute_deprecated int avpicture_fill ( AVPicture picture,
const uint8_t ptr,
enum AVPixelFormat  pix_fmt,
int  width,
int  height 
)

◆ avpicture_layout()

attribute_deprecated int avpicture_layout ( const AVPicture src,
enum AVPixelFormat  pix_fmt,
int  width,
int  height,
unsigned char *  dest,
int  dest_size 
)

◆ avpicture_get_size()

attribute_deprecated int avpicture_get_size ( enum AVPixelFormat  pix_fmt,
int  width,
int  height 
)

◆ av_picture_copy()

attribute_deprecated void av_picture_copy ( AVPicture dst,
const AVPicture src,
enum AVPixelFormat  pix_fmt,
int  width,
int  height 
)

◆ av_picture_crop()

attribute_deprecated int av_picture_crop ( AVPicture dst,
const AVPicture src,
enum AVPixelFormat  pix_fmt,
int  top_band,
int  left_band 
)

◆ av_picture_pad()

attribute_deprecated int av_picture_pad ( AVPicture dst,
const AVPicture src,
int  height,
int  width,
enum AVPixelFormat  pix_fmt,
int  padtop,
int  padbottom,
int  padleft,
int  padright,
int *  color 
)