/* * Copyright (c) 2012 Yoann Blein * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include namespace Swift { class ReferencePictureSelection { public: ReferencePictureSelection(); void receivedRPSI(int rpsi_picture_id); void receivedSLI(); int encodeFlags(int picture_id); void refFrameSent(int picture_id); private: bool update_golden_next_; bool established_golden_; bool received_ack_; int last_sent_ref_picture_id_; int established_ref_picture_id_; bool send_refresh; }; }