16 #ifndef IGNITION_COMMON_HWENCODER_HH 17 #define IGNITION_COMMON_HWENCODER_HH 24 #include <ignition/common/av/Export.hh> 54 std::optional<bool> _useHwSurface);
62 public: AVCodec* FindEncoder(AVCodecID _codecId);
71 public:
void ConfigHWAccel(AVCodecContext* _encoderContext);
79 public: AVFrame* GetFrameForEncoder(AVFrame* _inFrame);
83 public: HWEncoderType GetEncoderType()
const;
Set of flags defined by a C++11 enum class.
Definition: FlagSet.hh:59
Representation of a GPU video encoder and its configuration.
Definition: HWEncoder.hh:39