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

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

Issue 1474823002: content/common/gpu/media add platform suffix to some files (cleanup) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted naming video_encode_accelerator_unittest.cc; A few content/content_tests.gypi alphabetical… Created 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/gpu/media/dxva_video_decode_accelerator.h" 5 #include "content/common/gpu/media/dxva_video_decode_accelerator_win.h"
6 6
7 #if !defined(OS_WIN) 7 #if !defined(OS_WIN)
8 #error This file should only be built on Windows. 8 #error This file should only be built on Windows.
9 #endif // !defined(OS_WIN) 9 #endif // !defined(OS_WIN)
10 10
11 #include <ks.h>
12 #include <codecapi.h> 11 #include <codecapi.h>
13 #include <dxgi1_2.h> 12 #include <dxgi1_2.h>
13 #include <ks.h>
14 #include <mfapi.h> 14 #include <mfapi.h>
15 #include <mferror.h> 15 #include <mferror.h>
16 #include <ntverp.h> 16 #include <ntverp.h>
17 #include <wmcodecdsp.h> 17 #include <wmcodecdsp.h>
18 18
19 #include "base/base_paths_win.h" 19 #include "base/base_paths_win.h"
20 #include "base/bind.h" 20 #include "base/bind.h"
21 #include "base/callback.h" 21 #include "base/callback.h"
22 #include "base/command_line.h" 22 #include "base/command_line.h"
23 #include "base/debug/alias.h" 23 #include "base/debug/alias.h"
(...skipping 2260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 D3DSURFACE_DESC surface_desc; 2284 D3DSURFACE_DESC surface_desc;
2285 hr = surface->GetDesc(&surface_desc); 2285 hr = surface->GetDesc(&surface_desc);
2286 RETURN_ON_HR_FAILURE(hr, "Failed to get surface description", false); 2286 RETURN_ON_HR_FAILURE(hr, "Failed to get surface description", false);
2287 *width = surface_desc.Width; 2287 *width = surface_desc.Width;
2288 *height = surface_desc.Height; 2288 *height = surface_desc.Height;
2289 } 2289 }
2290 return true; 2290 return true;
2291 } 2291 }
2292 2292
2293 } // namespace content 2293 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/dxva_video_decode_accelerator_win.h ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698