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

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

Issue 10823063: Make h264_parser_unittest compilable under linux. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix up dependency. 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
« no previous file with comments | « no previous file | content/content_tests.gypi » ('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 // 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 int slice_beta_offset_div2; 215 int slice_beta_offset_div2;
216 }; 216 };
217 217
218 struct H264SEIRecoveryPoint { 218 struct H264SEIRecoveryPoint {
219 int recovery_frame_cnt; 219 int recovery_frame_cnt;
220 bool exact_match_flag; 220 bool exact_match_flag;
221 bool broken_link_flag; 221 bool broken_link_flag;
222 int changing_slice_group_idc; 222 int changing_slice_group_idc;
223 }; 223 };
224 224
225 struct H264SEIMessage { 225 struct CONTENT_EXPORT H264SEIMessage {
226 H264SEIMessage(); 226 H264SEIMessage();
227 227
228 enum Type { 228 enum Type {
229 kSEIRecoveryPoint = 6, 229 kSEIRecoveryPoint = 6,
230 }; 230 };
231 231
232 int type; 232 int type;
233 int payload_size; 233 int payload_size;
234 union { 234 union {
235 // Placeholder; in future more supported types will contribute to more 235 // Placeholder; in future more supported types will contribute to more
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 typedef std::map<int, H264PPS*> PPSById; 399 typedef std::map<int, H264PPS*> PPSById;
400 SPSById active_SPSes_; 400 SPSById active_SPSes_;
401 PPSById active_PPSes_; 401 PPSById active_PPSes_;
402 402
403 DISALLOW_COPY_AND_ASSIGN(H264Parser); 403 DISALLOW_COPY_AND_ASSIGN(H264Parser);
404 }; 404 };
405 405
406 } // namespace content 406 } // namespace content
407 407
408 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 408 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698