Go to the documentation of this file.
22 #ifndef AVUTIL_PIXDESC_H
23 #define AVUTIL_PIXDESC_H
94 #define AV_PIX_FMT_FLAG_BE (1 << 0)
98 #define AV_PIX_FMT_FLAG_PAL (1 << 1)
102 #define AV_PIX_FMT_FLAG_BITSTREAM (1 << 2)
106 #define AV_PIX_FMT_FLAG_HWACCEL (1 << 3)
110 #define AV_PIX_FMT_FLAG_PLANAR (1 << 4)
114 #define AV_PIX_FMT_FLAG_RGB (1 << 5)
120 #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6)
124 #define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
130 #define PIX_FMT_BE AV_PIX_FMT_FLAG_BE
131 #define PIX_FMT_PAL AV_PIX_FMT_FLAG_PAL
132 #define PIX_FMT_BITSTREAM AV_PIX_FMT_FLAG_BITSTREAM
133 #define PIX_FMT_HWACCEL AV_PIX_FMT_FLAG_HWACCEL
134 #define PIX_FMT_PLANAR AV_PIX_FMT_FLAG_PLANAR
135 #define PIX_FMT_RGB AV_PIX_FMT_FLAG_RGB
136 #define PIX_FMT_PSEUDOPAL AV_PIX_FMT_FLAG_PSEUDOPAL
137 #define PIX_FMT_ALPHA AV_PIX_FMT_FLAG_ALPHA
140 #if FF_API_PIX_FMT_DESC
270 int *h_shift,
int *v_shift);
290 #define FF_LOSS_RESOLUTION 0x0001
291 #define FF_LOSS_DEPTH 0x0002
292 #define FF_LOSS_COLORSPACE 0x0004
293 #define FF_LOSS_ALPHA 0x0008
294 #define FF_LOSS_COLORQUANT 0x0010
295 #define FF_LOSS_CHROMA 0x0020
338 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);