| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |