pub struct AvcConfig {
pub nal_len: usize,
pub headers_annexb: Vec<u8>,
}Expand description
Per-track H.264 config for AVCC→Annex-B conversion, parsed from an avcC
(AVCDecoderConfigurationRecord) box.
Fields§
§nal_len: usizeBytes in each NAL length prefix (1, 2 or 4).
headers_annexb: Vec<u8>The SPS + PPS NALs, already start-code prefixed, ready to prepend to keyframe packets.
Auto Trait Implementations§
impl Freeze for AvcConfig
impl RefUnwindSafe for AvcConfig
impl Send for AvcConfig
impl Sync for AvcConfig
impl Unpin for AvcConfig
impl UnsafeUnpin for AvcConfig
impl UnwindSafe for AvcConfig
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