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

Side by Side Diff: media/gpu/gpu_video_accelerator_util.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Squash and rebase Created 4 years, 7 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 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_GPU_IPC_COMMON_GPU_VIDEO_ACCELERATOR_UTIL_H_ 5 #ifndef MEDIA_GPU_GPU_VIDEO_ACCELERATOR_UTIL_H_
6 #define MEDIA_GPU_IPC_COMMON_GPU_VIDEO_ACCELERATOR_UTIL_H_ 6 #define MEDIA_GPU_GPU_VIDEO_ACCELERATOR_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "gpu/config/gpu_info.h" 10 #include "gpu/config/gpu_info.h"
11 #include "media/video/video_decode_accelerator.h" 11 #include "media/video/video_decode_accelerator.h"
12 #include "media/video/video_encode_accelerator.h" 12 #include "media/video/video_encode_accelerator.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class GpuVideoAcceleratorUtil { 16 class GpuVideoAcceleratorUtil {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Insert |new_profiles| into |media_profiles|, ensuring no duplicates are 54 // Insert |new_profiles| into |media_profiles|, ensuring no duplicates are
55 // inserted. 55 // inserted.
56 static void InsertUniqueEncodeProfiles( 56 static void InsertUniqueEncodeProfiles(
57 const VideoEncodeAccelerator::SupportedProfiles& new_profiles, 57 const VideoEncodeAccelerator::SupportedProfiles& new_profiles,
58 VideoEncodeAccelerator::SupportedProfiles* media_profiles); 58 VideoEncodeAccelerator::SupportedProfiles* media_profiles);
59 }; 59 };
60 60
61 } // namespace media 61 } // namespace media
62 62
63 #endif // MEDIA_GPU_IPC_COMMON_GPU_VIDEO_ACCELERATOR_UTIL_H_ 63 #endif // MEDIA_GPU_GPU_VIDEO_ACCELERATOR_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698