#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/codec/video_decoder_verbatim.h"
#include <stdint.h>
#include "base/logging.h"
#include "base/notreached.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 const int kBytesPerPixel = …;
VideoDecoderVerbatim::VideoDecoderVerbatim() = default;
VideoDecoderVerbatim::~VideoDecoderVerbatim() = default;
void VideoDecoderVerbatim::SetPixelFormat(
VideoDecoder::PixelFormat pixel_format) { … }
bool VideoDecoderVerbatim::DecodePacket(const VideoPacket& packet,
webrtc::DesktopFrame* frame) { … }
}