OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "media/video/capture/video_capture_types.h" | 5 #include "media/base/video_capture_types.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "media/base/limits.h" | 9 #include "media/base/limits.h" |
10 | 10 |
11 namespace media { | 11 namespace media { |
12 | 12 |
13 VideoCaptureFormat::VideoCaptureFormat() | 13 VideoCaptureFormat::VideoCaptureFormat() |
14 : frame_rate(0.0f), pixel_format(PIXEL_FORMAT_UNKNOWN) {} | 14 : frame_rate(0.0f), pixel_format(PIXEL_FORMAT_UNKNOWN) {} |
15 | 15 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 ImageCaptureFormat::ImageCaptureFormat() : pixel_format(PIXEL_FORMAT_UNKNOWN) { | 105 ImageCaptureFormat::ImageCaptureFormat() : pixel_format(PIXEL_FORMAT_UNKNOWN) { |
106 } | 106 } |
107 | 107 |
108 ImageCaptureFormat::ImageCaptureFormat(const gfx::Size& frame_size, | 108 ImageCaptureFormat::ImageCaptureFormat(const gfx::Size& frame_size, |
109 VideoPixelFormat pixel_format) | 109 VideoPixelFormat pixel_format) |
110 : frame_size(frame_size), pixel_format(pixel_format) { | 110 : frame_size(frame_size), pixel_format(pixel_format) { |
111 } | 111 } |
112 | 112 |
113 } // namespace media | 113 } // namespace media |
OLD | NEW |