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

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

Issue 806413004: Plumb allow_overlay flag for video path into cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed v4l2 Created 5 years, 10 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
« 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, 25 Picture::Picture(int32 picture_buffer_id,
26 int32 bitstream_buffer_id, 26 int32 bitstream_buffer_id,
27 const gfx::Rect& visible_rect) 27 const gfx::Rect& visible_rect,
28 bool allow_overlay)
28 : picture_buffer_id_(picture_buffer_id), 29 : picture_buffer_id_(picture_buffer_id),
29 bitstream_buffer_id_(bitstream_buffer_id), 30 bitstream_buffer_id_(bitstream_buffer_id),
30 visible_rect_(visible_rect) { 31 visible_rect_(visible_rect),
32 allow_overlay_(allow_overlay) {
31 } 33 }
32 34
33 } // namespace media 35 } // 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