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

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

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_ 5 #ifndef MEDIA_GPU_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_
6 #define MEDIA_GPU_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_ 6 #define MEDIA_GPU_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_
7 7
8 #include <mfapi.h> 8 #include <mfapi.h>
9 #include <mfidl.h> 9 #include <mfidl.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <strmif.h> 11 #include <strmif.h>
12 12
13 #include <deque> 13 #include <deque>
14 #include <memory> 14 #include <memory>
15 15
16 #include "base/bind.h"
16 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
17 #include "base/sequenced_task_runner.h" 18 #include "base/sequenced_task_runner.h"
18 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/threading/thread.h"
19 #include "base/threading/thread_checker.h" 21 #include "base/threading/thread_checker.h"
20 #include "base/win/scoped_comptr.h" 22 #include "base/win/scoped_comptr.h"
21 #include "media/gpu/media_gpu_export.h" 23 #include "media/gpu/media_gpu_export.h"
22 #include "media/video/video_encode_accelerator.h" 24 #include "media/video/video_encode_accelerator.h"
23 25
24 namespace media { 26 namespace media {
25 27
26 // Media Foundation implementation of the VideoEncodeAccelerator interface for 28 // Media Foundation implementation of the VideoEncodeAccelerator interface for
27 // Windows. 29 // Windows.
28 // This class saves the task runner on which it is constructed and returns 30 // This class saves the task runner on which it is constructed and returns
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Declared last to ensure that all weak pointers are invalidated before 143 // Declared last to ensure that all weak pointers are invalidated before
142 // other destructors run. 144 // other destructors run.
143 base::WeakPtrFactory<MediaFoundationVideoEncodeAccelerator> 145 base::WeakPtrFactory<MediaFoundationVideoEncodeAccelerator>
144 encoder_task_weak_factory_; 146 encoder_task_weak_factory_;
145 147
146 DISALLOW_COPY_AND_ASSIGN(MediaFoundationVideoEncodeAccelerator); 148 DISALLOW_COPY_AND_ASSIGN(MediaFoundationVideoEncodeAccelerator);
147 }; 149 };
148 150
149 } // namespace media 151 } // namespace media
150 152
151 #endif // MEDIA_GPU_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_ 153 #endif // MEDIA_GPU_MEDIA_FOUNDATION_VIDEO_ENCODE_ACCELERATOR_WIN_H_
OLDNEW
« no previous file with comments | « media/filters/vpx_video_decoder_fuzzertest.cc ('k') | media/gpu/media_foundation_video_encode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698