1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use ffi::*;
use libc::c_int;

bitflags! {
    pub struct Debug: c_int {
        const PICT_INFO   = FF_DEBUG_PICT_INFO;
        const RC          = FF_DEBUG_RC;
        const BITSTREAM   = FF_DEBUG_BITSTREAM;
        const MB_TYPE     = FF_DEBUG_MB_TYPE;
        const QP          = FF_DEBUG_QP;
        #[cfg(not(feature = "ffmpeg_4_0"))]
        const MV          = FF_DEBUG_MV;
        const DCT_COEFF   = FF_DEBUG_DCT_COEFF;
        const SKIP        = FF_DEBUG_SKIP;
        const STARTCODE   = FF_DEBUG_STARTCODE;
        #[cfg(not(feature = "ffmpeg_4_0"))]
        const PTS         = FF_DEBUG_PTS;
        const ER          = FF_DEBUG_ER;
        const MMCO        = FF_DEBUG_MMCO;
        const BUGS        = FF_DEBUG_BUGS;
        #[cfg(not(feature = "ffmpeg_4_0"))]
        const VIS_QP      = FF_DEBUG_VIS_QP;
        #[cfg(not(feature = "ffmpeg_4_0"))]
        const VIS_MB_TYPE = FF_DEBUG_VIS_MB_TYPE;
        const BUFFERS     = FF_DEBUG_BUFFERS;
        const THREADS     = FF_DEBUG_THREADS;
        const NOMC        = FF_DEBUG_NOMC;
    }
}