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