Move VideoEncoderConfig from api/ into video/config

This cl move VideoEncoderConfig from api/ to video/config.

VideoStreamEncoderInterface and VideoStreamEncoderObserver
are moved as collateral.

brandt@ think that the reason these were in api/ in the
first place had to downstream project.

Functionality wise, this is a NOP, but it makes it easier
to modify the encoder (config).

Bug: webrtc:14451
Change-Id: I2610d815aeb186298498e7102cac773ecac8cd36
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/277002
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38242}
This commit is contained in:
Jonas Oreland
2022-09-29 10:28:24 +02:00
committed by WebRTC LUCI CQ
parent 5ed1752843
commit 6c2dae21e9
56 changed files with 326 additions and 270 deletions

View File

@ -295,6 +295,7 @@ rtc_library("video_coding") {
"../../system_wrappers",
"../../system_wrappers:field_trial",
"../../system_wrappers:metrics",
"../../video/config:encoder_config",
"../rtp_rtcp",
"../rtp_rtcp:rtp_rtcp_format",
"../rtp_rtcp:rtp_video_header",
@ -989,6 +990,7 @@ if (rtc_include_tests) {
"../../test:test_support",
"../../test:video_test_common",
"../../test:video_test_support",
"../../video/config:encoder_config",
"../../video/config:streams_config",
]
absl_deps = [

View File

@ -7,6 +7,7 @@ include_rules = [
"+rtc_tools",
"+third_party/libyuv",
"+rtc_base/system/rtc_export.h",
"+video/config",
]
specific_include_rules = {

View File

@ -37,7 +37,6 @@
#include "api/video_codecs/video_decoder_factory_template_libvpx_vp8_adapter.h"
#include "api/video_codecs/video_decoder_factory_template_libvpx_vp9_adapter.h"
#include "api/video_codecs/video_decoder_factory_template_open_h264_adapter.h"
#include "api/video_codecs/video_encoder_config.h"
#include "api/video_codecs/video_encoder_factory.h"
#include "api/video_codecs/video_encoder_factory_template.h"
#include "api/video_codecs/video_encoder_factory_template_libaom_av1_adapter.h"
@ -61,6 +60,7 @@
#include "test/testsupport/frame_writer.h"
#include "test/video_codec_settings.h"
#include "video/config/simulcast.h"
#include "video/config/video_encoder_config.h"
namespace webrtc {
namespace test {

View File

@ -15,7 +15,7 @@
#include <string>
#include <vector>
#include "api/video_codecs/video_encoder_config.h"
#include "video/config/video_encoder_config.h"
namespace webrtc {