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

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

Issue 10411085: Build AVC decoder configuration record (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | 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 <map> 10 #include <map>
(...skipping 28 matching lines...) Expand all
39 int nal_ref_idc; 39 int nal_ref_idc;
40 int nal_unit_type; 40 int nal_unit_type;
41 }; 41 };
42 42
43 enum { kH264ScalingList4x4Length = 16, kH264ScalingList8x8Length = 64, }; 43 enum { kH264ScalingList4x4Length = 16, kH264ScalingList8x8Length = 64, };
44 44
45 struct H264SPS { 45 struct H264SPS {
46 H264SPS(); 46 H264SPS();
47 47
48 int profile_idc; 48 int profile_idc;
49 int constraint_setx_flag;
49 int level_idc; 50 int level_idc;
50 int seq_parameter_set_id; 51 int seq_parameter_set_id;
51 52
52 int chroma_format_idc; 53 int chroma_format_idc;
53 bool separate_colour_plane_flag; 54 bool separate_colour_plane_flag;
54 int bit_depth_luma_minus8; 55 int bit_depth_luma_minus8;
55 int bit_depth_chroma_minus8; 56 int bit_depth_chroma_minus8;
56 bool qpprime_y_zero_transform_bypass_flag; 57 bool qpprime_y_zero_transform_bypass_flag;
57 58
58 bool seq_scaling_matrix_present_flag; 59 bool seq_scaling_matrix_present_flag;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 SPSById active_SPSes_; 398 SPSById active_SPSes_;
398 PPSById active_PPSes_; 399 PPSById active_PPSes_;
399 400
400 DISALLOW_COPY_AND_ASSIGN(H264Parser); 401 DISALLOW_COPY_AND_ASSIGN(H264Parser);
401 }; 402 };
402 403
403 } // namespace content 404 } // namespace content
404 405
405 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 406 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
406 407
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698