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)
137 #define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6)
141 #define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
147 #define PIX_FMT_BE AV_PIX_FMT_FLAG_BE
148 #define PIX_FMT_PAL AV_PIX_FMT_FLAG_PAL
149 #define PIX_FMT_BITSTREAM AV_PIX_FMT_FLAG_BITSTREAM
150 #define PIX_FMT_HWACCEL AV_PIX_FMT_FLAG_HWACCEL
151 #define PIX_FMT_PLANAR AV_PIX_FMT_FLAG_PLANAR
152 #define PIX_FMT_RGB AV_PIX_FMT_FLAG_RGB
153 #define PIX_FMT_PSEUDOPAL AV_PIX_FMT_FLAG_PSEUDOPAL
154 #define PIX_FMT_ALPHA AV_PIX_FMT_FLAG_ALPHA
157 #if FF_API_PIX_FMT_DESC
182 int x,
int y,
int c,
int w,
int read_pal_component);
200 int x,
int y,
int c,
int w);
290 int *h_shift,
int *v_shift);
310 #define FF_LOSS_RESOLUTION 0x0001
311 #define FF_LOSS_DEPTH 0x0002
312 #define FF_LOSS_COLORSPACE 0x0004
313 #define FF_LOSS_ALPHA 0x0008
314 #define FF_LOSS_COLORQUANT 0x0010
315 #define FF_LOSS_CHROMA 0x0020
358 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);