#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/codec/video_encoder_active_map.h"
#include <algorithm>
#include <utility>
#include <string.h>
#include "base/check_op.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
DesktopRegionIterator;
namespace {
constexpr int kMacroBlockSize = …;
}
namespace remoting {
VideoEncoderActiveMap::VideoEncoderActiveMap() = default;
VideoEncoderActiveMap::~VideoEncoderActiveMap() = default;
void VideoEncoderActiveMap::Initialize(const webrtc::DesktopSize& size) { … }
void VideoEncoderActiveMap::Clear() { … }
void VideoEncoderActiveMap::Update(
const webrtc::DesktopRegion& updated_region) { … }
}