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

Unified Diff: media/cast/sender/h264_vt_encoder.h

Issue 883013003: [Cast] Separate frame size from VideoSenderConfig in H264VideoToolboxEncoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | media/cast/sender/h264_vt_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/h264_vt_encoder.h
diff --git a/media/cast/sender/h264_vt_encoder.h b/media/cast/sender/h264_vt_encoder.h
index 116486245a4de05f1a8d800ed52620f9775d2808..eac1d5835f9268480e988ba8ee78a7190f73fa70 100644
--- a/media/cast/sender/h264_vt_encoder.h
+++ b/media/cast/sender/h264_vt_encoder.h
@@ -22,9 +22,11 @@ class H264VideoToolboxEncoder : public VideoEncoder {
typedef VideoToolboxGlue::VTEncodeInfoFlags VTEncodeInfoFlags;
public:
- H264VideoToolboxEncoder(scoped_refptr<CastEnvironment> cast_environment,
- const VideoSenderConfig& video_config,
- const CastInitializationCallback& initialization_cb);
+ H264VideoToolboxEncoder(
+ const scoped_refptr<CastEnvironment>& cast_environment,
+ const VideoSenderConfig& video_config,
+ const gfx::Size& frame_size,
+ const CastInitializationCallback& initialization_cb);
~H264VideoToolboxEncoder() override;
// media::cast::VideoEncoder implementation
@@ -39,7 +41,8 @@ class H264VideoToolboxEncoder : public VideoEncoder {
private:
// Initialize the compression session.
- bool Initialize(const VideoSenderConfig& video_config);
+ bool Initialize(const VideoSenderConfig& video_config,
+ const gfx::Size& frame_size);
// Configure the compression session.
void ConfigureSession(const VideoSenderConfig& video_config);
« no previous file with comments | « no previous file | media/cast/sender/h264_vt_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698