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

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

Issue 10874023: VAVDA: Add support for POC type 1 and 2 (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
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
« no previous file with comments | « content/common/gpu/media/h264_dpb.h ('k') | content/common/gpu/media/h264_parser.cc » ('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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int scaling_list4x4[6][kH264ScalingList4x4Length]; 63 int scaling_list4x4[6][kH264ScalingList4x4Length];
64 int scaling_list8x8[6][kH264ScalingList8x8Length]; 64 int scaling_list8x8[6][kH264ScalingList8x8Length];
65 65
66 int log2_max_frame_num_minus4; 66 int log2_max_frame_num_minus4;
67 int pic_order_cnt_type; 67 int pic_order_cnt_type;
68 int log2_max_pic_order_cnt_lsb_minus4; 68 int log2_max_pic_order_cnt_lsb_minus4;
69 bool delta_pic_order_always_zero_flag; 69 bool delta_pic_order_always_zero_flag;
70 int offset_for_non_ref_pic; 70 int offset_for_non_ref_pic;
71 int offset_for_top_to_bottom_field; 71 int offset_for_top_to_bottom_field;
72 int num_ref_frames_in_pic_order_cnt_cycle; 72 int num_ref_frames_in_pic_order_cnt_cycle;
73 int expected_delta_per_pic_order_cnt_cycle; // calculated
73 int offset_for_ref_frame[255]; 74 int offset_for_ref_frame[255];
74 int max_num_ref_frames; 75 int max_num_ref_frames;
75 bool gaps_in_frame_num_value_allowed_flag; 76 bool gaps_in_frame_num_value_allowed_flag;
76 int pic_width_in_mbs_minus1; 77 int pic_width_in_mbs_minus1;
77 int pic_height_in_map_units_minus1; 78 int pic_height_in_map_units_minus1;
78 bool frame_mbs_only_flag; 79 bool frame_mbs_only_flag;
79 bool mb_adaptive_frame_field_flag; 80 bool mb_adaptive_frame_field_flag;
80 bool direct_8x8_inference_flag; 81 bool direct_8x8_inference_flag;
81 bool frame_cropping_flag; 82 bool frame_cropping_flag;
82 int frame_crop_left_offset; 83 int frame_crop_left_offset;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 typedef std::map<int, H264PPS*> PPSById; 346 typedef std::map<int, H264PPS*> PPSById;
346 SPSById active_SPSes_; 347 SPSById active_SPSes_;
347 PPSById active_PPSes_; 348 PPSById active_PPSes_;
348 349
349 DISALLOW_COPY_AND_ASSIGN(H264Parser); 350 DISALLOW_COPY_AND_ASSIGN(H264Parser);
350 }; 351 };
351 352
352 } // namespace content 353 } // namespace content
353 354
354 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_ 355 #endif // CONTENT_COMMON_GPU_MEDIA_H264_PARSER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/h264_dpb.h ('k') | content/common/gpu/media/h264_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698