diff options
Diffstat (limited to 'client/glz_decoder_window.h')
-rw-r--r-- | client/glz_decoder_window.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/client/glz_decoder_window.h b/client/glz_decoder_window.h index a2848bb7..e061c736 100644 --- a/client/glz_decoder_window.h +++ b/client/glz_decoder_window.h @@ -33,7 +33,7 @@ typedef int DecodedImageWinId; class GlzDecoderWindow { public: - GlzDecoderWindow(int pixels_capacity, GlzDecoderDebug &debug_calls); + GlzDecoderWindow(GlzDecoderDebug &debug_calls); virtual ~GlzDecoderWindow(); DecodedImageWinId pre_decode(uint64_t image_id, uint64_t relative_head_id); @@ -50,8 +50,6 @@ public: /* NOTE - clear mustn't be called if the window is currently used by a decoder*/ void clear(); - void set_pixels_capacity(int pixels_capacity); - private: void wait_for_image(int index); void add_image(GlzDecodedImage *image); @@ -75,14 +73,12 @@ private: void release_images(); private: - int _pixels_capacity; GlzDecodedImage **_images; // cyclic window int _head_idx; // index in images array (not image id) uint64_t _tail_image_id; int _images_capacity; int _n_images; // _n_images counts all the images in // the window, including the missing ones - uint64_t _n_pixels; std::list<uint64_t> _missing_list; |