OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/cast/test/fake_gpu_video_accelerator_factories.h" | 5 #include "media/cast/test/fake_gpu_video_accelerator_factories.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "media/cast/test/fake_video_encode_accelerator.h" | 8 #include "media/cast/test/fake_video_encode_accelerator.h" |
9 #include "media/video/video_decode_accelerator.h" | 9 #include "media/video/video_decode_accelerator.h" |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 uint32 FakeGpuVideoAcceleratorFactories::CreateTextures( | 40 uint32 FakeGpuVideoAcceleratorFactories::CreateTextures( |
41 int32 count, | 41 int32 count, |
42 const gfx::Size& size, | 42 const gfx::Size& size, |
43 std::vector<uint32>* texture_ids, | 43 std::vector<uint32>* texture_ids, |
44 std::vector<gpu::Mailbox>* texture_mailboxes, | 44 std::vector<gpu::Mailbox>* texture_mailboxes, |
45 uint32 texture_target) { | 45 uint32 texture_target) { |
46 return 0; | 46 return 0; |
47 } | 47 } |
48 | 48 |
| 49 uint32 FakeGpuVideoAcceleratorFactories::InsertSyncPoint() { |
| 50 return 0; |
| 51 } |
| 52 |
49 scoped_ptr<VideoDecodeAccelerator> | 53 scoped_ptr<VideoDecodeAccelerator> |
50 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( | 54 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( |
51 VideoCodecProfile profile) { | 55 VideoCodecProfile profile) { |
52 return scoped_ptr<VideoDecodeAccelerator>( | 56 return scoped_ptr<VideoDecodeAccelerator>( |
53 static_cast<media::VideoDecodeAccelerator*>(NULL)); | 57 static_cast<media::VideoDecodeAccelerator*>(NULL)); |
54 } | 58 } |
55 | 59 |
56 } // namespace test | 60 } // namespace test |
57 } // namespace cast | 61 } // namespace cast |
58 } // namespace media | 62 } // namespace media |
OLD | NEW |