sprang 1369c83b42 Revert of Issue 2434073003: Extract bitrate allocation ... (patchset #4 id:60001 of https://codereview.webrtc.org/2488833004/ )
Reason for revert:
Seems to be causing flakiness in perf test:
FullStackTest.ScreenshareSlidesVP8_2TL_LossyNet

Original issue's description:
> Reland of Issue 2434073003: Extract bitrate allocation ...
>
> This is a reland of https://codereview.webrtc.org/2434073003/ including
> some fixes for failing test cases.
>
> Original description:
>
> Extract bitrate allocation of spatial/temporal layers out of codec impl.
>
> This CL makes a number of intervowen changes:
>
> * Add BitrateAllocation struct, that contains a codec independent view
>   of how the target bitrate is distributed over spatial and temporal
>   layers.
>
> * Adds the BitrateAllocator interface, which takes a bitrate and frame
>   rate and produces a BitrateAllocation.
>
> * A default (non layered) implementation is added, and
>   SimulcastRateAllocator is extended to fully handle VP8 allocation.
>   This includes capturing TemporalLayer instances created by the
>   encoder.
>
> * ViEEncoder now owns both the bitrate allocator and the temporal layer
>   factories for VP8. This allows allocation to happen fully outside of
>   the encoder implementation.
>
> This refactoring will make it possible for ViEEncoder to signal the
> full picture of target bitrates to the RTCP module.
>
> BUG=webrtc:6301
>
> Committed: https://crrev.com/647bf43dcb2fd16fccf276bd94dc4400728bb405
> Cr-Commit-Position: refs/heads/master@{#15023}

TBR=mflodman@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6301

Review-Url: https://codereview.webrtc.org/2491393002
Cr-Commit-Position: refs/heads/master@{#15026}
2016-11-10 16:30:39 +00:00

98 lines
2.9 KiB
Python

# Copyright (c) 2012 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.
{
'targets': [
{
'target_name': 'webrtc_video_coding',
'type': 'static_library',
'dependencies': [
'webrtc_h264',
'webrtc_i420',
'../base/base.gyp:rtc_task_queue',
'<(webrtc_root)/common_video/common_video.gyp:common_video',
'<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
'<(webrtc_vp8_dir)/vp8.gyp:webrtc_vp8',
'<(webrtc_vp9_dir)/vp9.gyp:webrtc_vp9',
],
'sources': [
# interfaces
'include/video_coding.h',
'include/video_coding_defines.h',
# headers
'codec_database.h',
'codec_timer.h',
'decoding_state.h',
'encoded_frame.h',
'fec_tables_xor.h',
'frame_buffer.h',
'frame_buffer2.h',
'frame_object.h',
'rtp_frame_reference_finder.h',
'generic_decoder.h',
'generic_encoder.h',
'histogram.h',
'inter_frame_delay.h',
'internal_defines.h',
'jitter_buffer.h',
'jitter_buffer_common.h',
'jitter_estimator.h',
'media_opt_util.h',
'media_optimization.h',
'nack_fec_tables.h',
'nack_module.h',
'packet.h',
'packet_buffer.h',
'percentile_filter.h',
'protection_bitrate_calculator.h',
'receiver.h',
'rtt_filter.h',
'session_info.h',
'timestamp_map.h',
'timing.h',
'video_coding_impl.h',
# sources
'codec_database.cc',
'codec_timer.cc',
'decoding_state.cc',
'encoded_frame.cc',
'frame_buffer.cc',
'frame_buffer2.cc',
'frame_object.cc',
'rtp_frame_reference_finder.cc',
'generic_decoder.cc',
'generic_encoder.cc',
'inter_frame_delay.cc',
'histogram.cc',
'jitter_buffer.cc',
'jitter_estimator.cc',
'media_opt_util.cc',
'media_optimization.cc',
'protection_bitrate_calculator.cc',
'nack_module.cc',
'packet.cc',
'packet_buffer.cc',
'percentile_filter.cc',
'receiver.cc',
'rtt_filter.cc',
'session_info.cc',
'timestamp_map.cc',
'timing.cc',
'video_coding_impl.cc',
'video_sender.cc',
'video_receiver.cc',
], # source
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
],
}