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

Side by Side Diff: content/renderer/media/gpu/rtc_video_encoder_factory.h

Issue 2985263002: Reland of RTCVideoEncoder: Report H264 profile information to WebRTC (Closed)
Patch Set: Add default argument to SetDefaultVideoCodec Created 3 years, 4 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
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 4
5 #ifndef CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 // cricket::WebRtcVideoEncoderFactory implementation. 32 // cricket::WebRtcVideoEncoderFactory implementation.
33 webrtc::VideoEncoder* CreateVideoEncoder( 33 webrtc::VideoEncoder* CreateVideoEncoder(
34 const cricket::VideoCodec& codec) override; 34 const cricket::VideoCodec& codec) override;
35 const std::vector<cricket::VideoCodec>& supported_codecs() const override; 35 const std::vector<cricket::VideoCodec>& supported_codecs() const override;
36 void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override; 36 void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override;
37 37
38 private: 38 private:
39 media::GpuVideoAcceleratorFactories* gpu_factories_; 39 media::GpuVideoAcceleratorFactories* gpu_factories_;
40 40
41 // List of supported cricket::WebRtcVideoEncoderFactory::VideoCodec. 41 // List of supported cricket::WebRtcVideoEncoderFactory::VideoCodec.
42 // |profiles_| and |supported_codecs_| have the same length and the profile
43 // for |supported_codecs_[i]| is |profiles_[i]|.
44 std::vector<media::VideoCodecProfile> profiles_;
42 std::vector<cricket::VideoCodec> supported_codecs_; 45 std::vector<cricket::VideoCodec> supported_codecs_;
43 46
44 DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoderFactory); 47 DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoderFactory);
45 }; 48 };
46 49
47 } // namespace content 50 } // namespace content
48 51
49 #endif // CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_ 52 #endif // CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_ENCODER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/gpu/rtc_video_encoder.cc ('k') | content/renderer/media/gpu/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698