OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |