webrtc/api/video
Danil Chapovalov 52e8522cb7 Replace ArrayView with std::span in api/
ArrayView is an alias to std::span. This change switch to use
std::span directly instead of through the alias.

Search&Replace MakeArrayView and ArrayView with std::span
Search&Replace include "api/array_view.h" with include <span>
Remove <span> include where std::span is not mentioned in the file
Remove build dependencies on array_view target

Updated comment in audio_frame.cc to be more accurate matching one of
the behavior changes between ArrayView and std::span

Bug: webrtc:439801349
Change-Id: Iec42e1bf3ff5539211e8a4c85773ba08cf1412dd
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/461060
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#47315}
2026-04-02 00:13:26 -07:00
..
corruption_detection Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
test Modernize deprecated headers in api/, pc/ and rtc_base/ 2025-07-21 00:02:35 -07:00
BUILD.gn Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
builtin_video_bitrate_allocator_factory.cc Propagate FieldTrialsView to query WebRTC-StableTargetRate field trial 2024-09-17 14:24:41 +00:00
builtin_video_bitrate_allocator_factory.h
color_space.cc Move string_builder.h to webrtc namespace 2025-02-19 06:30:53 -08:00
color_space.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
corruption_detection_filter_settings.h Create api/video/corruption_detection directory. 2025-08-11 00:52:31 -07:00
DEPS Fix malformed DEPS files in WebRTC. 2026-02-17 09:47:27 -08:00
encoded_frame.cc Migrate absl variant to std in WebRTC 2025-03-18 16:08:39 -07:00
encoded_frame.h Refactor FrameInstrumentationData and expose it in api/ 2025-08-20 08:24:25 -07:00
encoded_image.cc Change single-argument Buffer() to static create function. 2026-01-07 05:07:39 -08:00
encoded_image.h Restrict ArrayView constructor from genertic range 2026-02-24 04:48:22 -08:00
frame_buffer_unittest.cc Replace usages of ScopedKeyValueConfig with CreateTestFieldTrials 2025-06-30 05:48:41 -07:00
frame_buffer.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
frame_buffer.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
hdr_metadata.cc
hdr_metadata.h
i010_buffer.cc [cleanup] Fix redundant webrtc name specifier 2025-05-09 05:24:10 -07:00
i010_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
i210_buffer.cc [cleanup] Fix redundant webrtc name specifier 2025-05-09 05:24:10 -07:00
i210_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
i410_buffer.cc Modernize deprecated headers in api/, pc/ and rtc_base/ 2025-07-21 00:02:35 -07:00
i410_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
i420_buffer.cc Modernize deprecated headers in api/, pc/ and rtc_base/ 2025-07-21 00:02:35 -07:00
i420_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
i422_buffer.cc Modernize deprecated headers in api/, pc/ and rtc_base/ 2025-07-21 00:02:35 -07:00
i422_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
i444_buffer.cc Modernize deprecated headers in api/, pc/ and rtc_base/ 2025-07-21 00:02:35 -07:00
i444_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
nv12_buffer.cc clang-tidy: llvm-namespace-comment,readability-static-definition-in-anonymous-namespace 2025-06-16 14:29:31 -07:00
nv12_buffer.h Use webrtc name specifier instead of rtc/cricket in api 2025-04-15 22:17:02 -07:00
OWNERS Clean up some video-related OWNERS files. 2026-03-10 02:16:08 -07:00
recordable_encoded_frame.h Remove redundant webrtc:: prefixes in ['api/video', 'api/video_codecs'] 2025-06-11 08:50:30 -07:00
render_resolution.h Reland "RtpEncodingParameters::request_resolution patch 1" 2022-09-23 11:48:19 +00:00
resolution.h Helper API for codec factories to calculate supported H.265 levels. 2024-04-16 09:23:58 +00:00
rtp_video_frame_assembler_unittests.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
rtp_video_frame_assembler.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
rtp_video_frame_assembler.h Add codec name H265 to support H265 in WebRTC 2023-09-20 09:25:32 +00:00
rtp_video_frame_h265_assembler_unittests.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_adaptation_counters.cc Move string_builder.h to webrtc namespace 2025-02-19 06:30:53 -08:00
video_adaptation_counters.h
video_adaptation_reason.h
video_bitrate_allocation.cc Convert kMax constants in video_codec_constants to size_t 2026-03-27 05:02:29 -07:00
video_bitrate_allocation.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
video_bitrate_allocator_factory.h Provide Environment to SimulcastRateAllocator at construction 2024-05-16 13:32:54 +00:00
video_bitrate_allocator.cc Remove StableTargetRateExperiment and usage of TargetTransferRate.stable_target_bitrate from Video allocation and encoder 2025-06-17 02:15:53 -07:00
video_bitrate_allocator.h Remove StableTargetRateExperiment and usage of TargetTransferRate.stable_target_bitrate from Video allocation and encoder 2025-06-17 02:15:53 -07:00
video_codec_constants.h Convert kMax constants in video_codec_constants to size_t 2026-03-27 05:02:29 -07:00
video_codec_type.h Support AbslStringify with VideoCodecType. 2025-11-03 09:40:23 -08:00
video_content_type.cc clang-tidy: llvm-namespace-comment,readability-static-definition-in-anonymous-namespace 2025-06-16 14:29:31 -07:00
video_content_type.h Remove extra usage of video-content-type header extension 2023-07-22 21:47:08 +00:00
video_frame_buffer.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_frame_buffer.h Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_frame_metadata_unittest.cc Apply include-cleaner to api/video 2024-08-19 11:22:41 +00:00
video_frame_metadata.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_frame_metadata.h Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_frame_type.h Use common VideoFrameTypeToString helper 2023-07-12 00:28:47 +00:00
video_frame.cc Add and populate content type in VideoFrame. 2026-02-24 05:47:25 -08:00
video_frame.h Add and populate content type in VideoFrame. 2026-02-24 05:47:25 -08:00
video_layers_allocation.h
video_rotation.h
video_sink_interface.h Remove re-exported symbols from rtc and cricket namespaces 2025-07-01 03:58:20 -07:00
video_source_interface.cc Move rest of rtc namespace except ios and clashes to webrtc namespace 2025-04-02 04:43:08 -07:00
video_source_interface.h Remove re-exported symbols from rtc and cricket namespaces 2025-07-01 03:58:20 -07:00
video_stream_encoder_settings.h Replace EncoderSwitchRequestCallback with absl::AnyInvocable 2026-03-09 07:02:19 -07:00
video_timing.cc Replace ArrayView with std::span in api/ 2026-04-02 00:13:26 -07:00
video_timing.h In VideoPlayoutDelay delete access to integer representation of min/max values 2023-08-23 16:14:26 +00:00