| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDEO_E
NCODER_H_ | 5 #ifndef EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDEO_E
NCODER_H_ |
| 6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDEO_E
NCODER_H_ | 6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDEO_E
NCODER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| 11 #include "base/single_thread_task_runner.h" |
| 11 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_media
_encoder.h" | 12 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_media
_encoder.h" |
| 12 #include "media/base/video_frame.h" | 13 #include "media/base/video_frame.h" |
| 13 #include "media/video/video_encode_accelerator.h" | 14 #include "media/video/video_encode_accelerator.h" |
| 14 #include "third_party/wds/src/libwds/public/video_format.h" | 15 #include "third_party/wds/src/libwds/public/video_format.h" |
| 15 | 16 |
| 16 namespace extensions { | 17 namespace extensions { |
| 17 | 18 |
| 18 class WiFiDisplayElementaryStreamDescriptor; | 19 class WiFiDisplayElementaryStreamDescriptor; |
| 19 | 20 |
| 20 using WiFiDisplayEncodedFrame = WiFiDisplayEncodedUnit; | 21 using WiFiDisplayEncodedFrame = WiFiDisplayEncodedUnit; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 bool send_idr) = 0; | 103 bool send_idr) = 0; |
| 103 | 104 |
| 104 std::vector<WiFiDisplayElementaryStreamDescriptor> descriptors_; | 105 std::vector<WiFiDisplayElementaryStreamDescriptor> descriptors_; |
| 105 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; | 106 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; |
| 106 bool send_idr_; | 107 bool send_idr_; |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace extensions | 110 } // namespace extensions |
| 110 | 111 |
| 111 #endif // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDE
O_ENCODER_H_ | 112 #endif // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_VIDE
O_ENCODER_H_ |
| OLD | NEW |