Struct gstreamer_gl::GLVideoAllocationParams [−][src]
pub struct GLVideoAllocationParams(_);
Implementations
pub fn new<P: IsA<GLContext>>(
context: &P,
alloc_params: Option<&AllocationParams>,
v_info: &VideoInfo,
plane: u32,
valign: Option<&VideoAlignment>,
target: GLTextureTarget,
tex_format: GLFormat
) -> GLVideoAllocationParams[src]
pub fn new<P: IsA<GLContext>>(
context: &P,
alloc_params: Option<&AllocationParams>,
v_info: &VideoInfo,
plane: u32,
valign: Option<&VideoAlignment>,
target: GLTextureTarget,
tex_format: GLFormat
) -> GLVideoAllocationParams[src]context
alloc_params
the gst::AllocationParams for sysmem mappings of the texture
v_info
the gst_video::VideoInfo for the texture
plane
the video plane of v_info to allocate
valign
any gst_video::VideoAlignment applied to symem mappings of the texture
target
the GLTextureTarget for the created textures
tex_format
the GLFormat for the created textures
Returns
a new GLVideoAllocationParams for allocating GLMemory’s
Copy and set any dynamically allocated resources in dest_vid. Intended
for subclass usage only to chain up at the end of a subclass copy function.
dest_vid
destination GLVideoAllocationParams to copy into
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
impl RefUnwindSafe for GLVideoAllocationParamsimpl Unpin for GLVideoAllocationParamsimpl UnwindSafe for GLVideoAllocationParamsBlanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue clone of self.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>, [src]