Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: webrtc/modules/video_coding/main/source/jitter_buffer.h

Issue 1426813002: Update layer indices for non-flexible mode according to updates in the RTP payload profile. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove unused ss_map Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 CriticalSectionWrapper* crit_sect_; 331 CriticalSectionWrapper* crit_sect_;
332 // Event to signal when we have a frame ready for decoder. 332 // Event to signal when we have a frame ready for decoder.
333 rtc::scoped_ptr<EventWrapper> frame_event_; 333 rtc::scoped_ptr<EventWrapper> frame_event_;
334 // Number of allocated frames. 334 // Number of allocated frames.
335 int max_number_of_frames_; 335 int max_number_of_frames_;
336 UnorderedFrameList free_frames_ GUARDED_BY(crit_sect_); 336 UnorderedFrameList free_frames_ GUARDED_BY(crit_sect_);
337 FrameList decodable_frames_ GUARDED_BY(crit_sect_); 337 FrameList decodable_frames_ GUARDED_BY(crit_sect_);
338 FrameList incomplete_frames_ GUARDED_BY(crit_sect_); 338 FrameList incomplete_frames_ GUARDED_BY(crit_sect_);
339 VCMDecodingState last_decoded_state_ GUARDED_BY(crit_sect_); 339 VCMDecodingState last_decoded_state_ GUARDED_BY(crit_sect_);
340 bool first_packet_since_reset_; 340 bool first_packet_since_reset_;
341 // Contains scalability structure data for VP9.
342 Vp9SsMap vp9_ss_map_ GUARDED_BY(crit_sect_);
343 341
344 // Statistics. 342 // Statistics.
345 VCMReceiveStatisticsCallback* stats_callback_ GUARDED_BY(crit_sect_); 343 VCMReceiveStatisticsCallback* stats_callback_ GUARDED_BY(crit_sect_);
346 // Frame counts for each type (key, delta, ...) 344 // Frame counts for each type (key, delta, ...)
347 FrameCounts receive_statistics_; 345 FrameCounts receive_statistics_;
348 // Latest calculated frame rates of incoming stream. 346 // Latest calculated frame rates of incoming stream.
349 unsigned int incoming_frame_rate_; 347 unsigned int incoming_frame_rate_;
350 unsigned int incoming_frame_count_; 348 unsigned int incoming_frame_count_;
351 int64_t time_last_incoming_frame_count_; 349 int64_t time_last_incoming_frame_count_;
352 unsigned int incoming_bit_count_; 350 unsigned int incoming_bit_count_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // Estimated rolling average of packets per frame 385 // Estimated rolling average of packets per frame
388 float average_packets_per_frame_; 386 float average_packets_per_frame_;
389 // average_packets_per_frame converges fast if we have fewer than this many 387 // average_packets_per_frame converges fast if we have fewer than this many
390 // frames. 388 // frames.
391 int frame_counter_; 389 int frame_counter_;
392 RTC_DISALLOW_COPY_AND_ASSIGN(VCMJitterBuffer); 390 RTC_DISALLOW_COPY_AND_ASSIGN(VCMJitterBuffer);
393 }; 391 };
394 } // namespace webrtc 392 } // namespace webrtc
395 393
396 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_JITTER_BUFFER_H_ 394 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_JITTER_BUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc ('k') | webrtc/modules/video_coding/main/source/jitter_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698