webrtc/media/base
Ilya Nikolaevskiy 9560d7dc58 Make update_rect optional in VideoFrame
For the automatic content type detection we need to know if the update
rect is trusted or just not available.

Currently we only care if it's not empty, so in case of no update rect
available, full frame resolution was set as a changed region.

This CL makes the update_rect field optional but should be a no-op in the
current code, as absence of update_rect is treated as a full update via
a new getter method |update_rect_or_full_frame()|.

Bug: webrtc:11058
Change-Id: I913545b71ac2fc845861549ac34eb1b630012109
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158673
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29654}
2019-10-30 11:27:54 +00:00
..
adapted_video_track_source.cc Cleanup video frame metadata copying 2019-06-05 15:05:57 +00:00
adapted_video_track_source.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
audio_source.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
codec.cc Add support for enabling and negotiating raw RTP packetization. 2019-06-04 14:35:54 +00:00
codec.h Add support for enabling and negotiating raw RTP packetization. 2019-06-04 14:35:54 +00:00
codec_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
delayable.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
fake_frame_source.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
fake_frame_source.h Format almost everything. 2019-07-08 13:45:15 +00:00
fake_media_engine.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
fake_media_engine.h Add/remove receive streams with SSRC 0 from media channels 2019-10-07 23:01:28 +00:00
fake_network_interface.h Only handle each RTCP once. 2019-09-18 16:54:39 +00:00
fake_rtp.cc Format almost everything. 2019-07-08 13:45:15 +00:00
fake_rtp.h Format almost everything. 2019-07-08 13:45:15 +00:00
fake_video_renderer.cc Add plumbing of RtpPacketInfos to each VideoFrame as input for SourceTracker. 2019-06-20 10:24:29 +00:00
fake_video_renderer.h Add plumbing of RtpPacketInfos to each VideoFrame as input for SourceTracker. 2019-06-20 10:24:29 +00:00
h264_profile_level_id.cc Remove CodecInst pt.3 2018-12-18 07:42:21 +00:00
h264_profile_level_id.h Export symbols needed by the Chromium component build (part 4). 2018-10-18 08:42:22 +00:00
media_channel.cc Added allow_codec_switching parameter to RTCConfig. 2019-10-25 11:06:31 +00:00
media_channel.h Added allow_codec_switching parameter to RTCConfig. 2019-10-25 11:06:31 +00:00
media_config.h Negate flag name for prerender smoothing and update comments. 2019-01-24 11:53:26 +00:00
media_constants.cc Add support for enabling and negotiating raw RTP packetization. 2019-06-04 14:35:54 +00:00
media_constants.h Add support for enabling and negotiating raw RTP packetization. 2019-06-04 14:35:54 +00:00
media_engine.cc Format almost everything. 2019-07-08 13:45:15 +00:00
media_engine.h Delete CoreAudio include from media_engine.h 2019-09-13 12:27:19 +00:00
rid_description.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rid_description.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_data_engine.cc Add/remove receive streams with SSRC 0 from media channels 2019-10-07 23:01:28 +00:00
rtp_data_engine.h Add/remove receive streams with SSRC 0 from media channels 2019-10-07 23:01:28 +00:00
rtp_data_engine_unittest.cc Move MediaTransportInterface out of the libjingle_peerconnection_api target 2019-09-13 10:49:56 +00:00
rtp_utils.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_utils.h Minor fixes and refactoring for RtpTransport until the Demux. 2019-03-19 16:48:47 +00:00
rtp_utils_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
stream_params.cc Format almost everything. 2019-07-08 13:45:15 +00:00
stream_params.h Format almost everything. 2019-07-08 13:45:15 +00:00
stream_params_unittest.cc Reland: Remove dead code from stream_params.h 2019-02-06 19:18:15 +00:00
test_utils.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
test_utils.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
turn_utils.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
turn_utils.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
turn_utils_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_adapter.cc Add option to make first scale factor depend on input resolution. 2019-10-18 14:19:04 +00:00
video_adapter.h Add option to make first scale factor depend on input resolution. 2019-10-18 14:19:04 +00:00
video_adapter_unittest.cc Add option to make first scale factor depend on input resolution. 2019-10-18 14:19:04 +00:00
video_broadcaster.cc Make update_rect optional in VideoFrame 2019-10-30 11:27:54 +00:00
video_broadcaster.h Reland "Propagate VideoFrame::UpdateRect to encoder" 2019-02-18 13:44:14 +00:00
video_broadcaster_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
video_common.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_common.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_common_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_source_base.cc Use Abseil container algorithms in media/ 2019-01-29 02:35:50 +00:00
video_source_base.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
vp9_profile.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
vp9_profile.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00