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

Unified Diff: media/cast/cast_config.h

Issue 116623002: Cast: Adding support for GPU accelerated encode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 7 years 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/cast_config.h
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 27cc67e5daeb499949e16054ad412ed18d4bcc35..7a89d618cf82c813a3ef3919a000a6ab62f85586 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -25,7 +25,6 @@ enum RtcpMode {
enum VideoCodec {
kVp8,
kH264,
- kExternalVideo,
};
enum AudioCodec {
@@ -205,28 +204,6 @@ class PacketReceiver : public base::RefCountedThreadSafe<PacketReceiver> {
friend class base::RefCountedThreadSafe<PacketReceiver>;
};
-class VideoEncoderController {
- public:
- // Inform the encoder about the new target bit rate.
- virtual void SetBitRate(int new_bit_rate) = 0;
-
- // Inform the encoder to not encode the next frame.
- // Note: this setting is sticky and should last until called with false.
- virtual void SkipNextFrame(bool skip_next_frame) = 0;
-
- // Inform the encoder to encode the next frame as a key frame.
- virtual void GenerateKeyFrame() = 0;
-
- // Inform the encoder to only reference frames older or equal to frame_id;
- virtual void LatestFrameIdToReference(uint32 frame_id) = 0;
-
- // Query the codec about how many frames it has skipped due to slow ACK.
- virtual int NumberOfSkippedFrames() const = 0;
-
- protected:
- virtual ~VideoEncoderController() {}
-};
-
} // namespace cast
} // namespace media
« media/cast/DEPS ('K') | « media/cast/cast.gyp ('k') | media/cast/cast_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698