[][src]Struct gstreamer_base::base_parse_frame::BaseParseFrame

pub struct BaseParseFrame<'a>(_, _);

Frame (context) data passed to each frame parsing virtual methods. In addition to providing the data to be checked for a valid frame or an already identified frame, it conveys additional metadata or control information from and to the subclass w.r.t. the particular frame in question (rather than global parameters). Some of these may apply to each parsing stage, others only to some a particular one. These parameters are effectively zeroed at start of each frame's processing, i.e. parsing virtual method invocation sequence.

Implementations

impl<'a> BaseParseFrame<'a>[src]

pub fn get_buffer(&self) -> Option<&BufferRef>[src]

pub fn get_buffer_mut(&mut self) -> Option<&mut BufferRef>[src]

pub fn get_output_buffer(&self) -> Option<&BufferRef>[src]

pub fn get_output_buffer_mut(&mut self) -> Option<&mut BufferRef>[src]

pub fn set_output_buffer(&mut self, output_buffer: Buffer)[src]

pub fn get_flags(&self) -> BaseParseFrameFlags[src]

pub fn set_flags(&mut self, flags: BaseParseFrameFlags)[src]

pub fn unset_flags(&mut self, flags: BaseParseFrameFlags)[src]

pub fn get_offset(&self) -> u64[src]

pub fn get_overhead(&self) -> Overhead[src]

pub fn set_overhead(&mut self, overhead: Overhead)[src]

Trait Implementations

impl<'a> Debug for BaseParseFrame<'a>[src]

impl<'a> Send for BaseParseFrame<'a>[src]

impl<'a> Sync for BaseParseFrame<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BaseParseFrame<'a>

impl<'a> Unpin for BaseParseFrame<'a>

impl<'a> UnwindSafe for BaseParseFrame<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.