| 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 "content/common/gpu/media/gpu_video_decode_accelerator.h" | 5 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "ui/gl/gl_image.h" | 25 #include "ui/gl/gl_image.h" |
| 26 #include "ui/gl/gl_surface_egl.h" | 26 #include "ui/gl/gl_surface_egl.h" |
| 27 | 27 |
| 28 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
| 29 #include "base/win/windows_version.h" | 29 #include "base/win/windows_version.h" |
| 30 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" | 30 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" |
| 31 #elif defined(OS_MACOSX) | 31 #elif defined(OS_MACOSX) |
| 32 #include "content/common/gpu/media/vt_video_decode_accelerator.h" | 32 #include "content/common/gpu/media/vt_video_decode_accelerator.h" |
| 33 #elif defined(OS_CHROMEOS) | 33 #elif defined(OS_CHROMEOS) |
| 34 #if defined(USE_V4L2_CODEC) | 34 #if defined(USE_V4L2_CODEC) |
| 35 #include "content/common/gpu/media/v4l2_device.h" |
| 35 #include "content/common/gpu/media/v4l2_slice_video_decode_accelerator.h" | 36 #include "content/common/gpu/media/v4l2_slice_video_decode_accelerator.h" |
| 36 #include "content/common/gpu/media/v4l2_video_decode_accelerator.h" | 37 #include "content/common/gpu/media/v4l2_video_decode_accelerator.h" |
| 37 #include "content/common/gpu/media/v4l2_video_device.h" | |
| 38 #endif | 38 #endif |
| 39 #if defined(ARCH_CPU_X86_FAMILY) | 39 #if defined(ARCH_CPU_X86_FAMILY) |
| 40 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" | 40 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
| 41 #include "ui/gl/gl_implementation.h" | 41 #include "ui/gl/gl_implementation.h" |
| 42 #endif | 42 #endif |
| 43 #elif defined(USE_OZONE) | 43 #elif defined(USE_OZONE) |
| 44 #include "media/ozone/media_ozone_platform.h" | 44 #include "media/ozone/media_ozone_platform.h" |
| 45 #elif defined(OS_ANDROID) | 45 #elif defined(OS_ANDROID) |
| 46 #include "content/common/gpu/media/android_video_decode_accelerator.h" | 46 #include "content/common/gpu/media/android_video_decode_accelerator.h" |
| 47 #endif | 47 #endif |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 return stub_->channel()->Send(message); | 581 return stub_->channel()->Send(message); |
| 582 } | 582 } |
| 583 | 583 |
| 584 void GpuVideoDecodeAccelerator::SendCreateDecoderReply(IPC::Message* message, | 584 void GpuVideoDecodeAccelerator::SendCreateDecoderReply(IPC::Message* message, |
| 585 bool succeeded) { | 585 bool succeeded) { |
| 586 GpuCommandBufferMsg_CreateVideoDecoder::WriteReplyParams(message, succeeded); | 586 GpuCommandBufferMsg_CreateVideoDecoder::WriteReplyParams(message, succeeded); |
| 587 Send(message); | 587 Send(message); |
| 588 } | 588 } |
| 589 | 589 |
| 590 } // namespace content | 590 } // namespace content |
| OLD | NEW |