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

Unified Diff: content/common/gpu/media/create_video_encoder_params.h

Issue 1736643005: Decouple Media Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit + fixed compile issue Created 4 years, 10 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 | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/create_video_encoder_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/create_video_encoder_params.h
diff --git a/content/common/gpu/media/create_video_encoder_params.h b/content/common/gpu/media/create_video_encoder_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..408cc8ae7953675660d3cad6e987cf09b90e6b05
--- /dev/null
+++ b/content/common/gpu/media/create_video_encoder_params.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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 CONTENT_COMMON_GPU_MEDIA_CREATE_VIDEO_ENCODER_PARAMS_H_
+#define CONTENT_COMMON_GPU_MEDIA_CREATE_VIDEO_ENCODER_PARAMS_H_
+
+#include "media/base/video_codecs.h"
+#include "media/base/video_types.h"
+#include "ui/gfx/geometry/size.h"
+
+namespace content {
+
+struct CreateVideoEncoderParams {
+ CreateVideoEncoderParams();
+ ~CreateVideoEncoderParams();
+ media::VideoPixelFormat input_format;
+ gfx::Size input_visible_size;
+ media::VideoCodecProfile output_profile;
+ uint32_t initial_bitrate;
+ int32_t encoder_route_id;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_GPU_MEDIA_CREATE_VIDEO_ENCODER_PARAMS_H_
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/create_video_encoder_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698