Go to the documentation of this file.
16 #ifndef IGNITION_COMMON_HWENCODER_HH
17 #define IGNITION_COMMON_HWENCODER_HH
23 #include <gz/common/config.hh>
25 #include <gz/common/av/Export.hh>
55 std::optional<bool> _useHwSurface);
63 public: AVCodec* FindEncoder(AVCodecID _codecId);
72 public:
void ConfigHWAccel(AVCodecContext* _encoderContext);
80 public: AVFrame* GetFrameForEncoder(AVFrame* _inFrame);
84 public: HWEncoderType GetEncoderType()
const;
Set of flags defined by a C++11 enum class.
Definition: gz/common/FlagSet.hh:61
Definition: gz/common/Base64.hh:27
Representation of a GPU video encoder and its configuration.
Definition: HWEncoder.hh:40