Chromium Code Reviews| 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..3455f17322b389a991ba67e8d34f155c648bc7ad |
| --- /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(); |
|
dcheng
2016/03/04 02:00:11
Formatting.
Fady Samuel
2016/03/04 02:30:00
Done.
|
| + ~CreateVideoEncoderParams(); |
| + int32_t command_buffer_route_id; |
| + media::VideoPixelFormat input_format; |
| + gfx::Size input_visible_size; |
| + media::VideoCodecProfile output_profile; |
| + uint32_t initial_bitrate; |
| + int32_t encoder_route_id; |
| +}; |
| + |
| +} // namespace content |
|
dcheng
2016/03/04 02:00:11
Nit: newline after for consistency
Fady Samuel
2016/03/04 02:30:00
Done.
|
| +#endif // CONTENT_COMMON_GPU_MEDIA_CREATE_VIDEO_ENCODER_PARAMS_H_ |