Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: media/cast/cast_config.h

Issue 207593002: Cast: Enable use of VideoEncodeAccelerator for hardware video encoding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/cast/cast_config.h
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 21caea098bb68c9250689aa79dd5c2eb86eaf52c..356d6be1e35e4b6fbb57e7d6cfe44dd07b928931 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -12,10 +12,14 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/shared_memory.h"
+#include "base/single_thread_task_runner.h"
#include "media/cast/cast_defines.h"
#include "media/cast/transport/cast_transport_config.h"
namespace media {
+class VideoEncodeAccelerator;
+
namespace cast {
enum RtcpMode {
@@ -137,6 +141,15 @@ typedef transport::PacketList PacketList;
typedef base::Callback<void(CastInitializationStatus)>
CastInitializationCallback;
+typedef base::Callback<void(
+ const base::Callback<void(scoped_refptr<base::SingleThreadTaskRunner>,
pwestin 2014/03/21 21:02:02 const base::Callback<void(scoped_refptr<base::Sing
Alpha Left Google 2014/03/21 21:37:12 Done.
+ scoped_ptr<media::VideoEncodeAccelerator>)>&)>
+ CreateVideoEncodeAcceleratorCallback;
+typedef base::Callback<
+ void(size_t size,
+ const base::Callback<void(scoped_ptr<base::SharedMemory>)>&)>
pwestin 2014/03/21 21:02:02 const base::Callback<void(scoped_ptr<base::SharedM
Alpha Left Google 2014/03/21 21:37:12 Done.
+ CreateVideoEncodeMemoryCallback;
+
} // namespace cast
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698