ffmpegdecoder: downsample frame where possible before gpu transfer
This commit is contained in:
@@ -142,6 +142,8 @@ private:
|
||||
|
||||
static const char* GetInterlacingModeInFFmpeg(VideoParams::Interlacing interlacing);
|
||||
|
||||
static bool IsPixelFormatGLSLCompatible(AVPixelFormat f);
|
||||
|
||||
AVFramePtr GetFrameFromCache(const int64_t &t) const;
|
||||
|
||||
void ClearFrameCache();
|
||||
@@ -150,6 +152,8 @@ private:
|
||||
|
||||
void RemoveFirstFrame();
|
||||
|
||||
bool ApplyScaler(AVFrame *in);
|
||||
|
||||
static int MaximumQueueSize();
|
||||
|
||||
RetrieveVideoParams filter_params_;
|
||||
|
||||
Reference in New Issue
Block a user