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.
Trait Implementations§
Auto Trait Implementations§
impl Forget for AvcConfig
impl Freeze for AvcConfig
impl Move for AvcConfig
impl RefUnwindSafe for AvcConfig
impl Send for AvcConfigwhere
RawVecInner: Send,
impl Sync for AvcConfigwhere
RawVecInner: Sync,
impl Unpin for AvcConfig
impl UnsafeUnpin for AvcConfig
impl UnwindSafe for AvcConfigwhere
RawVecInner: UnwindSafe,
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