| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 ImageCaptureFormat::ImageCaptureFormat() : pixel_format(PIXEL_FORMAT_UNKNOWN) { | 75 ImageCaptureFormat::ImageCaptureFormat() : pixel_format(PIXEL_FORMAT_UNKNOWN) { |
| 76 } | 76 } |
| 77 | 77 |
| 78 ImageCaptureFormat::ImageCaptureFormat(const gfx::Size& frame_size, | 78 ImageCaptureFormat::ImageCaptureFormat(const gfx::Size& frame_size, |
| 79 VideoPixelFormat pixel_format) | 79 VideoPixelFormat pixel_format) |
| 80 : frame_size(frame_size), pixel_format(pixel_format) { | 80 : frame_size(frame_size), pixel_format(pixel_format) { |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace media | 83 } // namespace media |
| OLD | NEW |