OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "base/macros.h" | 5 #include "base/macros.h" |
6 #include "media/video/picture.h" | 6 #include "media/video/picture.h" |
7 | 7 |
8 namespace media { | 8 namespace media { |
9 | 9 |
10 PictureBuffer::PictureBuffer(int32_t id, const gfx::Size& size) | 10 PictureBuffer::PictureBuffer(int32_t id, const gfx::Size& size) |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Picture::Picture(int32_t picture_buffer_id, | 59 Picture::Picture(int32_t picture_buffer_id, |
60 int32_t bitstream_buffer_id, | 60 int32_t bitstream_buffer_id, |
61 const gfx::Rect& visible_rect, | 61 const gfx::Rect& visible_rect, |
62 const gfx::ColorSpace& color_space, | 62 const gfx::ColorSpace& color_space, |
63 bool allow_overlay) | 63 bool allow_overlay) |
64 : picture_buffer_id_(picture_buffer_id), | 64 : picture_buffer_id_(picture_buffer_id), |
65 bitstream_buffer_id_(bitstream_buffer_id), | 65 bitstream_buffer_id_(bitstream_buffer_id), |
66 visible_rect_(visible_rect), | 66 visible_rect_(visible_rect), |
67 color_space_(color_space), | 67 color_space_(color_space), |
68 allow_overlay_(allow_overlay), | 68 allow_overlay_(allow_overlay), |
69 size_changed_(false) {} | 69 size_changed_(false), |
| 70 surface_texture_(false), |
| 71 wants_promotion_hint_(false) {} |
70 | 72 |
71 } // namespace media | 73 } // namespace media |
OLD | NEW |