diff options
Diffstat (limited to 'Swiften/ScreenSharing/ReferencePictureSelection.cpp')
-rw-r--r-- | Swiften/ScreenSharing/ReferencePictureSelection.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Swiften/ScreenSharing/ReferencePictureSelection.cpp b/Swiften/ScreenSharing/ReferencePictureSelection.cpp index dc2a81e..dabcf12 100644 --- a/Swiften/ScreenSharing/ReferencePictureSelection.cpp +++ b/Swiften/ScreenSharing/ReferencePictureSelection.cpp @@ -1,11 +1,7 @@ /* - * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. + * Copyright (c) 2012 Yoann Blein + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include <Swiften/ScreenSharing/ReferencePictureSelection.h> @@ -25,7 +21,7 @@ ReferencePictureSelection::ReferencePictureSelection() send_refresh(false) { } -void ReferencePictureSelection::ReceivedRPSI(int rpsi_picture_id) { +void ReferencePictureSelection::receivedRPSI(int rpsi_picture_id) { // Assume RPSI is signaled with 7 bits. SWIFT_LOG(debug) << "ReceivedRPSI: " << rpsi_picture_id << ", " << last_sent_ref_picture_id_ << std::endl; if ((rpsi_picture_id & 127) == (last_sent_ref_picture_id_ & 127)) { @@ -38,11 +34,11 @@ void ReferencePictureSelection::ReceivedRPSI(int rpsi_picture_id) { } } -void ReferencePictureSelection::ReceivedSLI() { +void ReferencePictureSelection::receivedSLI() { send_refresh = true; } -int ReferencePictureSelection::EncodeFlags(int picture_id) { +int ReferencePictureSelection::encodeFlags(int picture_id) { int flags = 0; // We can't refresh the decoder until we have established the key frame. if (send_refresh/* && received_ack_*/) { |