Go to the documentation of this file.
22 #ifndef AVUTIL_PIXDESC_H
23 #define AVUTIL_PIXDESC_H
111 #define AV_PIX_FMT_FLAG_BE (1 << 0)
115 #define AV_PIX_FMT_FLAG_PAL (1 << 1)
119 #define AV_PIX_FMT_FLAG_BITSTREAM (1 << 2)
123 #define AV_PIX_FMT_FLAG_HWACCEL (1 << 3)
127 #define AV_PIX_FMT_FLAG_PLANAR (1 << 4)
131 #define AV_PIX_FMT_FLAG_RGB (1 << 5)
141 #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6)
156 #define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
162 #define PIX_FMT_BE AV_PIX_FMT_FLAG_BE
163 #define PIX_FMT_PAL AV_PIX_FMT_FLAG_PAL
164 #define PIX_FMT_BITSTREAM AV_PIX_FMT_FLAG_BITSTREAM
165 #define PIX_FMT_HWACCEL AV_PIX_FMT_FLAG_HWACCEL
166 #define PIX_FMT_PLANAR AV_PIX_FMT_FLAG_PLANAR
167 #define PIX_FMT_RGB AV_PIX_FMT_FLAG_RGB
168 #define PIX_FMT_PSEUDOPAL AV_PIX_FMT_FLAG_PSEUDOPAL
169 #define PIX_FMT_ALPHA AV_PIX_FMT_FLAG_ALPHA
172 #if FF_API_PIX_FMT_DESC
197 int x,
int y,
int c,
int w,
int read_pal_component);
215 int x,
int y,
int c,
int w);
305 int *h_shift,
int *v_shift);
323 #define FF_LOSS_RESOLUTION 0x0001
324 #define FF_LOSS_DEPTH 0x0002
325 #define FF_LOSS_COLORSPACE 0x0004
326 #define FF_LOSS_ALPHA 0x0008
327 #define FF_LOSS_COLORQUANT 0x0010
328 #define FF_LOSS_CHROMA 0x0020
371 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);