Add EGLImage caching to improve performance
This commit is contained in:
parent
c3ce0918b3
commit
085480e9f4
6 changed files with 236 additions and 93 deletions
|
|
@ -60,6 +60,7 @@ public:
|
|||
virtual ~VAAPIRenderer() override;
|
||||
virtual bool initialize(PDECODER_PARAMETERS params) override;
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context, AVDictionary** options) override;
|
||||
virtual bool prepareDecoderContextInGetFormat(AVCodecContext*, AVPixelFormat) override;
|
||||
virtual void renderFrame(AVFrame* frame) override;
|
||||
virtual bool isDirectRenderingSupported() override;
|
||||
virtual int getDecoderColorspace() override;
|
||||
|
|
@ -122,7 +123,6 @@ private:
|
|||
Separate,
|
||||
Composed
|
||||
} m_EglExportType;
|
||||
VADRMPRIMESurfaceDescriptor m_PrimeDescriptor;
|
||||
EglImageFactory m_EglImageFactory;
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue