| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef MEDIA_VIDEO_H264_POC_H_ | 5 #ifndef MEDIA_VIDEO_H264_POC_H_ |
| 6 #define MEDIA_VIDEO_H264_POC_H_ | 6 #define MEDIA_VIDEO_H264_POC_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 // Reset computation state. It's best (although not strictly required) to call | 29 // Reset computation state. It's best (although not strictly required) to call |
| 30 // this after a seek. | 30 // this after a seek. |
| 31 void Reset(); | 31 void Reset(); |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 int32_t ref_pic_order_cnt_msb_; | 34 int32_t ref_pic_order_cnt_msb_; |
| 35 int32_t ref_pic_order_cnt_lsb_; | 35 int32_t ref_pic_order_cnt_lsb_; |
| 36 int32_t prev_frame_num_; | 36 int32_t prev_frame_num_; |
| 37 int32_t prev_frame_num_offset_; | 37 int32_t prev_frame_num_offset_; |
| 38 int32_t prev_poc_; |
| 38 | 39 |
| 39 DISALLOW_COPY_AND_ASSIGN(H264POC); | 40 DISALLOW_COPY_AND_ASSIGN(H264POC); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace media | 43 } // namespace media |
| 43 | 44 |
| 44 #endif // MEDIA_VIDEO_H264_POC_H_ | 45 #endif // MEDIA_VIDEO_H264_POC_H_ |
| OLD | NEW |