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

Side by Side Diff: media/formats/webm/tracks_builder.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/filters/video_renderer_algorithm.cc ('k') | media/formats/webm/tracks_builder.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FORMATS_WEBM_TRACKS_BUILDER_H_ 5 #ifndef MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
6 #define MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_ 6 #define MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 uint64_t track_uid, 76 uint64_t track_uid,
77 const std::string& codec_id, 77 const std::string& codec_id,
78 const std::string& name, 78 const std::string& name,
79 const std::string& language, 79 const std::string& language,
80 int default_duration, 80 int default_duration,
81 int video_pixel_width, 81 int video_pixel_width,
82 int video_pixel_height, 82 int video_pixel_height,
83 int audio_channels, 83 int audio_channels,
84 double audio_sampling_frequency, 84 double audio_sampling_frequency,
85 bool allow_invalid_values); 85 bool allow_invalid_values);
86 Track(const Track& other);
86 87
87 int GetSize() const; 88 int GetSize() const;
88 void Write(uint8_t** buf, int* buf_size) const; 89 void Write(uint8_t** buf, int* buf_size) const;
89 90
90 private: 91 private:
91 int GetPayloadSize() const; 92 int GetPayloadSize() const;
92 int GetVideoPayloadSize() const; 93 int GetVideoPayloadSize() const;
93 int GetAudioPayloadSize() const; 94 int GetAudioPayloadSize() const;
94 95
95 int track_num_; 96 int track_num_;
(...skipping 12 matching lines...) Expand all
108 typedef std::list<Track> TrackList; 109 typedef std::list<Track> TrackList;
109 TrackList tracks_; 110 TrackList tracks_;
110 bool allow_invalid_values_; 111 bool allow_invalid_values_;
111 112
112 DISALLOW_COPY_AND_ASSIGN(TracksBuilder); 113 DISALLOW_COPY_AND_ASSIGN(TracksBuilder);
113 }; 114 };
114 115
115 } // namespace media 116 } // namespace media
116 117
117 #endif // MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_ 118 #endif // MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
OLDNEW
« no previous file with comments | « media/filters/video_renderer_algorithm.cc ('k') | media/formats/webm/tracks_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698