pub trait MediaFrameTraitConst {
    // Required method
    fn as_raw_MediaFrame(&self) -> *const c_void;

    // Provided methods
    fn desc(&self) -> Result<GFrameDesc> { ... }
    fn blob_params(&self) -> Result<any> { ... }
}
Expand description

Constant methods for crate::gapi::MediaFrame

Required Methods§

Provided Methods§

source

fn desc(&self) -> Result<GFrameDesc>

Returns a media frame descriptor – the information about the media format, dimensions, etc.

Returns

a cv::GFrameDesc

source

fn blob_params(&self) -> Result<any>

@private – exclude from the OpenCV documentation for now.

Implementors§