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

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

Issue 862403005: Mechanical rename of tracing includes for /content [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 (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.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> 11 #include <ks.h>
12 #include <codecapi.h> 12 #include <codecapi.h>
13 #include <mfapi.h> 13 #include <mfapi.h>
14 #include <mferror.h> 14 #include <mferror.h>
15 #include <wmcodecdsp.h> 15 #include <wmcodecdsp.h>
16 16
17 #include "base/base_paths_win.h" 17 #include "base/base_paths_win.h"
18 #include "base/bind.h" 18 #include "base/bind.h"
19 #include "base/callback.h" 19 #include "base/callback.h"
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/debug/trace_event.h"
22 #include "base/file_version_info.h" 21 #include "base/file_version_info.h"
23 #include "base/files/file_path.h" 22 #include "base/files/file_path.h"
24 #include "base/logging.h" 23 #include "base/logging.h"
25 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
26 #include "base/memory/shared_memory.h" 25 #include "base/memory/shared_memory.h"
27 #include "base/message_loop/message_loop.h" 26 #include "base/message_loop/message_loop.h"
28 #include "base/path_service.h" 27 #include "base/path_service.h"
28 #include "base/trace_event/trace_event.h"
29 #include "base/win/windows_version.h" 29 #include "base/win/windows_version.h"
30 #include "media/video/video_decode_accelerator.h" 30 #include "media/video/video_decode_accelerator.h"
31 #include "ui/gl/gl_bindings.h" 31 #include "ui/gl/gl_bindings.h"
32 #include "ui/gl/gl_surface_egl.h" 32 #include "ui/gl/gl_surface_egl.h"
33 #include "ui/gl/gl_switches.h" 33 #include "ui/gl/gl_switches.h"
34 34
35 namespace { 35 namespace {
36 36
37 // Path is appended on to the PROGRAM_FILES base path. 37 // Path is appended on to the PROGRAM_FILES base path.
38 const wchar_t kVPXDecoderDLLPath[] = L"Intel\\Media SDK\\"; 38 const wchar_t kVPXDecoderDLLPath[] = L"Intel\\Media SDK\\";
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 FROM_HERE, 1620 FROM_HERE,
1621 base::Bind(&DXVAVideoDecodeAccelerator::CopySurfaceComplete, 1621 base::Bind(&DXVAVideoDecodeAccelerator::CopySurfaceComplete,
1622 weak_this_factory_.GetWeakPtr(), 1622 weak_this_factory_.GetWeakPtr(),
1623 src_surface, 1623 src_surface,
1624 dest_surface, 1624 dest_surface,
1625 picture_buffer_id, 1625 picture_buffer_id,
1626 input_buffer_id)); 1626 input_buffer_id));
1627 } 1627 }
1628 1628
1629 } // namespace content 1629 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface.cc ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698