| 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 "media/video/picture.h" | 5 #include "media/video/picture.h" |
| 6 | 6 |
| 7 namespace media { | 7 namespace media { |
| 8 | 8 |
| 9 PictureBuffer::PictureBuffer(int32_t id, gfx::Size size, uint32_t texture_id) | 9 PictureBuffer::PictureBuffer(int32_t id, gfx::Size size, uint32_t texture_id) |
| 10 : id_(id), size_(size), texture_id_(texture_id), internal_texture_id_(0) {} | 10 : id_(id), size_(size), texture_id_(texture_id), internal_texture_id_(0) {} |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 internal_texture_id_(0), | 28 internal_texture_id_(0), |
| 29 texture_mailbox_(texture_mailbox) {} | 29 texture_mailbox_(texture_mailbox) {} |
| 30 | 30 |
| 31 Picture::Picture(int32_t picture_buffer_id, | 31 Picture::Picture(int32_t picture_buffer_id, |
| 32 int32_t bitstream_buffer_id, | 32 int32_t bitstream_buffer_id, |
| 33 const gfx::Rect& visible_rect, | 33 const gfx::Rect& visible_rect, |
| 34 bool allow_overlay) | 34 bool allow_overlay) |
| 35 : picture_buffer_id_(picture_buffer_id), | 35 : picture_buffer_id_(picture_buffer_id), |
| 36 bitstream_buffer_id_(bitstream_buffer_id), | 36 bitstream_buffer_id_(bitstream_buffer_id), |
| 37 visible_rect_(visible_rect), | 37 visible_rect_(visible_rect), |
| 38 allow_overlay_(allow_overlay) {} | 38 allow_overlay_(allow_overlay), |
| 39 size_changed_(false) {} |
| 39 | 40 |
| 40 } // namespace media | 41 } // namespace media |
| OLD | NEW |