Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: media/video/picture.cc

Issue 426873004: Pass decoded picture size from VDA to client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/video/picture.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 id, gfx::Size size, uint32 texture_id) 9 PictureBuffer::PictureBuffer(int32 id, gfx::Size size, uint32 texture_id)
10 : id_(id), 10 : id_(id),
11 size_(size), 11 size_(size),
12 texture_id_(texture_id) { 12 texture_id_(texture_id) {
13 } 13 }
14 14
15 PictureBuffer::PictureBuffer(int32 id, 15 PictureBuffer::PictureBuffer(int32 id,
16 gfx::Size size, 16 gfx::Size size,
17 uint32 texture_id, 17 uint32 texture_id,
18 const gpu::Mailbox& texture_mailbox) 18 const gpu::Mailbox& texture_mailbox)
19 : id_(id), 19 : id_(id),
20 size_(size), 20 size_(size),
21 texture_id_(texture_id), 21 texture_id_(texture_id),
22 texture_mailbox_(texture_mailbox) { 22 texture_mailbox_(texture_mailbox) {
23 } 23 }
24 24
25 Picture::Picture(int32 picture_buffer_id, int32 bitstream_buffer_id) 25 Picture::Picture(int32 picture_buffer_id,
26 int32 bitstream_buffer_id,
27 const gfx::Rect& visible_rect)
26 : picture_buffer_id_(picture_buffer_id), 28 : picture_buffer_id_(picture_buffer_id),
27 bitstream_buffer_id_(bitstream_buffer_id) { 29 bitstream_buffer_id_(bitstream_buffer_id),
30 visible_rect_(visible_rect) {
28 } 31 }
29 32
30 } // namespace media 33 } // namespace media
OLDNEW
« no previous file with comments | « media/video/picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698