World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
22 #ifndef AVUTIL_PIXDESC_H
23 #define AVUTIL_PIXDESC_H
60 #if FF_API_PLUS1_MINUS1
128 #define AV_PIX_FMT_FLAG_BE (1 << 0)
132 #define AV_PIX_FMT_FLAG_PAL (1 << 1)
136 #define AV_PIX_FMT_FLAG_BITSTREAM (1 << 2)
140 #define AV_PIX_FMT_FLAG_HWACCEL (1 << 3)
144 #define AV_PIX_FMT_FLAG_PLANAR (1 << 4)
148 #define AV_PIX_FMT_FLAG_RGB (1 << 5)
166 #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6)
177 #define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
182 #define AV_PIX_FMT_FLAG_BAYER (1 << 8)
188 #define AV_PIX_FMT_FLAG_FLOAT (1 << 9)
239 int *h_shift,
int *v_shift);
350 int x,
int y,
int c,
int w,
int read_pal_component,
351 int dst_element_size);
355 int x,
int y,
int c,
int w,
int read_pal_component);
374 int x,
int y,
int c,
int w,
int src_element_size);
378 int x,
int y,
int c,
int w);
390 #define FF_LOSS_RESOLUTION 0x0001
391 #define FF_LOSS_DEPTH 0x0002
392 #define FF_LOSS_COLORSPACE 0x0004
393 #define FF_LOSS_ALPHA 0x0008
394 #define FF_LOSS_COLORQUANT 0x0010
395 #define FF_LOSS_CHROMA 0x0020
415 int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt,
438 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);
unsigned __int16 uint16_t
AVColorTransferCharacteristic
void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w)
enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
int av_get_padded_bits_per_pixel(const AVPixFmtDescriptor *pixdesc)
int av_chroma_location_from_name(const char *name)
int av_color_range_from_name(const char *name)
void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
int av_color_transfer_from_name(const char *name)
int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
GLubyte GLubyte GLubyte GLubyte w
unsigned __int64 uint64_t
const char * av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc)
struct AVComponentDescriptor AVComponentDescriptor
AVComponentDescriptor comp[4]
EGLSurface EGLint EGLint y
attribute_deprecated int depth_minus1
GLenum GLuint GLenum GLsizei const GLchar * buf
const char * av_color_primaries_name(enum AVColorPrimaries primaries)
uint8_t nb_components
The number of components each pixel has, (1-4)
const char * av_chroma_location_name(enum AVChromaLocation location)
const char * av_color_space_name(enum AVColorSpace space)
const char * av_color_range_name(enum AVColorRange range)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
attribute_deprecated int offset_plus1
const AVPixFmtDescriptor * av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)
char * av_get_pix_fmt_string(char *buf, int buf_size, enum AVPixelFormat pix_fmt)
int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void av_read_image_line2(void *dst, const uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
struct AVPixFmtDescriptor AVPixFmtDescriptor
EGLImageKHR EGLint * name
enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)
enum AVPixelFormat av_get_pix_fmt(const char *name)
int av_color_primaries_from_name(const char *name)
attribute_deprecated int step_minus1
enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
const char * av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
int av_color_space_from_name(const char *name)
void av_write_image_line2(const void *src, uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int src_element_size)