#include "video/adaptation/pixel_limit_resource.h"
#include "api/sequence_checker.h"
#include "api/units/time_delta.h"
#include "call/adaptation/video_stream_adapter.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace {
constexpr TimeDelta kResourceUsageCheckIntervalMs = …;
}
rtc::scoped_refptr<PixelLimitResource> PixelLimitResource::Create(
TaskQueueBase* task_queue,
VideoStreamInputStateProvider* input_state_provider) { … }
PixelLimitResource::PixelLimitResource(
TaskQueueBase* task_queue,
VideoStreamInputStateProvider* input_state_provider)
: … { … }
PixelLimitResource::~PixelLimitResource() { … }
void PixelLimitResource::SetMaxPixels(int max_pixels) { … }
void PixelLimitResource::SetResourceListener(ResourceListener* listener) { … }
}