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 #include "media/filters/vpx_video_decoder.h" | 5 #include "media/filters/vpx_video_decoder.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/callback_helpers.h" | 16 #include "base/callback_helpers.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/lazy_instance.h" | 18 #include "base/lazy_instance.h" |
19 #include "base/location.h" | 19 #include "base/location.h" |
20 #include "base/logging.h" | 20 #include "base/logging.h" |
21 #include "base/macros.h" | 21 #include "base/macros.h" |
22 #include "base/memory/ptr_util.h" | 22 #include "base/memory/ptr_util.h" |
23 #include "base/metrics/histogram_macros.h" | 23 #include "base/metrics/histogram_macros.h" |
24 #include "base/single_thread_task_runner.h" | 24 #include "base/single_thread_task_runner.h" |
25 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
26 #include "base/sys_byteorder.h" | 26 #include "base/sys_byteorder.h" |
27 #include "base/sys_info.h" | 27 #include "base/sys_info.h" |
28 #include "base/threading/thread.h" | 28 #include "base/threading/thread.h" |
| 29 #include "base/threading/thread_task_runner_handle.h" |
29 #include "base/trace_event/memory_allocator_dump.h" | 30 #include "base/trace_event/memory_allocator_dump.h" |
30 #include "base/trace_event/memory_dump_manager.h" | 31 #include "base/trace_event/memory_dump_manager.h" |
31 #include "base/trace_event/memory_dump_provider.h" | 32 #include "base/trace_event/memory_dump_provider.h" |
32 #include "base/trace_event/process_memory_dump.h" | 33 #include "base/trace_event/process_memory_dump.h" |
33 #include "base/trace_event/trace_event.h" | 34 #include "base/trace_event/trace_event.h" |
34 #include "media/base/bind_to_current_loop.h" | 35 #include "media/base/bind_to_current_loop.h" |
35 #include "media/base/decoder_buffer.h" | 36 #include "media/base/decoder_buffer.h" |
36 #include "media/base/media_switches.h" | 37 #include "media/base/media_switches.h" |
37 | 38 |
38 // Include libvpx header files. | 39 // Include libvpx header files. |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 (*video_frame)->visible_data(VideoFrame::kUPlane), | 847 (*video_frame)->visible_data(VideoFrame::kUPlane), |
847 (*video_frame)->stride(VideoFrame::kUPlane), | 848 (*video_frame)->stride(VideoFrame::kUPlane), |
848 (*video_frame)->visible_data(VideoFrame::kVPlane), | 849 (*video_frame)->visible_data(VideoFrame::kVPlane), |
849 (*video_frame)->stride(VideoFrame::kVPlane), coded_size.width(), | 850 (*video_frame)->stride(VideoFrame::kVPlane), coded_size.width(), |
850 coded_size.height()); | 851 coded_size.height()); |
851 | 852 |
852 return true; | 853 return true; |
853 } | 854 } |
854 | 855 |
855 } // namespace media | 856 } // namespace media |
OLD | NEW |