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

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

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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/vaapi_video_decode_accelerator.h" 5 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory>
10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
13 #include "base/stl_util.h" 15 #include "base/stl_util.h"
14 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
15 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
16 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
17 #include "content/common/gpu/media/accelerated_video_decoder.h" 19 #include "content/common/gpu/media/accelerated_video_decoder.h"
18 #include "content/common/gpu/media/h264_decoder.h" 20 #include "content/common/gpu/media/h264_decoder.h"
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 return vaapi_pic->dec_surface(); 1757 return vaapi_pic->dec_surface();
1756 } 1758 }
1757 1759
1758 // static 1760 // static
1759 media::VideoDecodeAccelerator::SupportedProfiles 1761 media::VideoDecodeAccelerator::SupportedProfiles
1760 VaapiVideoDecodeAccelerator::GetSupportedProfiles() { 1762 VaapiVideoDecodeAccelerator::GetSupportedProfiles() {
1761 return VaapiWrapper::GetSupportedDecodeProfiles(); 1763 return VaapiWrapper::GetSupportedDecodeProfiles();
1762 } 1764 }
1763 1765
1764 } // namespace content 1766 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/vaapi_video_decode_accelerator.h ('k') | content/common/gpu/media/vaapi_video_encode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698