OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef MEDIA_BASE_VIDEO_FRAME_H_ | 5 #ifndef MEDIA_BASE_VIDEO_FRAME_H_ |
6 #define MEDIA_BASE_VIDEO_FRAME_H_ | 6 #define MEDIA_BASE_VIDEO_FRAME_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/md5.h" | 17 #include "base/md5.h" |
| 18 #include "base/memory/aligned_memory.h" |
18 #include "base/memory/shared_memory.h" | 19 #include "base/memory/shared_memory.h" |
19 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
20 #include "build/build_config.h" | 21 #include "build/build_config.h" |
21 #include "gpu/command_buffer/common/mailbox_holder.h" | 22 #include "gpu/command_buffer/common/mailbox_holder.h" |
22 #include "media/base/video_frame_metadata.h" | 23 #include "media/base/video_frame_metadata.h" |
23 #include "media/base/video_types.h" | 24 #include "media/base/video_types.h" |
24 #include "ui/gfx/color_space.h" | 25 #include "ui/gfx/color_space.h" |
25 #include "ui/gfx/geometry/rect.h" | 26 #include "ui/gfx/geometry/rect.h" |
26 #include "ui/gfx/geometry/size.h" | 27 #include "ui/gfx/geometry/size.h" |
27 | 28 |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 const int unique_id_; | 555 const int unique_id_; |
555 | 556 |
556 gfx::ColorSpace color_space_; | 557 gfx::ColorSpace color_space_; |
557 | 558 |
558 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); | 559 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
559 }; | 560 }; |
560 | 561 |
561 } // namespace media | 562 } // namespace media |
562 | 563 |
563 #endif // MEDIA_BASE_VIDEO_FRAME_H_ | 564 #endif // MEDIA_BASE_VIDEO_FRAME_H_ |
OLD | NEW |