summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_config.h
diff options
context:
space:
mode:
authorpwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 17:26:39 +0000
committerpwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 17:26:39 +0000
commit0b15c8c3f19edaa0a58e6b025ac6899b97ae88cb (patch)
tree72bdcbcb3a84f24f230bf7f038b2fedb43d0014b /media/cast/cast_config.h
parent7065c5056980c6f9976ff6f1b0b8cb859efdbf77 (diff)
downloadchromium_src-0b15c8c3f19edaa0a58e6b025ac6899b97ae88cb.zip
chromium_src-0b15c8c3f19edaa0a58e6b025ac6899b97ae88cb.tar.gz
chromium_src-0b15c8c3f19edaa0a58e6b025ac6899b97ae88cb.tar.bz2
Cast: Adding support for GPU accelerated encode
Removed the old VideoEncoderController interface and made video_encoder a pure virtual class that ExternalVideoEncoder and VideoEncoderImpl implements. This CL also remove the possibility to send in pre-encoded video frames. BUG=325998 Review URL: https://codereview.chromium.org/116623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_config.h')
-rw-r--r--media/cast/cast_config.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 27cc67e..7a89d61 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