This commit is contained in:
rock88 2021-02-23 18:44:08 +03:00
parent 24436ad841
commit fbc24fb0f7
3 changed files with 0 additions and 6 deletions

View file

@ -222,10 +222,6 @@ AVFrame* FFmpegVideoDecoder::get_frame(bool native_frame) {
return NULL;
}
AVFrame* FFmpegVideoDecoder::frame() const {
return m_frame;
}
VideoDecodeStats* FFmpegVideoDecoder::video_decode_stats() {
uint64_t now = LiGetMillis();
m_video_decode_stats.total_fps = (float)m_video_decode_stats.total_frames / ((float)(now - m_video_decode_stats.measurement_start_timestamp) / 1000);

View file

@ -10,7 +10,6 @@ public:
void cleanup() override;
int submit_decode_unit(PDECODE_UNIT decode_unit) override;
int capabilities() const override;
AVFrame* frame() const override;
VideoDecodeStats* video_decode_stats() override;
private:

View file

@ -27,6 +27,5 @@ public:
virtual void cleanup() = 0;
virtual int submit_decode_unit(PDECODE_UNIT decode_unit) = 0;
virtual int capabilities() const = 0;
virtual AVFrame* frame() const = 0;
virtual VideoDecodeStats* video_decode_stats() = 0;
};