#include "remoting/codec/video_encoder_helper.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 {
VideoEncoderHelper::VideoEncoderHelper() = default;
std::unique_ptr<VideoPacket> VideoEncoderHelper::CreateVideoPacket(
const webrtc::DesktopFrame& frame) { … }
std::unique_ptr<VideoPacket>
VideoEncoderHelper::CreateVideoPacketWithUpdatedRegion(
const webrtc::DesktopFrame& frame,
const webrtc::DesktopRegion& updated_region) { … }
}