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

Side by Side Diff: media/gpu/h264_dpb.cc

Issue 2061823003: media: Drop "media::" in media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work around clang format by adding an empty line Created 4 years, 6 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/gpu/h264_dpb.h ('k') | media/gpu/ipc/common/create_video_encoder_params.h » ('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 #include <string.h> 5 #include <string.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 10 matching lines...) Expand all
21 pic_order_cnt_lsb(0), 21 pic_order_cnt_lsb(0),
22 delta_pic_order_cnt_bottom(0), 22 delta_pic_order_cnt_bottom(0),
23 delta_pic_order_cnt0(0), 23 delta_pic_order_cnt0(0),
24 delta_pic_order_cnt1(0), 24 delta_pic_order_cnt1(0),
25 pic_num(0), 25 pic_num(0),
26 long_term_pic_num(0), 26 long_term_pic_num(0),
27 frame_num(0), 27 frame_num(0),
28 frame_num_offset(0), 28 frame_num_offset(0),
29 frame_num_wrap(0), 29 frame_num_wrap(0),
30 long_term_frame_idx(0), 30 long_term_frame_idx(0),
31 type(media::H264SliceHeader::kPSlice), 31 type(H264SliceHeader::kPSlice),
32 nal_ref_idc(0), 32 nal_ref_idc(0),
33 idr(false), 33 idr(false),
34 idr_pic_id(0), 34 idr_pic_id(0),
35 ref(false), 35 ref(false),
36 long_term(false), 36 long_term(false),
37 outputted(false), 37 outputted(false),
38 mem_mgmt_5(false), 38 mem_mgmt_5(false),
39 nonexisting(false), 39 nonexisting(false),
40 field(FIELD_NONE), 40 field(FIELD_NONE),
41 long_term_reference_flag(false), 41 long_term_reference_flag(false),
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 166
167 void H264DPB::GetLongTermRefPicsAppending(H264Picture::Vector* out) { 167 void H264DPB::GetLongTermRefPicsAppending(H264Picture::Vector* out) {
168 for (const auto& pic : pics_) { 168 for (const auto& pic : pics_) {
169 if (pic->ref && pic->long_term) 169 if (pic->ref && pic->long_term)
170 out->push_back(pic); 170 out->push_back(pic);
171 } 171 }
172 } 172 }
173 173
174 } // namespace media 174 } // namespace media
OLDNEW
« no previous file with comments | « media/gpu/h264_dpb.h ('k') | media/gpu/ipc/common/create_video_encoder_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698