1use ffi::*;
2use libc::c_uint;
3
4bitflags! {
5 pub struct Flags: c_uint {
6 const UNALIGNED = AV_CODEC_FLAG_UNALIGNED;
7 const QSCALE = AV_CODEC_FLAG_QSCALE;
8 const _4MV = AV_CODEC_FLAG_4MV;
9 const OUTPUT_CORRUPT = AV_CODEC_FLAG_OUTPUT_CORRUPT;
10 const QPEL = AV_CODEC_FLAG_QPEL;
11 const PASS1 = AV_CODEC_FLAG_PASS1;
12 const PASS2 = AV_CODEC_FLAG_PASS2;
13 const GRAY = AV_CODEC_FLAG_GRAY;
14 const PSNR = AV_CODEC_FLAG_PSNR;
15 #[cfg(not(feature = "ffmpeg_6_0"))]
16 const TRUNCATED = AV_CODEC_FLAG_TRUNCATED;
17 const INTERLACED_DCT = AV_CODEC_FLAG_INTERLACED_DCT;
18 const LOW_DELAY = AV_CODEC_FLAG_LOW_DELAY;
19 const GLOBAL_HEADER = AV_CODEC_FLAG_GLOBAL_HEADER;
20 const BITEXACT = AV_CODEC_FLAG_BITEXACT;
21 const AC_PRED = AV_CODEC_FLAG_AC_PRED;
22 const LOOP_FILTER = AV_CODEC_FLAG_LOOP_FILTER;
23 const INTERLACED_ME = AV_CODEC_FLAG_INTERLACED_ME;
24 const CLOSED_GOP = AV_CODEC_FLAG_CLOSED_GOP;
25 }
26}
27