| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "gpu/command_buffer/client/gpu_control_client.h" | 17 #include "gpu/command_buffer/client/gpu_control_client.h" |
| 18 #include "media/video/video_encode_accelerator.h" | 18 #include "media/video/video_encode_accelerator.h" |
| 19 #include "ppapi/c/pp_codecs.h" | 19 #include "ppapi/c/pp_codecs.h" |
| 20 #include "ppapi/c/ppb_video_frame.h" | 20 #include "ppapi/c/ppb_video_frame.h" |
| 21 #include "ppapi/host/host_message_context.h" | 21 #include "ppapi/host/host_message_context.h" |
| 22 #include "ppapi/host/resource_host.h" | 22 #include "ppapi/host/resource_host.h" |
| 23 #include "ppapi/proxy/resource_message_params.h" | 23 #include "ppapi/proxy/resource_message_params.h" |
| 24 #include "ppapi/shared_impl/media_stream_buffer_manager.h" | 24 #include "ppapi/shared_impl/media_stream_buffer_manager.h" |
| 25 | 25 |
| 26 namespace gpu { | 26 namespace gpu { |
| 27 class CommandBufferProxyImpl; | 27 class CommandBufferProxyImpl; |
| 28 class GpuChannelHost; | |
| 29 } | |
| 30 | |
| 31 namespace media { | |
| 32 class GpuVideoAcceleratorFactories; | |
| 33 } | 28 } |
| 34 | 29 |
| 35 namespace content { | 30 namespace content { |
| 36 | 31 |
| 37 class RendererPpapiHost; | 32 class RendererPpapiHost; |
| 38 class VideoEncoderShim; | 33 class VideoEncoderShim; |
| 39 | 34 |
| 40 class CONTENT_EXPORT PepperVideoEncoderHost | 35 class CONTENT_EXPORT PepperVideoEncoderHost |
| 41 : public ppapi::host::ResourceHost, | 36 : public ppapi::host::ResourceHost, |
| 42 public media::VideoEncodeAccelerator::Client, | 37 public media::VideoEncodeAccelerator::Client, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 #endif | 169 #endif |
| 175 | 170 |
| 176 base::WeakPtrFactory<PepperVideoEncoderHost> weak_ptr_factory_; | 171 base::WeakPtrFactory<PepperVideoEncoderHost> weak_ptr_factory_; |
| 177 | 172 |
| 178 DISALLOW_COPY_AND_ASSIGN(PepperVideoEncoderHost); | 173 DISALLOW_COPY_AND_ASSIGN(PepperVideoEncoderHost); |
| 179 }; | 174 }; |
| 180 | 175 |
| 181 } // namespace content | 176 } // namespace content |
| 182 | 177 |
| 183 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ | 178 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ |
| OLD | NEW |