67 AVBufferUPtr m_hwDeviceContext;
68 AVBufferUPtr m_hwFramesContext;
70 mutable std::once_flag m_constraintsOnceFlag;
71 mutable AVHWFramesConstraintsUPtr m_constraints;
78 static std::pair<std::optional<Codec>, HWAccelUPtr> findDecoderWithHwAccel(AVCodecID id);
100 HWAccel(AVBufferUPtr hwDeviceContext) : m_hwDeviceContext(std::move(hwDeviceContext)) { }
The HwFrameContextData class contains custom belongings of hw frames context.
static HwFrameContextData & ensure(AVFrame &hwFrame)
gets or creates an instance of the class, associated with the frames context of the specified frame....
AVHWFramesContextDeleter avDeleter
QRhiValueMapper< TextureConverter > textureConverterMapper