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

Side by Side Diff: content/common/gpu/media/v4l2_device.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <libdrm/drm_fourcc.h> 5 #include <libdrm/drm_fourcc.h>
6 #include <linux/videodev2.h> 6 #include <linux/videodev2.h>
7 #include <string.h>
7 8
8 #include "base/numerics/safe_conversions.h" 9 #include "base/numerics/safe_conversions.h"
9 #include "build/build_config.h" 10 #include "build/build_config.h"
10 #include "content/common/gpu/media/generic_v4l2_device.h" 11 #include "content/common/gpu/media/generic_v4l2_device.h"
11 #if defined(ARCH_CPU_ARMEL) 12 #if defined(ARCH_CPU_ARMEL)
12 #include "content/common/gpu/media/tegra_v4l2_device.h" 13 #include "content/common/gpu/media/tegra_v4l2_device.h"
13 #endif 14 #endif
14 15
15 namespace content { 16 namespace content {
16 17
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 for (int media_profile = min_profile; media_profile <= max_profile; 296 for (int media_profile = min_profile; media_profile <= max_profile;
296 ++media_profile) { 297 ++media_profile) {
297 profile.profile = static_cast<media::VideoCodecProfile>(media_profile); 298 profile.profile = static_cast<media::VideoCodecProfile>(media_profile);
298 profiles.push_back(profile); 299 profiles.push_back(profile);
299 } 300 }
300 } 301 }
301 return profiles; 302 return profiles;
302 } 303 }
303 304
304 } // namespace content 305 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | content/common/gpu/media/v4l2_image_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698