codec/debug: change flags API style
This commit is contained in:
parent
823f4a7ef4
commit
bff628b2a2
@ -3,23 +3,23 @@ use ffi::*;
|
||||
|
||||
bitflags! {
|
||||
flags Debug: c_int {
|
||||
const DEBUG_PICT_INFO = FF_DEBUG_PICT_INFO,
|
||||
const DEBUG_RC = FF_DEBUG_RC,
|
||||
const DEBUG_BITSTREAM = FF_DEBUG_BITSTREAM,
|
||||
const DEBUG_MB_TYPE = FF_DEBUG_MB_TYPE,
|
||||
const DEBUG_QP = FF_DEBUG_QP,
|
||||
const DEBUG_MV = FF_DEBUG_MV,
|
||||
const DEBUG_DCT_COEFF = FF_DEBUG_DCT_COEFF,
|
||||
const DEBUG_SKIP = FF_DEBUG_SKIP,
|
||||
const DEBUG_STARTCODE = FF_DEBUG_STARTCODE,
|
||||
const DEBUG_PTS = FF_DEBUG_PTS,
|
||||
const DEBUG_ER = FF_DEBUG_ER,
|
||||
const DEBUG_MMCO = FF_DEBUG_MMCO,
|
||||
const DEBUG_BUGS = FF_DEBUG_BUGS,
|
||||
const DEBUG_VIS_QP = FF_DEBUG_VIS_QP,
|
||||
const DEBUG_VIS_MB_TYPE = FF_DEBUG_VIS_MB_TYPE,
|
||||
const DEBUG_BUFFERS = FF_DEBUG_BUFFERS,
|
||||
const DEBUG_THREADS = FF_DEBUG_THREADS,
|
||||
const DEBUG_NOMC = FF_DEBUG_NOMC,
|
||||
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,
|
||||
const MV = FF_DEBUG_MV,
|
||||
const DCT_COEFF = FF_DEBUG_DCT_COEFF,
|
||||
const SKIP = FF_DEBUG_SKIP,
|
||||
const STARTCODE = FF_DEBUG_STARTCODE,
|
||||
const PTS = FF_DEBUG_PTS,
|
||||
const ER = FF_DEBUG_ER,
|
||||
const MMCO = FF_DEBUG_MMCO,
|
||||
const BUGS = FF_DEBUG_BUGS,
|
||||
const VIS_QP = FF_DEBUG_VIS_QP,
|
||||
const VIS_MB_TYPE = FF_DEBUG_VIS_MB_TYPE,
|
||||
const BUFFERS = FF_DEBUG_BUFFERS,
|
||||
const THREADS = FF_DEBUG_THREADS,
|
||||
const NOMC = FF_DEBUG_NOMC,
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ pub mod compliance;
|
||||
pub use self::compliance::Compliance;
|
||||
|
||||
pub mod debug;
|
||||
pub use self::debug::*;
|
||||
pub use self::debug::Debug;
|
||||
|
||||
pub mod profile;
|
||||
pub use self::profile::Profile;
|
||||
|
Loading…
x
Reference in New Issue
Block a user