Function ffmpeg_encoder_decoder::utils::get_hwframe_transfer_formats
Defined in File utils.hpp
Function Documentation
-
std::vector<enum AVPixelFormat> ffmpeg_encoder_decoder::utils::get_hwframe_transfer_formats(AVBufferRef *hwframe_ctx, enum AVHWFrameTransferDirection direction)
Gets all pixel formats that can be transferred to the hardware device.
- Parameters:
hwframe_ctx – the hardware frame context for which transfer is intended
- Returns:
vector of allowed pixel formats