| 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> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "base/callback.h" | 13 #include "base/callback.h" |
| 11 #include "base/macros.h" | 14 #include "base/macros.h" |
| 12 #include "base/md5.h" | 15 #include "base/md5.h" |
| 13 #include "base/memory/shared_memory.h" | 16 #include "base/memory/shared_memory.h" |
| 14 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "build/build_config.h" |
| 15 #include "gpu/command_buffer/common/mailbox_holder.h" | 19 #include "gpu/command_buffer/common/mailbox_holder.h" |
| 16 #include "media/base/video_frame_metadata.h" | 20 #include "media/base/video_frame_metadata.h" |
| 17 #include "media/base/video_types.h" | 21 #include "media/base/video_types.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
| 19 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
| 20 #include "ui/gfx/gpu_memory_buffer.h" | 24 #include "ui/gfx/gpu_memory_buffer.h" |
| 21 | 25 |
| 22 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
| 23 #include <CoreVideo/CVPixelBuffer.h> | 27 #include <CoreVideo/CVPixelBuffer.h> |
| 24 #include "base/mac/scoped_cftyperef.h" | 28 #include "base/mac/scoped_cftyperef.h" |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 gpu::SyncToken release_sync_token_; | 521 gpu::SyncToken release_sync_token_; |
| 518 | 522 |
| 519 VideoFrameMetadata metadata_; | 523 VideoFrameMetadata metadata_; |
| 520 | 524 |
| 521 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); | 525 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
| 522 }; | 526 }; |
| 523 | 527 |
| 524 } // namespace media | 528 } // namespace media |
| 525 | 529 |
| 526 #endif // MEDIA_BASE_VIDEO_FRAME_H_ | 530 #endif // MEDIA_BASE_VIDEO_FRAME_H_ |
| OLD | NEW |