Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: media/video/capture/video_capture_types.cc

Issue 91343002: Added supported formats caching to VideoCaptureManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perkj@ nits Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/video/capture/video_capture_types.h"
6 6
7 #include "media/base/limits.h" 7 #include "media/base/limits.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 13 matching lines...) Expand all
24 (frame_size.GetArea() > 0) && 24 (frame_size.GetArea() > 0) &&
25 (frame_size.GetArea() < media::limits::kMaxCanvas) && 25 (frame_size.GetArea() < media::limits::kMaxCanvas) &&
26 (frame_rate > 0) && 26 (frame_rate > 0) &&
27 (frame_rate < media::limits::kMaxFramesPerSecond) && 27 (frame_rate < media::limits::kMaxFramesPerSecond) &&
28 (pixel_format >= PIXEL_FORMAT_UNKNOWN) && 28 (pixel_format >= PIXEL_FORMAT_UNKNOWN) &&
29 (pixel_format < PIXEL_FORMAT_MAX); 29 (pixel_format < PIXEL_FORMAT_MAX);
30 } 30 }
31 31
32 VideoCaptureParams::VideoCaptureParams() : allow_resolution_change(false) {} 32 VideoCaptureParams::VideoCaptureParams() : allow_resolution_change(false) {}
33 33
34 VideoCaptureCapability::VideoCaptureCapability() {}
35
36 } // namespace media 34 } // namespace media
OLDNEW
« no previous file with comments | « media/video/capture/video_capture_types.h ('k') | media/video/capture/win/video_capture_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698