pub enum MmcoOp {
UnmarkShortTerm {
diff_pic_nums_minus1: u32,
},
UnmarkLongTerm {
long_term_pic_num: u32,
},
ShortTermToLongTerm {
diff_pic_nums_minus1: u32,
long_term_frame_idx: u32,
},
SetMaxLongTermFrameIdx {
max_long_term_frame_idx_plus1: u32,
},
ClearAll,
MarkCurrentLongTerm {
long_term_frame_idx: u32,
},
}Expand description
メモリ管理制御操作(ITU-T H.264 § 7.3.3.3 / 8.2.5.4 MMCO)。
Variants§
UnmarkShortTerm
MMCO 1: 短期参照ピクチャを「参照用でない」とマーク
UnmarkLongTerm
MMCO 2: 長期参照ピクチャを「参照用でない」とマーク
ShortTermToLongTerm
MMCO 3: 短期参照ピクチャを長期参照ピクチャへ割り当て
SetMaxLongTermFrameIdx
MMCO 4: 最大長期フレームインデックスを設定
ClearAll
MMCO 5: 全参照ピクチャをクリアし、FrameNum/POC 状態をリセット
MarkCurrentLongTerm
MMCO 6: 現在のピクチャを長期参照ピクチャとしてマーク
Trait Implementations§
impl Copy for MmcoOp
impl Eq for MmcoOp
impl StructuralPartialEq for MmcoOp
Auto Trait Implementations§
impl Freeze for MmcoOp
impl RefUnwindSafe for MmcoOp
impl Send for MmcoOp
impl Sync for MmcoOp
impl Unpin for MmcoOp
impl UnsafeUnpin for MmcoOp
impl UnwindSafe for MmcoOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.