mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 05:14:21 -04:00
added decoding of avcodec
This commit is contained in:
parent
043fe53789
commit
9798c78e20
2 changed files with 146 additions and 102 deletions
|
@ -72,10 +72,13 @@ protected:
|
|||
virtual bool decodeData(const RsVOIPDataChunk& chunk,QImage& image) ;
|
||||
|
||||
private:
|
||||
AVCodec *codec;
|
||||
AVCodecContext *context;
|
||||
AVFrame *frame_buffer ;
|
||||
uint64_t frame_count ;
|
||||
AVCodec *encoding_codec;
|
||||
AVCodec *decoding_codec;
|
||||
AVCodecContext *encoding_context;
|
||||
AVCodecContext *decoding_context;
|
||||
AVFrame *encoding_frame_buffer ;
|
||||
AVFrame *decoding_frame_buffer ;
|
||||
uint64_t encoding_frame_count ;
|
||||
};
|
||||
|
||||
// This class decodes video from a stream. It keeps a queue of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue