Move some video codec constants to separate file.

kMaxSimulcastStreams, kMaxSpatialLayers and kMaxTemporalStreams don't
really beling on VideoBitrateAllocation.
common_types.h is going away and it feels dubious to requrie include
of the full VideoEncoder api to use them. Therefore moving them into a
seprate file/target.

Also includes some remaining cleanup of includes.

Bug: webrtc:9271
Change-Id: I7ded3d97a9a835ac756159700774445a2b93a697
Reviewed-on: https://webrtc-review.googlesource.com/c/117305
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26299}
This commit is contained in:
Erik Språng
2019-01-16 17:10:57 +01:00
committed by Commit Bot
parent 74ba99062c
commit f93eda1705
18 changed files with 50 additions and 12 deletions

View File

@ -12,6 +12,8 @@
#define SDK_ANDROID_SRC_JNI_ENCODED_IMAGE_H_
#include <jni.h>
#include <vector>
#include "common_types.h" // NOLINT(build/include)
#include "sdk/android/native_api/jni/scoped_java_ref.h"