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

Side by Side Diff: media/cast/cast_sender_impl.h

Issue 207593002: Cast: Enable use of VideoEncodeAccelerator for hardware video encoding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typedef 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/cast_sender_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_ 4 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_
5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_ 5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "media/cast/audio_sender/audio_sender.h" 9 #include "media/cast/audio_sender/audio_sender.h"
10 #include "media/cast/cast_config.h" 10 #include "media/cast/cast_config.h"
(...skipping 15 matching lines...) Expand all
26 public: 26 public:
27 CastSenderImpl(scoped_refptr<CastEnvironment> cast_environment, 27 CastSenderImpl(scoped_refptr<CastEnvironment> cast_environment,
28 transport::CastTransportSender* const transport_sender); 28 transport::CastTransportSender* const transport_sender);
29 29
30 virtual void InitializeAudio( 30 virtual void InitializeAudio(
31 const AudioSenderConfig& audio_config, 31 const AudioSenderConfig& audio_config,
32 const CastInitializationCallback& cast_initialization_cb) OVERRIDE; 32 const CastInitializationCallback& cast_initialization_cb) OVERRIDE;
33 virtual void InitializeVideo( 33 virtual void InitializeVideo(
34 const VideoSenderConfig& video_config, 34 const VideoSenderConfig& video_config,
35 const CastInitializationCallback& cast_initialization_cb, 35 const CastInitializationCallback& cast_initialization_cb,
36 const scoped_refptr<GpuVideoAcceleratorFactories>& gpu_factories) 36 const CreateVideoEncodeAcceleratorCallback& create_vea_cb,
37 const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb)
37 OVERRIDE; 38 OVERRIDE;
38 39
39 virtual ~CastSenderImpl(); 40 virtual ~CastSenderImpl();
40 41
41 virtual scoped_refptr<AudioFrameInput> audio_frame_input() OVERRIDE; 42 virtual scoped_refptr<AudioFrameInput> audio_frame_input() OVERRIDE;
42 virtual scoped_refptr<VideoFrameInput> video_frame_input() OVERRIDE; 43 virtual scoped_refptr<VideoFrameInput> video_frame_input() OVERRIDE;
43 44
44 virtual transport::PacketReceiverCallback packet_receiver() OVERRIDE; 45 virtual transport::PacketReceiverCallback packet_receiver() OVERRIDE;
45 46
46 private: 47 private:
(...skipping 14 matching lines...) Expand all
61 // NOTE: Weak pointers must be invalidated before all other member variables. 62 // NOTE: Weak pointers must be invalidated before all other member variables.
62 base::WeakPtrFactory<CastSenderImpl> weak_factory_; 63 base::WeakPtrFactory<CastSenderImpl> weak_factory_;
63 64
64 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl); 65 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl);
65 }; 66 };
66 67
67 } // namespace cast 68 } // namespace cast
68 } // namespace media 69 } // namespace media
69 70
70 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_ 71 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/cast_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698