Namespace for encoding and decoding videos. More...
Classes | |
class | CodecConfig |
A configuration defining a codec. More... | |
class | Decoder |
A decoder for video frames. More... | |
class | Encoder |
An encoder for video frames. More... | |
class | FormatConverter |
A format converter for video frames. More... | |
class | Frame |
A video frame for encoding and decoding. More... | |
class | InputContainer |
A container file for reading encoded videos from disk. More... | |
class | OutputContainer |
A container file for writing encoded videos to disk. More... | |
class | Packet |
A packet that holds encoded data frame data. More... | |
class | Rational |
A pair of rational numbers. More... | |
Typedefs | |
using | DecoderPtr = std::shared_ptr<Decoder> |
Convenience shared pointer for Decoder. | |
using | EncoderPtr = std::shared_ptr<Encoder> |
Convenience shared pointer for Encoder. | |
using | CodecConfigPtr = std::shared_ptr<CodecConfig> |
Convenience shared pointer for CodecConfig. | |
using | FormatConverterPtr = std::shared_ptr<FormatConverter> |
Convenience shared pointer for FormatConverter. | |
using | FramePtr = std::shared_ptr<Frame> |
Convenience shared pointer for Frame. | |
using | InputContainerPtr = std::shared_ptr<InputContainer> |
Convenience shared pointer for InputContainer. | |
using | OutputContainerPtr = std::shared_ptr<OutputContainer> |
Convenience shared pointer for OutputContainer. | |
using | PacketPtr = std::shared_ptr<Packet> |
Convenience shared pointer for Packet. | |
Enumerations | |
enum class | LogLevel { Quiet = CExports::CVCBLL_Quiet , Panic = CExports::CVCBLL_Panic , Fatal = CExports::CVCBLL_Fatal , Error = CExports::CVCBLL_Error , Warning = CExports::CVCBLL_Warning , Info = CExports::CVCBLL_Info , Verbose = CExports::CVCBLL_Verbose , Debug = CExports::CVCBLL_Debug , Trace = CExports::CVCBLL_Trace } |
Log level for the codecs. More... | |
enum class | PixelFormat { None = CExports::CVCBPF_None , YUV420P = CExports::CVCBPF_YUV420P , YUYV422 = CExports::CVCBPF_YUYV422 , RGB24 = CExports::CVCBPF_RGB24 , BGR24 = CExports::CVCBPF_BGR24 , YUV422P = CExports::CVCBPF_YUV422P , YUV444P = CExports::CVCBPF_YUV444P , GRAY8 = CExports::CVCBPF_GRAY8 , NV12 = CExports::CVCBPF_NV12 , NV21 = CExports::CVCBPF_NV21 , RGBA = CExports::CVCBPF_RGBA , BGRA = CExports::CVCBPF_BGRA , YUV444P16LE = CExports::CVCBPF_YUV444P16LE , DXVA2_VLD = CExports::CVCBPF_DXVA2_VLD , YUV420P10LE = CExports::CVCBPF_YUV420P10LE , YUV422P10LE = CExports::CVCBPF_YUV422P10LE , YUV444P10LE = CExports::CVCBPF_YUV444P10LE , GBRP = CExports::CVCBPF_GBRP , GBRP10LE = CExports::CVCBPF_GBRP10LE , GBRP16LE = CExports::CVCBPF_GBRP16LE , NV16 = CExports::CVCBPF_NV16 , NV20LE = CExports::CVCBPF_NV20LE , QSV = CExports::CVCBPF_QSV , CUDA = CExports::CVCBPF_CUDA , RGB0 = CExports::CVCBPF_RGB0 , BGR0 = CExports::CVCBPF_BGR0 , YUV420P12LE = CExports::CVCBPF_YUV420P12LE , YUV422P12LE = CExports::CVCBPF_YUV422P12LE , YUV444P12LE = CExports::CVCBPF_YUV444P12LE , GBRP12LE = CExports::CVCBPF_GBRP12LE , P010LE = CExports::CVCBPF_P010LE , GRAY12LE = CExports::CVCBPF_GRAY12LE , GRAY10LE = CExports::CVCBPF_GRAY10LE , P016LE = CExports::CVCBPF_P016LE , D3D11 = CExports::CVCBPF_D3D11 , Y210LE = CExports::CVCBPF_Y210LE , X2RGB10LE = CExports::CVCBPF_X2RGB10LE , X2BGR10LE = CExports::CVCBPF_X2BGR10LE } |
Subset of FFmpeg pixel formats. More... | |
enum class | Interpolation { BilinearFast = CExports::CVCBI_BilinearFast , Bilinear = CExports::CVCBI_Bilinear , Bicubic = CExports::CVCBI_Bicubic } |
Interpolation method when scaling frames. More... | |
enum class | CodecStatus { Ok = CExports::CVCBCS_Ok , ReadoutRequired = CExports::CVCBCS_ReadoutRequired } |
Status of the encoder/decoder after sending data. More... | |
Namespace for encoding and decoding videos.
This module does not implement any codecs. However it will work as a dynamic bridge to codecs available in the system. If no codecs are available this namespace is of very limited use.
|
strong |
|
strong |
Interpolation method when scaling frames.
The integer values of these enums are equal to the FFmpeg defines.
Enumerator | |
---|---|
BilinearFast | Equal to FAST_BILINEAR. |
Bilinear | Equal to SWS_BILINEAR. |
Bicubic | Equal to SWS_BICUBIC. |
|
strong |
Log level for the codecs.
The integer values of these enums are equal to the FFmpeg defines.
|
strong |
Subset of FFmpeg pixel formats.
The integer values of these enums are equal to FFmpeg.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.