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

Unified Diff: media/cast/video_sender/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
« no previous file with comments | « media/cast/video_sender/fake_software_video_encoder.cc ('k') | media/cast/video_sender/video_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_sender/software_video_encoder.h
diff --git a/media/cast/video_sender/software_video_encoder.h b/media/cast/video_sender/software_video_encoder.h
deleted file mode 100644
index f1bf6f6331638024d1c6dde601546221b73456ed..0000000000000000000000000000000000000000
--- a/media/cast/video_sender/software_video_encoder.h
+++ /dev/null
@@ -1,46 +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_SOFTWARE_VIDEO_ENCODER_H_
-#define MEDIA_CAST_VIDEO_SENDER_SOFTWARE_VIDEO_ENCODER_H_
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-
-namespace media {
-class VideoFrame;
-}
-
-namespace media {
-namespace cast {
-namespace transport {
-struct EncodedFrame;
-} // namespace transport
-
-class SoftwareVideoEncoder {
- public:
- virtual ~SoftwareVideoEncoder() {}
-
- // Initialize the encoder before Encode() can be called. This method
- // must be called on the thread that Encode() is called.
- virtual void Initialize() = 0;
-
- // Encode a raw image (as a part of a video stream).
- virtual bool Encode(const scoped_refptr<media::VideoFrame>& video_frame,
- transport::EncodedFrame* encoded_image) = 0;
-
- // Update the encoder with a new target bit rate.
- virtual void UpdateRates(uint32 new_bitrate) = 0;
-
- // Set the next frame to be a key frame.
- virtual void GenerateKeyFrame() = 0;
-
- // Set the last frame to reference.
- virtual void LatestFrameIdToReference(uint32 frame_id) = 0;
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_VIDEO_SENDER_SOFTWARE_VIDEO_ENCODER_H_
« no previous file with comments | « media/cast/video_sender/fake_software_video_encoder.cc ('k') | media/cast/video_sender/video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698