diff options
| author | 2009-12-06 23:01:41 +0000 | |
|---|---|---|
| committer | 2009-12-06 23:01:41 +0000 | |
| commit | b3743ed6471d0088d180d884986d7caeb37eddca (patch) | |
| tree | bf663309c8c0b42e8ba85075e85261647058e933 /src/modules/dcc/codec.h | |
| parent | restored lowercase phonon #includes (fixes phonon compilation without KDE); t... (diff) | |
| download | KVIrc-b3743ed6471d0088d180d884986d7caeb37eddca.tar.gz KVIrc-b3743ed6471d0088d180d884986d7caeb37eddca.tar.bz2 KVIrc-b3743ed6471d0088d180d884986d7caeb37eddca.zip | |
Added an alternative (tricky) codec to compile DCC_VIDEO without OGG_THEORA
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3670 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/codec.h')
| -rw-r--r-- | src/modules/dcc/codec.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/dcc/codec.h b/src/modules/dcc/codec.h index a240f3f35..da3c24d18 100644 --- a/src/modules/dcc/codec.h +++ b/src/modules/dcc/codec.h @@ -71,6 +71,19 @@ public: virtual int decodedFrameSize(); }; +class KviDccVideoSJpegCodec : public KviDccVideoCodec +{ +public: + KviDccVideoSJpegCodec(); + virtual ~KviDccVideoSJpegCodec(); +public: + virtual void encodeVideo(KviDataBuffer * videoSignal, KviDataBuffer * stream); + virtual void encodeAudio(KviDataBuffer * audioSignal, KviDataBuffer * stream); + virtual void decode(KviDataBuffer * stream,KviDataBuffer * signal); + virtual int encodedFrameSize(); + virtual int decodedFrameSize(); +}; + #ifndef COMPILE_DISABLE_OGG_THEORA class KviDccVideoTheoraCodec : public KviDccVideoCodec { |
