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

Side by Side Diff: content/common/gpu/media/vaapi_h264_decoder.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_parser.cc ('k') | content/common/gpu/media/vaapi_h264_decoder.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 a class that provides H264 decode 5 // This file contains an implementation of a class that provides H264 decode
6 // support for use with VAAPI hardware video decode acceleration on Intel 6 // support for use with VAAPI hardware video decode acceleration on Intel
7 // systems. 7 // systems.
8 8
9 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_ 9 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_
10 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_ 10 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 // Global state values, needed in decoding. See spec. 263 // Global state values, needed in decoding. See spec.
264 int max_pic_order_cnt_lsb_; 264 int max_pic_order_cnt_lsb_;
265 int max_frame_num_; 265 int max_frame_num_;
266 int max_pic_num_; 266 int max_pic_num_;
267 int max_long_term_frame_idx_; 267 int max_long_term_frame_idx_;
268 268
269 int frame_num_; 269 int frame_num_;
270 int prev_frame_num_; 270 int prev_frame_num_;
271 int prev_frame_num_offset_; 271 int prev_frame_num_offset_;
272 bool prev_has_memmgmnt5_;
272 273
273 // Values related to previously decoded reference picture. 274 // Values related to previously decoded reference picture.
274 bool prev_ref_has_memmgmnt5_; 275 bool prev_ref_has_memmgmnt5_;
275 int prev_ref_top_field_order_cnt_; 276 int prev_ref_top_field_order_cnt_;
276 int prev_ref_pic_order_cnt_msb_; 277 int prev_ref_pic_order_cnt_msb_;
277 int prev_ref_pic_order_cnt_lsb_; 278 int prev_ref_pic_order_cnt_lsb_;
278 H264Picture::Field prev_ref_field_; 279 H264Picture::Field prev_ref_field_;
279 280
280 // Currently active SPS and PPS. 281 // Currently active SPS and PPS.
281 int curr_sps_id_; 282 int curr_sps_id_;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 344
344 // Has static initialization of pre-sandbox components completed successfully? 345 // Has static initialization of pre-sandbox components completed successfully?
345 static bool pre_sandbox_init_done_; 346 static bool pre_sandbox_init_done_;
346 347
347 DISALLOW_COPY_AND_ASSIGN(VaapiH264Decoder); 348 DISALLOW_COPY_AND_ASSIGN(VaapiH264Decoder);
348 }; 349 };
349 350
350 } // namespace content 351 } // namespace content
351 352
352 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_ 353 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_H264_DECODER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/h264_parser.cc ('k') | content/common/gpu/media/vaapi_h264_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698