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

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

Issue 1867153002: content: 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, 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 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 #include <algorithm> 5 #include <algorithm>
6 6
7 #include <CoreVideo/CoreVideo.h> 7 #include <CoreVideo/CoreVideo.h>
8 #include <OpenGL/CGLIOSurface.h> 8 #include <OpenGL/CGLIOSurface.h>
9 #include <OpenGL/gl.h> 9 #include <OpenGL/gl.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 CMTime presentation_time_stamp, 243 CMTime presentation_time_stamp,
244 CMTime presentation_duration) { 244 CMTime presentation_duration) {
245 VTVideoDecodeAccelerator* vda = 245 VTVideoDecodeAccelerator* vda =
246 reinterpret_cast<VTVideoDecodeAccelerator*>(decompression_output_refcon); 246 reinterpret_cast<VTVideoDecodeAccelerator*>(decompression_output_refcon);
247 vda->Output(source_frame_refcon, status, image_buffer); 247 vda->Output(source_frame_refcon, status, image_buffer);
248 } 248 }
249 249
250 VTVideoDecodeAccelerator::Task::Task(TaskType type) : type(type) { 250 VTVideoDecodeAccelerator::Task::Task(TaskType type) : type(type) {
251 } 251 }
252 252
253 VTVideoDecodeAccelerator::Task::Task(const Task& other) = default;
254
253 VTVideoDecodeAccelerator::Task::~Task() { 255 VTVideoDecodeAccelerator::Task::~Task() {
254 } 256 }
255 257
256 VTVideoDecodeAccelerator::Frame::Frame(int32_t bitstream_id) 258 VTVideoDecodeAccelerator::Frame::Frame(int32_t bitstream_id)
257 : bitstream_id(bitstream_id), 259 : bitstream_id(bitstream_id),
258 pic_order_cnt(0), 260 pic_order_cnt(0),
259 is_idr(false), 261 is_idr(false),
260 reorder_window(0) { 262 reorder_window(0) {
261 } 263 }
262 264
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 SupportedProfile profile; 1145 SupportedProfile profile;
1144 profile.profile = supported_profile; 1146 profile.profile = supported_profile;
1145 profile.min_resolution.SetSize(16, 16); 1147 profile.min_resolution.SetSize(16, 16);
1146 profile.max_resolution.SetSize(4096, 2160); 1148 profile.max_resolution.SetSize(4096, 2160);
1147 profiles.push_back(profile); 1149 profiles.push_back(profile);
1148 } 1150 }
1149 return profiles; 1151 return profiles;
1150 } 1152 }
1151 1153
1152 } // namespace content 1154 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/vt_video_decode_accelerator_mac.h ('k') | content/common/text_input_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698