#ifndef REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_
#define REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_
#include "remoting/codec/video_encoder.h"
#include "remoting/proto/video.pb.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
class VideoEncoderVerbatim : public VideoEncoder {
public:
VideoEncoderVerbatim();
virtual ~VideoEncoderVerbatim();
virtual scoped_ptr<VideoPacket> Encode(
const webrtc::DesktopFrame& frame) OVERRIDE;
private:
uint8* GetOutputBuffer(VideoPacket* packet, size_t size);
webrtc::DesktopSize screen_size_;
};
}
#endif