1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
media / video / picture.cc [blame]
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/video/picture.h"
#include "base/check_op.h"
#include "base/logging.h"
namespace media {
PictureBuffer::PictureBuffer(int32_t id) : id_(id) {}
PictureBuffer::PictureBuffer(const PictureBuffer& other) = default;
PictureBuffer::~PictureBuffer() = default;
Picture::Picture(int32_t picture_buffer_id,
int32_t bitstream_buffer_id,
const gfx::Rect& visible_rect)
: picture_buffer_id_(picture_buffer_id),
bitstream_buffer_id_(bitstream_buffer_id),
visible_rect_(visible_rect) {}
Picture::Picture(const Picture& other) = default;
Picture::~Picture() = default;
} // namespace media