1 | use ffi::*; |
2 | use libc::c_int; |
3 | |
4 | bitflags! { |
5 | pub struct Debug: c_int { |
6 | const PICT_INFO = FF_DEBUG_PICT_INFO; |
7 | const RC = FF_DEBUG_RC; |
8 | const BITSTREAM = FF_DEBUG_BITSTREAM; |
9 | const MB_TYPE = FF_DEBUG_MB_TYPE; |
10 | const QP = FF_DEBUG_QP; |
11 | #[cfg(not(feature = "ffmpeg_4_0" ))] |
12 | const MV = FF_DEBUG_MV; |
13 | const DCT_COEFF = FF_DEBUG_DCT_COEFF; |
14 | const SKIP = FF_DEBUG_SKIP; |
15 | const STARTCODE = FF_DEBUG_STARTCODE; |
16 | #[cfg(not(feature = "ffmpeg_4_0" ))] |
17 | const PTS = FF_DEBUG_PTS; |
18 | const ER = FF_DEBUG_ER; |
19 | const MMCO = FF_DEBUG_MMCO; |
20 | const BUGS = FF_DEBUG_BUGS; |
21 | #[cfg(not(feature = "ffmpeg_4_0" ))] |
22 | const VIS_QP = FF_DEBUG_VIS_QP; |
23 | #[cfg(not(feature = "ffmpeg_4_0" ))] |
24 | const VIS_MB_TYPE = FF_DEBUG_VIS_MB_TYPE; |
25 | const BUFFERS = FF_DEBUG_BUFFERS; |
26 | const THREADS = FF_DEBUG_THREADS; |
27 | const NOMC = FF_DEBUG_NOMC; |
28 | } |
29 | } |
30 | |