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

Side by Side Diff: media/video/video_encode_accelerator.cc

Issue 2427053002: Move video encode accelerator IPC messages to GPU IO thread (Closed)
Patch Set: Fix log order. Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "media/video/video_encode_accelerator.h" 5 #include "media/video/video_encode_accelerator.h"
6 6
7 namespace media { 7 namespace media {
8 8
9 VideoEncodeAccelerator::~VideoEncodeAccelerator() {} 9 VideoEncodeAccelerator::~VideoEncodeAccelerator() {}
10 10
11 VideoEncodeAccelerator::SupportedProfile::SupportedProfile() 11 VideoEncodeAccelerator::SupportedProfile::SupportedProfile()
12 : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN), 12 : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN),
13 max_framerate_numerator(0), 13 max_framerate_numerator(0),
14 max_framerate_denominator(0) { 14 max_framerate_denominator(0) {
15 } 15 }
16 16
17 VideoEncodeAccelerator::SupportedProfile::~SupportedProfile() { 17 VideoEncodeAccelerator::SupportedProfile::~SupportedProfile() {
18 } 18 }
19 19
20 bool VideoEncodeAccelerator::TryToSetupEncodeOnSeparateThread(
21 const base::WeakPtr<Client>& encode_client,
22 const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) {
Pawel Osciak 2016/10/25 01:44:05 encode_task_runner ?
emircan 2016/10/25 21:57:51 Done.
23 return false;
24 }
25
20 } // namespace media 26 } // namespace media
21 27
22 namespace std { 28 namespace std {
23 29
24 void default_delete<media::VideoEncodeAccelerator>::operator()( 30 void default_delete<media::VideoEncodeAccelerator>::operator()(
25 media::VideoEncodeAccelerator* vea) const { 31 media::VideoEncodeAccelerator* vea) const {
26 vea->Destroy(); 32 vea->Destroy();
27 } 33 }
28 34
29 } // namespace std 35 } // namespace std
OLDNEW
« media/video/video_encode_accelerator.h ('K') | « media/video/video_encode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698