Export symbols needed by the Chromium component build (part 3).
This CL uses RTC_EXPORT (defined in rtc_base/system/rtc_export.h) to mark WebRTC symbols as visible from a shared library, this doesn't mean these symbols are part of the public API (please continue to refer to [1] for info about what is considered public WebRTC API). Bug: webrtc:9419 Change-Id: I4d4e2ae52ee01de68147fd0f2cfe4c92d600ad94 Reviewed-on: https://webrtc-review.googlesource.com/c/106343 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25207}
This commit is contained in:
committed by
Commit Bot
parent
0753675a3e
commit
276827cbdb
@ -35,6 +35,7 @@ rtc_source_set("video_codecs_api") {
|
||||
"../..:webrtc_common",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base/system:rtc_export",
|
||||
"../video:encoded_image",
|
||||
"../video:video_bitrate_allocation",
|
||||
"../video:video_frame",
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -98,7 +99,7 @@ union VideoCodecUnion {
|
||||
enum class VideoCodecMode { kRealtimeVideo, kScreensharing };
|
||||
|
||||
// Common video codec properties
|
||||
class VideoCodec {
|
||||
class RTC_EXPORT VideoCodec {
|
||||
public:
|
||||
VideoCodec();
|
||||
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#include "api/video/encoded_image.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -47,7 +48,7 @@ class DecodedImageCallback {
|
||||
virtual int32_t ReceivedDecodedFrame(const uint64_t pictureId);
|
||||
};
|
||||
|
||||
class VideoDecoder {
|
||||
class RTC_EXPORT VideoDecoder {
|
||||
public:
|
||||
virtual ~VideoDecoder() {}
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include "api/video/video_frame.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -73,7 +74,7 @@ class EncodedImageCallback {
|
||||
virtual void OnDroppedFrame(DropReason reason) {}
|
||||
};
|
||||
|
||||
class VideoEncoder {
|
||||
class RTC_EXPORT VideoEncoder {
|
||||
public:
|
||||
struct QpThresholds {
|
||||
QpThresholds(int l, int h) : low(l), high(h) {}
|
||||
|
||||
Reference in New Issue
Block a user