Add EGLImage caching to improve performance
This commit is contained in:
parent
c3ce0918b3
commit
085480e9f4
6 changed files with 236 additions and 93 deletions
|
|
@ -54,6 +54,7 @@ public:
|
|||
virtual ~DrmRenderer() override;
|
||||
virtual bool initialize(PDECODER_PARAMETERS params) override;
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context, AVDictionary** options) override;
|
||||
virtual bool prepareDecoderContextInGetFormat(AVCodecContext*, AVPixelFormat) override;
|
||||
virtual void prepareToRender() override;
|
||||
virtual void renderFrame(AVFrame* frame) override;
|
||||
virtual enum AVPixelFormat getPreferredPixelFormat(int videoFormat) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue