ffmpeg_next/codec/
debug.rs

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