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

Side by Side Diff: content/common/gpu/media/h264_parser.h

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | Annotate | Revision Log
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 // This file contains an implementation of an H264 Annex-B video stream parser. 5 // This file contains an implementation of an H264 Annex-B video stream parser.
6 6
7 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 7 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
8 #define CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 8 #define CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
9 9
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 bool idr_pic_flag; // from NAL header 165 bool idr_pic_flag; // from NAL header
166 int nal_ref_idc; // from NAL header 166 int nal_ref_idc; // from NAL header
167 const uint8* nalu_data; // from NAL header 167 const uint8* nalu_data; // from NAL header
168 off_t nalu_size; // from NAL header 168 off_t nalu_size; // from NAL header
169 off_t header_bit_size; // calculated 169 off_t header_bit_size; // calculated
170 170
171 int first_mb_in_slice; 171 int first_mb_in_slice;
172 int slice_type; 172 int slice_type;
173 int pic_parameter_set_id; 173 int pic_parameter_set_id;
174 int colour_plane_id; 174 int colour_plane_id; // TODO(posciak): use this! http://crbug.com/139878
Ami GONE FROM CHROMIUM 2012/08/06 01:00:58 Just annotating to ease future analysis runs.
175 int frame_num; 175 int frame_num;
176 bool field_pic_flag; 176 bool field_pic_flag;
177 bool bottom_field_flag; 177 bool bottom_field_flag;
178 int idr_pic_id; 178 int idr_pic_id;
179 int pic_order_cnt_lsb; 179 int pic_order_cnt_lsb;
180 int delta_pic_order_cnt_bottom; 180 int delta_pic_order_cnt_bottom;
181 int delta_pic_order_cnt[2]; 181 int delta_pic_order_cnt[2];
182 int redundant_pic_cnt; 182 int redundant_pic_cnt;
183 bool direct_spatial_mv_pred_flag; 183 bool direct_spatial_mv_pred_flag;
184 184
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 typedef std::map<int, H264PPS*> PPSById; 345 typedef std::map<int, H264PPS*> PPSById;
346 SPSById active_SPSes_; 346 SPSById active_SPSes_;
347 PPSById active_PPSes_; 347 PPSById active_PPSes_;
348 348
349 DISALLOW_COPY_AND_ASSIGN(H264Parser); 349 DISALLOW_COPY_AND_ASSIGN(H264Parser);
350 }; 350 };
351 351
352 } // namespace content 352 } // namespace content
353 353
354 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 354 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698