| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/debug/trace_event.h" | |
| 15 #include "base/location.h" | 14 #include "base/location.h" |
| 16 #include "base/logging.h" | 15 #include "base/logging.h" |
| 17 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 18 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
| 19 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
| 20 #include "base/sys_byteorder.h" | 19 #include "base/sys_byteorder.h" |
| 20 #include "base/trace_event/trace_event.h" |
| 21 #include "media/base/bind_to_current_loop.h" | 21 #include "media/base/bind_to_current_loop.h" |
| 22 #include "media/base/decoder_buffer.h" | 22 #include "media/base/decoder_buffer.h" |
| 23 #include "media/base/demuxer_stream.h" | 23 #include "media/base/demuxer_stream.h" |
| 24 #include "media/base/limits.h" | 24 #include "media/base/limits.h" |
| 25 #include "media/base/media_switches.h" | 25 #include "media/base/media_switches.h" |
| 26 #include "media/base/pipeline.h" | 26 #include "media/base/pipeline.h" |
| 27 #include "media/base/video_decoder_config.h" | 27 #include "media/base/video_decoder_config.h" |
| 28 #include "media/base/video_frame.h" | 28 #include "media/base/video_frame.h" |
| 29 #include "media/base/video_util.h" | 29 #include "media/base/video_util.h" |
| 30 | 30 |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 vpx_image->stride[VPX_PLANE_Y], vpx_image->d_h, video_frame->get()); | 509 vpx_image->stride[VPX_PLANE_Y], vpx_image->d_h, video_frame->get()); |
| 510 return; | 510 return; |
| 511 } | 511 } |
| 512 CopyAPlane(vpx_image_alpha->planes[VPX_PLANE_Y], | 512 CopyAPlane(vpx_image_alpha->planes[VPX_PLANE_Y], |
| 513 vpx_image_alpha->stride[VPX_PLANE_Y], | 513 vpx_image_alpha->stride[VPX_PLANE_Y], |
| 514 vpx_image_alpha->d_h, | 514 vpx_image_alpha->d_h, |
| 515 video_frame->get()); | 515 video_frame->get()); |
| 516 } | 516 } |
| 517 | 517 |
| 518 } // namespace media | 518 } // namespace media |
| OLD | NEW |