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

Side by Side Diff: media/video/video_decode_accelerator.h

Issue 1731403002: media: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « media/formats/webm/webm_cluster_parser.cc ('k') | media/video/video_decode_accelerator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 20 matching lines...) Expand all
31 SupportedProfile(); 31 SupportedProfile();
32 ~SupportedProfile(); 32 ~SupportedProfile();
33 VideoCodecProfile profile; 33 VideoCodecProfile profile;
34 gfx::Size max_resolution; 34 gfx::Size max_resolution;
35 gfx::Size min_resolution; 35 gfx::Size min_resolution;
36 }; 36 };
37 using SupportedProfiles = std::vector<SupportedProfile>; 37 using SupportedProfiles = std::vector<SupportedProfile>;
38 38
39 struct MEDIA_EXPORT Capabilities { 39 struct MEDIA_EXPORT Capabilities {
40 Capabilities(); 40 Capabilities();
41 Capabilities(const Capabilities& other);
41 ~Capabilities(); 42 ~Capabilities();
42 43
43 std::string AsHumanReadableString() const; 44 std::string AsHumanReadableString() const;
44 45
45 // Flags that can be associated with a VDA. 46 // Flags that can be associated with a VDA.
46 enum Flags { 47 enum Flags {
47 NO_FLAGS = 0, 48 NO_FLAGS = 0,
48 49
49 // Normally, the VDA is required to be able to provide all PictureBuffers 50 // Normally, the VDA is required to be able to provide all PictureBuffers
50 // to the client via PictureReady(), even if the client does not return 51 // to the client via PictureReady(), even if the client does not return
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // Specialize std::default_delete so that scoped_ptr<VideoDecodeAccelerator> 251 // Specialize std::default_delete so that scoped_ptr<VideoDecodeAccelerator>
251 // uses "Destroy()" instead of trying to use the destructor. 252 // uses "Destroy()" instead of trying to use the destructor.
252 template <> 253 template <>
253 struct MEDIA_EXPORT default_delete<media::VideoDecodeAccelerator> { 254 struct MEDIA_EXPORT default_delete<media::VideoDecodeAccelerator> {
254 void operator()(media::VideoDecodeAccelerator* vda) const; 255 void operator()(media::VideoDecodeAccelerator* vda) const;
255 }; 256 };
256 257
257 } // namespace std 258 } // namespace std
258 259
259 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 260 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « media/formats/webm/webm_cluster_parser.cc ('k') | media/video/video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698