Struct openh264::encoder::Encoder[][src]

pub struct Encoder { /* fields omitted */ }
This is supported on crate feature encoder only.
Expand description

An OpenH264 encoder.

Implementations

Create an encoder with the provided configuration.

Encodes a YUV source and returns the encoded bitstream.

Panics

Panics if the source image dimension don’t match the configured format.

Obtain the raw API for advanced use cases.

When resorting to this call, please consider filing an issue / PR.

Safety

You must not set parameters the encoder relies on, we recommend checking the source.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.