Struct gstreamer_video::video_frame::VideoFrame [−][src]
pub struct VideoFrame<T>(_, _, _, _);
A video frame obtained from VideoFrame::map
Methods
impl<T> VideoFrame<T>
[src]
impl<T> VideoFrame<T>
pub fn info(&self) -> &VideoInfo
[src]
pub fn info(&self) -> &VideoInfo
pub fn flags(&self) -> VideoFrameFlags
[src]
pub fn flags(&self) -> VideoFrameFlags
pub fn id(&self) -> i32
[src]
pub fn id(&self) -> i32
pub fn into_buffer(self) -> Buffer
[src]
pub fn into_buffer(self) -> Buffer
pub fn copy(&self, dest: &mut VideoFrame<Writable>) -> Result<(), BoolError>
[src]
pub fn copy(&self, dest: &mut VideoFrame<Writable>) -> Result<(), BoolError>
pub fn copy_plane(
&self,
dest: &mut VideoFrame<Writable>,
plane: u32
) -> Result<(), BoolError>
[src]
pub fn copy_plane(
&self,
dest: &mut VideoFrame<Writable>,
plane: u32
) -> Result<(), BoolError>
pub fn format(&self) -> VideoFormat
[src]
pub fn format(&self) -> VideoFormat
pub fn format_info(&self) -> VideoFormatInfo
[src]
pub fn format_info(&self) -> VideoFormatInfo
pub fn width(&self) -> u32
[src]
pub fn width(&self) -> u32
pub fn height(&self) -> u32
[src]
pub fn height(&self) -> u32
pub fn size(&self) -> usize
[src]
pub fn size(&self) -> usize
pub fn is_interlaced(&self) -> bool
[src]
pub fn is_interlaced(&self) -> bool
pub fn is_tff(&self) -> bool
[src]
pub fn is_tff(&self) -> bool
pub fn is_rff(&self) -> bool
[src]
pub fn is_rff(&self) -> bool
pub fn is_onefield(&self) -> bool
[src]
pub fn is_onefield(&self) -> bool
pub fn n_planes(&self) -> u32
[src]
pub fn n_planes(&self) -> u32
pub fn n_components(&self) -> u32
[src]
pub fn n_components(&self) -> u32
pub fn plane_stride(&self) -> &[i32]
[src]
pub fn plane_stride(&self) -> &[i32]
pub fn plane_offset(&self) -> &[usize]
[src]
pub fn plane_offset(&self) -> &[usize]
pub fn buffer(&self) -> &BufferRef
[src]
pub fn buffer(&self) -> &BufferRef
pub fn plane_data(&self, plane: u32) -> Option<&[u8]>
[src]
pub fn plane_data(&self, plane: u32) -> Option<&[u8]>
impl VideoFrame<Readable>
[src]
impl VideoFrame<Readable>
pub fn from_buffer_readable(
buffer: Buffer,
info: &VideoInfo
) -> Result<VideoFrame<Readable>, Buffer>
[src]
pub fn from_buffer_readable(
buffer: Buffer,
info: &VideoInfo
) -> Result<VideoFrame<Readable>, Buffer>
pub fn from_buffer_id_readable(
buffer: Buffer,
id: i32,
info: &VideoInfo
) -> Result<VideoFrame<Readable>, Buffer>
[src]
pub fn from_buffer_id_readable(
buffer: Buffer,
id: i32,
info: &VideoInfo
) -> Result<VideoFrame<Readable>, Buffer>
pub fn as_video_frame_ref(&self) -> VideoFrameRef<&BufferRef>
[src]
pub fn as_video_frame_ref(&self) -> VideoFrameRef<&BufferRef>
impl VideoFrame<Writable>
[src]
impl VideoFrame<Writable>
pub fn from_buffer_writable(
buffer: Buffer,
info: &VideoInfo
) -> Result<VideoFrame<Writable>, Buffer>
[src]
pub fn from_buffer_writable(
buffer: Buffer,
info: &VideoInfo
) -> Result<VideoFrame<Writable>, Buffer>
pub fn from_buffer_id_writable(
buffer: Buffer,
id: i32,
info: &VideoInfo
) -> Result<VideoFrame<Writable>, Buffer>
[src]
pub fn from_buffer_id_writable(
buffer: Buffer,
id: i32,
info: &VideoInfo
) -> Result<VideoFrame<Writable>, Buffer>
pub fn buffer_mut(&mut self) -> &mut BufferRef
[src]
pub fn buffer_mut(&mut self) -> &mut BufferRef
pub fn plane_data_mut(&mut self, plane: u32) -> Option<&mut [u8]>
[src]
pub fn plane_data_mut(&mut self, plane: u32) -> Option<&mut [u8]>
pub fn as_mut_video_frame_ref(&mut self) -> VideoFrameRef<&mut BufferRef>
[src]
pub fn as_mut_video_frame_ref(&mut self) -> VideoFrameRef<&mut BufferRef>
Trait Implementations
impl<T> Drop for VideoFrame<T>
[src]
impl<T> Drop for VideoFrame<T>
Auto Trait Implementations
impl<T> !Send for VideoFrame<T>
impl<T> !Send for VideoFrame<T>
impl<T> !Sync for VideoFrame<T>
impl<T> !Sync for VideoFrame<T>