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 an H.264 Decoded Picture Buffer | 5 // This file contains an implementation of an H.264 Decoded Picture Buffer |
6 // used in H264 decoders. | 6 // used in H264 decoders. |
7 | 7 |
8 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ | 8 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ |
9 #define CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ | 9 #define CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 // CamelCase in spec to Chromium-style names). | 30 // CamelCase in spec to Chromium-style names). |
31 int top_field_order_cnt; | 31 int top_field_order_cnt; |
32 int bottom_field_order_cnt; | 32 int bottom_field_order_cnt; |
33 int pic_order_cnt; | 33 int pic_order_cnt; |
34 int pic_order_cnt_msb; | 34 int pic_order_cnt_msb; |
35 int pic_order_cnt_lsb; | 35 int pic_order_cnt_lsb; |
36 | 36 |
37 int pic_num; | 37 int pic_num; |
38 int long_term_pic_num; | 38 int long_term_pic_num; |
39 int frame_num; // from slice header | 39 int frame_num; // from slice header |
| 40 int frame_num_offset; |
40 int frame_num_wrap; | 41 int frame_num_wrap; |
41 int long_term_frame_idx; | 42 int long_term_frame_idx; |
42 | 43 |
43 bool idr; // IDR picture? | 44 bool idr; // IDR picture? |
44 bool ref; // reference picture? | 45 bool ref; // reference picture? |
45 bool long_term; // long term reference picture? | 46 bool long_term; // long term reference picture? |
46 bool outputted; | 47 bool outputted; |
47 // Does memory management op 5 needs to be executed after this | 48 // Does memory management op 5 needs to be executed after this |
48 // picture has finished decoding? | 49 // picture has finished decoding? |
49 bool mem_mgmt_5; | 50 bool mem_mgmt_5; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 122 |
122 private: | 123 private: |
123 Pictures pics_; | 124 Pictures pics_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(H264DPB); | 126 DISALLOW_COPY_AND_ASSIGN(H264DPB); |
126 }; | 127 }; |
127 | 128 |
128 } // namespace content | 129 } // namespace content |
129 | 130 |
130 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ | 131 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ |
OLD | NEW |