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

Side by Side Diff: media/capture/content/capture_resolution_chooser.h

Issue 2415703002: Move files video_capture*.* from media/base to media/capture (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/content/thread_safe_capture_oracle.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_ 5 #ifndef MEDIA_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_
6 #define MEDIA_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_ 6 #define MEDIA_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/base/video_capture_types.h"
11 #include "media/capture/capture_export.h" 10 #include "media/capture/capture_export.h"
11 #include "media/capture/video_capture_types.h"
12 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 // Encapsulates the logic that determines the capture frame resolution based on: 16 // Encapsulates the logic that determines the capture frame resolution based on:
17 // 1. The configured maximum frame resolution and resolution change policy. 17 // 1. The configured maximum frame resolution and resolution change policy.
18 // 2. Changes to resolution of the source content. 18 // 2. Changes to resolution of the source content.
19 // 3. Changes to the (externally-computed) target data volume, provided in 19 // 3. Changes to the (externally-computed) target data volume, provided in
20 // terms of the number of pixels in the frame. 20 // terms of the number of pixels in the frame.
21 // 21 //
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Cache of the set of possible values |capture_size_| can have, in order from 83 // Cache of the set of possible values |capture_size_| can have, in order from
84 // smallest to largest. This is recomputed whenever UpdateSnappedFrameSizes() 84 // smallest to largest. This is recomputed whenever UpdateSnappedFrameSizes()
85 // is called. 85 // is called.
86 std::vector<gfx::Size> snapped_sizes_; 86 std::vector<gfx::Size> snapped_sizes_;
87 }; 87 };
88 88
89 } // namespace media 89 } // namespace media
90 90
91 #endif // MEDIA_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_ 91 #endif // MEDIA_CAPTURE_CONTENT_CAPTURE_RESOLUTION_CHOOSER_H_
OLDNEW
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/content/thread_safe_capture_oracle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698