decoder: make texture inside decoder

This commit is contained in:
itsmattkc
2022-05-29 18:33:35 -07:00
parent 29908f2d8b
commit 930848e07a
9 changed files with 42 additions and 38 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ public:
/**
* @brief Returns an AVPixelFormat that can be used to convert a frame to a data type Olive supports with minimal data loss
*/
static AVPixelFormat GetCompatiblePixelFormat(const AVPixelFormat& pix_fmt);
static AVPixelFormat GetCompatiblePixelFormat(const AVPixelFormat& pix_fmt, VideoParams::Format maximum = VideoParams::kFormatInvalid);
/**
* @brief Returns a native pixel format that can be used to convert from a native frame to an AVFrame with minimal data loss