Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: media/cast/video_sender/fake_software_video_encoder.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/cast/video_sender/fake_software_video_encoder.h
diff --git a/media/cast/video_sender/fake_software_video_encoder.h b/media/cast/video_sender/fake_software_video_encoder.h
deleted file mode 100644
index 0eb88ddfe17fd286a350d9406be09539dcc49701..0000000000000000000000000000000000000000
--- a/media/cast/video_sender/fake_software_video_encoder.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_VIDEO_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_
-#define MEDIA_CAST_VIDEO_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_
-
-#include "media/cast/cast_config.h"
-#include "media/cast/video_sender/software_video_encoder.h"
-
-namespace media {
-namespace cast {
-
-class FakeSoftwareVideoEncoder : public SoftwareVideoEncoder {
- public:
- FakeSoftwareVideoEncoder(const VideoSenderConfig& video_config);
- virtual ~FakeSoftwareVideoEncoder();
-
- // SoftwareVideoEncoder implementations.
- virtual void Initialize() OVERRIDE;
- virtual bool Encode(const scoped_refptr<media::VideoFrame>& video_frame,
- transport::EncodedFrame* encoded_image) OVERRIDE;
- virtual void UpdateRates(uint32 new_bitrate) OVERRIDE;
- virtual void GenerateKeyFrame() OVERRIDE;
- virtual void LatestFrameIdToReference(uint32 frame_id) OVERRIDE;
-
- private:
- VideoSenderConfig video_config_;
- bool next_frame_is_key_;
- uint32 frame_id_;
- uint32 frame_id_to_reference_;
- int frame_size_;
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_VIDEO_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_
« no previous file with comments | « media/cast/video_sender/external_video_encoder_unittest.cc ('k') | media/cast/video_sender/fake_software_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698