OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_GPU_VP8_DECODER_H_ | 5 #ifndef MEDIA_GPU_VP8_DECODER_H_ |
6 #define MEDIA_GPU_VP8_DECODER_H_ | 6 #define MEDIA_GPU_VP8_DECODER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 std::unique_ptr<Vp8FrameHeader> curr_frame_hdr_; | 92 std::unique_ptr<Vp8FrameHeader> curr_frame_hdr_; |
93 scoped_refptr<VP8Picture> curr_pic_; | 93 scoped_refptr<VP8Picture> curr_pic_; |
94 scoped_refptr<VP8Picture> last_frame_; | 94 scoped_refptr<VP8Picture> last_frame_; |
95 scoped_refptr<VP8Picture> golden_frame_; | 95 scoped_refptr<VP8Picture> golden_frame_; |
96 scoped_refptr<VP8Picture> alt_frame_; | 96 scoped_refptr<VP8Picture> alt_frame_; |
97 | 97 |
98 const uint8_t* curr_frame_start_; | 98 const uint8_t* curr_frame_start_; |
99 size_t frame_size_; | 99 size_t frame_size_; |
100 | 100 |
101 gfx::Size pic_size_; | 101 gfx::Size pic_size_; |
| 102 gfx::Rect visible_rect_; |
102 int horizontal_scale_; | 103 int horizontal_scale_; |
103 int vertical_scale_; | 104 int vertical_scale_; |
104 | 105 |
105 VP8Accelerator* accelerator_; | 106 VP8Accelerator* accelerator_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(VP8Decoder); | 108 DISALLOW_COPY_AND_ASSIGN(VP8Decoder); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace media | 111 } // namespace media |
111 | 112 |
112 #endif // MEDIA_GPU_VP8_DECODER_H_ | 113 #endif // MEDIA_GPU_VP8_DECODER_H_ |
OLD | NEW |