Skip to main content

Module codec_dispatch

Module codec_dispatch 

Source
Expand description

Codec encoder factory for MJPEG and APV intra-frame codecs.

This module provides make_video_encoder, which constructs a boxed oximedia_codec::VideoEncoder for a given CodecId. Currently dispatched codecs are:

CodecIdEncoderFeature gate
CodecId::MjpegMjpegEncodermjpeg
CodecId::ApvApvEncoderapv

Callers that need other codecs (AV1, VP9, …) use the existing stream-copy path in frame_pipeline.

Structs§

VideoEncoderParams
Parameters used to instantiate an intra-frame video encoder.

Functions§

make_video_encoder
Build a boxed VideoEncoder for the specified codec.