File tree Expand file tree Collapse file tree 4 files changed +815
-1
lines changed Expand file tree Collapse file tree 4 files changed +815
-1
lines changed Original file line number Diff line number Diff line change 5757#include <rfb/keysym.h>
5858#include <rfb/threading.h>
5959
60+ #ifdef LIBVNCSERVER_HAVE_LIBAVCODEC
61+ struct AVCodecContext ;
62+ struct AVFrame ;
63+ struct AVPacket ;
64+ struct rfbClientH264Context ;
65+ #ifdef LIBVNCSERVER_HAVE_LIBSWSCALE
66+ struct SwsContext ;
67+ #endif
68+ #endif
69+
6070#ifdef LIBVNCSERVER_HAVE_SASL
6171#include <sasl/sasl.h>
6272#endif /* LIBVNCSERVER_HAVE_SASL */
@@ -294,6 +304,12 @@ typedef struct _rfbClient {
294304 int raw_buffer_size ;
295305 char * raw_buffer ;
296306
307+ #ifdef LIBVNCSERVER_HAVE_LIBAVCODEC
308+ struct rfbClientH264Context * h264ContextsHead ;
309+ struct rfbClientH264Context * h264ContextsTail ;
310+ unsigned int h264ContextCount ;
311+ #endif
312+
297313#ifdef LIBVNCSERVER_HAVE_LIBZ
298314 z_stream decompStream ;
299315 rfbBool decompStreamInited ;
@@ -886,6 +902,10 @@ rfbBool rfbClientInitialise(rfbClient* client);
886902 */
887903void rfbClientCleanup (rfbClient * client );
888904
905+ #ifdef LIBVNCSERVER_HAVE_LIBAVCODEC
906+ void rfbClientH264ReleaseDecoder (rfbClient * client );
907+ #endif
908+
889909#if (defined __cplusplus )
890910 }
891911#endif
You can’t perform that action at this time.
0 commit comments