#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/codec/video_encoder_verbatim.h"
#include <stddef.h>
#include <stdint.h>
#include "base/check.h"
#include "remoting/base/util.h"
#include "remoting/proto/video.pb.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
namespace remoting {
static uint8_t* GetPacketOutputBuffer(VideoPacket* packet, size_t size) { … }
VideoEncoderVerbatim::VideoEncoderVerbatim() = default;
VideoEncoderVerbatim::~VideoEncoderVerbatim() = default;
std::unique_ptr<VideoPacket> VideoEncoderVerbatim::Encode(
const webrtc::DesktopFrame& frame) { … }
}