Struct ac_ffmpeg::codec::VideoCodecParametersBuilder
source · pub struct VideoCodecParametersBuilder { /* private fields */ }
Expand description
Builder for video codec parameters.
Implementations§
source§impl VideoCodecParametersBuilder
impl VideoCodecParametersBuilder
sourcepub fn pixel_format(self, format: PixelFormat) -> Self
pub fn pixel_format(self, format: PixelFormat) -> Self
Set frame pixel format.
sourcepub fn build(self) -> VideoCodecParameters
pub fn build(self) -> VideoCodecParameters
Build the codec parameters.
Trait Implementations§
source§impl From<VideoCodecParameters> for VideoCodecParametersBuilder
impl From<VideoCodecParameters> for VideoCodecParametersBuilder
source§fn from(params: VideoCodecParameters) -> VideoCodecParametersBuilder
fn from(params: VideoCodecParameters) -> VideoCodecParametersBuilder
Converts to this type from the input type.