1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef MEDIA_GPU_IPC_COMMON_CREATE_VIDEO_ENCODER_PARAMS_H_
6 #define MEDIA_GPU_IPC_COMMON_CREATE_VIDEO_ENCODER_PARAMS_H_
7 
8 #include "media/base/video_codecs.h"
9 #include "media/base/video_types.h"
10 #include "ui/gfx/geometry/size.h"
11 
12 namespace media {
13 
14 struct CreateVideoEncoderParams {
15   CreateVideoEncoderParams();
16   ~CreateVideoEncoderParams();
17   VideoPixelFormat input_format;
18   gfx::Size input_visible_size;
19   VideoCodecProfile output_profile;
20   uint32_t initial_bitrate;
21   int32_t encoder_route_id;
22 };
23 
24 }  // namespace media
25 
26 #endif  // MEDIA_GPU_IPC_COMMON_CREATE_VIDEO_ENCODER_PARAMS_H_
27