Home
last modified time | relevance | path

Searched refs:VideoCodec (Results 1 – 25 of 176) sorted by relevance

12345678

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dcodec_unittest.cc35 using cricket::VideoCodec;
163 VideoCodec c0(96, "V", 320, 200, 30, 3); in TEST_F()
164 VideoCodec c1(95, "V", 320, 200, 30, 3); in TEST_F()
165 VideoCodec c2(96, "x", 320, 200, 30, 3); in TEST_F()
166 VideoCodec c3(96, "V", 120, 200, 30, 3); in TEST_F()
167 VideoCodec c4(96, "V", 320, 100, 30, 3); in TEST_F()
168 VideoCodec c5(96, "V", 320, 200, 10, 3); in TEST_F()
169 VideoCodec c6(96, "V", 320, 200, 30, 1); in TEST_F()
177 VideoCodec c7; in TEST_F()
178 VideoCodec c8(0, "", 0, 0, 0, 0); in TEST_F()
[all …]
Dcodec.h199 struct VideoCodec : public Codec { struct
205 VideoCodec(int pt, const std::string& nm, int w, int h, int fr, int pr) in VideoCodec() function
213 VideoCodec() in VideoCodec() function
221 static bool Preferable(const VideoCodec& first, const VideoCodec& other) { in Preferable() argument
227 VideoCodec& operator=(const VideoCodec& c) {
240 bool operator==(const VideoCodec& c) const {
252 bool operator!=(const VideoCodec& c) const {
256 static VideoCodec CreateRtxCodec(int rtx_payload_type,
295 VideoEncoderConfig(const VideoCodec& c) in VideoEncoderConfig()
301 VideoEncoderConfig(const VideoCodec& c, int t, int p) in VideoEncoderConfig()
[all …]
Dcodec.cc162 std::string VideoCodec::ToString() const { in ToString()
169 VideoCodec VideoCodec::CreateRtxCodec(int rtx_payload_type, in CreateRtxCodec()
171 VideoCodec rtx_codec(rtx_payload_type, kRtxCodecName, 0, 0, 0, 0); in CreateRtxCodec()
176 VideoCodec::CodecType VideoCodec::GetCodecType() const { in GetCodecType()
191 bool VideoCodec::ValidateCodecFormat() const { in ValidateCodecFormat()
Dfilemediaengine.h76 void set_video_codecs(const std::vector<VideoCodec>& codecs) { in set_video_codecs()
120 virtual const std::vector<VideoCodec>& video_codecs() { in video_codecs()
131 virtual bool FindVideoCodec(const VideoCodec& codec) { return true; } in FindVideoCodec()
171 std::vector<VideoCodec> video_codecs_;
271 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) { in SetRecvCodecs()
274 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs);
275 virtual bool GetSendCodec(VideoCodec* send_codec) { in GetSendCodec()
276 *send_codec = VideoCodec(); in GetSendCodec()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dcodec_database.h31 VCMDecoderMapItem(VideoCodec* settings,
35 scoped_ptr<VideoCodec> settings;
61 static bool Codec(int list_id, VideoCodec* settings);
64 static bool Codec(VideoCodecType codec_type, VideoCodec* settings);
71 bool SetSendCodec(const VideoCodec* send_codec,
78 bool SendCodec(VideoCodec* current_send_codec) const;
117 bool RegisterReceiveCodec(const VideoCodec* receive_codec,
124 bool ReceiveCodec(VideoCodec* current_receive_codec) const;
158 VideoCodec* new_codec,
163 bool RequiresEncoderReset(const VideoCodec& send_codec);
[all …]
Dcodec_database.cc57 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings, in VCMDecoderMapItem()
102 VideoCodec* settings) { in Codec()
109 memset(settings, 0, sizeof(VideoCodec)); in Codec()
173 VideoCodec* settings) { in Codec()
193 const VideoCodec* send_codec, in SetSendCodec()
226 VideoCodec new_send_codec; in SetSendCodec()
289 bool VCMCodecDataBase::SendCodec(VideoCodec* current_send_codec) const { in SendCodec()
293 memcpy(current_send_codec, &send_codec_, sizeof(VideoCodec)); in SendCodec()
314 memset(&send_codec_, 0, sizeof(VideoCodec)); in DeregisterExternalEncoder()
336 bool VCMCodecDataBase::RequiresEncoderReset(const VideoCodec& new_send_codec) { in RequiresEncoderReset()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoengine2_unittest.cc40 static const cricket::VideoCodec kVp8Codec720p(100, "VP8", 1280, 720, 30, 0);
41 static const cricket::VideoCodec kVp8Codec360p(100, "VP8", 640, 360, 30, 0);
42 static const cricket::VideoCodec kVp8Codec270p(100, "VP8", 480, 270, 30, 0);
43 static const cricket::VideoCodec kVp8Codec180p(100, "VP8", 320, 180, 30, 0);
45 static const cricket::VideoCodec kVp8Codec(100, "VP8", 640, 400, 30, 0);
46 static const cricket::VideoCodec kVp9Codec(101, "VP9", 640, 400, 30, 0);
47 static const cricket::VideoCodec kRedCodec(116, "red", 0, 0, 0, 0);
48 static const cricket::VideoCodec kUlpfecCodec(117, "ulpfec", 0, 0, 0, 0);
55 void VerifyCodecHasDefaultFeedbackParams(const cricket::VideoCodec& codec) { in VerifyCodecHasDefaultFeedbackParams()
153 void FakeVideoReceiveStream::GetCurrentReceiveCodec(webrtc::VideoCodec* codec) { in GetCurrentReceiveCodec()
[all …]
Dwebrtcvideoengine.h117 const std::vector<VideoCodec>& codecs() const;
161 bool FindCodec(const VideoCodec& in);
162 bool CanSendCodec(const VideoCodec& in, const VideoCodec& current,
163 VideoCodec* out);
166 bool ConvertFromCricketVideoCodec(const VideoCodec& in_codec,
167 webrtc::VideoCodec* out_codec);
201 bool SetDefaultCodec(const VideoCodec& codec);
202 bool RebuildCodecList(const VideoCodec& max_codec);
206 bool VerifyApt(const VideoCodec& in, int expected_apt) const;
222 std::vector<VideoCodec> video_codecs_;
[all …]
Dwebrtcvideoengine_unittest.cc50 static const cricket::VideoCodec kVP8Codec720p(100, "VP8", 1280, 720, 30, 0);
52 static const cricket::VideoCodec kVP8Codec(100, "VP8", 640, 400, 30, 0);
53 static const cricket::VideoCodec kH264Codec(127, "H264", 640, 400, 30, 0);
54 static const cricket::VideoCodec kRedCodec(101, "red", 0, 0, 0, 0);
55 static const cricket::VideoCodec kUlpFecCodec(102, "ulpfec", 0, 0, 0, 0);
56 static const cricket::VideoCodec* const kVideoCodecs[] = {
213 void VerifyCodecFeedbackParams(const cricket::VideoCodec& codec) { in VerifyCodecFeedbackParams()
237 webrtc::VideoCodec gcodec; in VerifyVP8SendCodec()
285 virtual cricket::VideoCodec DefaultCodec() { return kVP8Codec; } in DefaultCodec()
373 std::vector<cricket::VideoCodec> codecs(engine_.codecs()); in TEST_F()
[all …]
Dwebrtcvideoengine2.h115 const VideoCodec& codec,
120 const VideoCodec& codec,
123 virtual void* CreateVideoEncoderSettings(const VideoCodec& codec,
126 virtual void DestroyVideoEncoderSettings(const VideoCodec& codec,
129 virtual bool SupportsCodec(const cricket::VideoCodec& codec);
153 const std::vector<VideoCodec>& codecs() const;
174 bool FindCodec(const VideoCodec& in);
175 bool CanSendCodec(const VideoCodec& in,
176 const VideoCodec& current,
177 VideoCodec* out);
[all …]
Dwebrtcvideoengine2_unittest.h81 virtual void GetCurrentReceiveCodec(webrtc::VideoCodec* codec);
92 void SetVideoCodecs(const std::vector<webrtc::VideoCodec> codecs);
97 webrtc::VideoCodec GetEmptyVideoCodec();
99 webrtc::VideoCodec GetVideoCodecVp8();
100 webrtc::VideoCodec GetVideoCodecVp9();
102 std::vector<webrtc::VideoCodec> GetDefaultVideoCodecs();
127 std::vector<webrtc::VideoCodec> codecs_;
Dwebrtcvideoengine2.cc72 static bool FindFirstMatchingCodec(const std::vector<VideoCodec>& codecs, in FindFirstMatchingCodec()
73 const VideoCodec& requested_codec, in FindFirstMatchingCodec()
74 VideoCodec* matching_codec) { in FindFirstMatchingCodec()
84 static void AddDefaultFeedbackParams(VideoCodec* codec) { in AddDefaultFeedbackParams()
95 static bool IsNackEnabled(const VideoCodec& codec) { in IsNackEnabled()
100 static bool IsRembEnabled(const VideoCodec& codec) { in IsRembEnabled()
105 static VideoCodec DefaultVideoCodec() { in DefaultVideoCodec()
106 VideoCodec default_codec(kDefaultVideoCodecPref.payload_type, in DefaultVideoCodec()
116 static VideoCodec DefaultRedCodec() { in DefaultRedCodec()
117 return VideoCodec(kRedPref.payload_type, kRedPref.name, 0, 0, 0, 0); in DefaultRedCodec()
[all …]
Dwebrtcvideoencoderfactory.h43 struct VideoCodec { struct
50 VideoCodec(webrtc::VideoCodecType t, const std::string& nm, int w, int h, in VideoCodec() argument
82 virtual const std::vector<VideoCodec>& codecs() const = 0;
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_codec_unittest.cc17 void BuildVP8Codec(webrtc::VideoCodec* video_codec) { in BuildVP8Codec()
47 void SetSimulcastSettings(webrtc::VideoCodec* video_codec) { in SetSimulcastSettings()
63 VideoCodec codec1, codec2; in TEST()
64 memset(&codec1, 0, sizeof(VideoCodec)); in TEST()
65 memset(&codec2, 0, sizeof(VideoCodec)); in TEST()
122 VideoCodec codec1, codec2; in TEST()
123 memset(&codec1, 0, sizeof(VideoCodec)); in TEST()
124 memset(&codec2, 0, sizeof(VideoCodec)); in TEST()
182 VideoCodec codec1, codec2; in TEST()
183 memset(&codec1, 0, sizeof(VideoCodec)); in TEST()
[all …]
Dvie_codec_impl.h32 VideoCodec& video_codec) const;
34 const VideoCodec& video_codec);
36 VideoCodec& video_codec) const;
38 const VideoCodec& video_codec);
40 VideoCodec& video_codec) const;
82 bool CodecValid(const VideoCodec& video_codec);
Dvie_codec_impl.cc30 static void LogCodec(const VideoCodec& codec) { in LogCodec()
130 VideoCodec& video_codec) const { in GetCodec()
132 memset(&video_codec, 0, sizeof(VideoCodec)); in GetCodec()
137 memset(&video_codec, 0, sizeof(VideoCodec)); in GetCodec()
149 const VideoCodec& video_codec) { in SetSendCodec()
173 VideoCodec video_codec_internal; in SetSendCodec()
174 memcpy(&video_codec_internal, &video_codec, sizeof(VideoCodec)); in SetSendCodec()
191 VideoCodec encoder; in SetSendCodec()
266 VideoCodec& video_codec) const { in GetSendCodec()
277 const VideoCodec& video_codec) { in SetReceiveCodec()
[all …]
/external/chromium_org/third_party/webrtc/video_engine/include/
Dvie_codec.h25 struct VideoCodec;
56 const VideoCodec& video_codec) = 0;
101 VideoCodec& video_codec) const = 0;
105 const VideoCodec& video_codec) = 0;
109 VideoCodec& video_codec) const = 0;
114 const VideoCodec& video_codec) = 0;
118 VideoCodec& video_codec) const = 0;
/external/chromium_org/media/base/
Dvideo_decoder_config.h19 enum VideoCodec { enum
77 VideoDecoderConfig(VideoCodec codec,
89 void Initialize(VideoCodec codec,
111 VideoCodec codec() const;
139 VideoCodec codec_;
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
Dmediaenginefactory.cc48 std::vector<cricket::VideoCodec> RequiredVideoCodecs() { in RequiredVideoCodecs()
49 std::vector<cricket::VideoCodec> video_codecs; in RequiredVideoCodecs()
51 cricket::VideoCodec(97, "H264", 320, 240, 30, 0)); in RequiredVideoCodecs()
53 cricket::VideoCodec(99, "H264-SVC", 640, 360, 30, 0)); in RequiredVideoCodecs()
/external/chromium_org/content/renderer/media/
Drtc_video_encoder_factory.cc21 std::vector<cricket::WebRtcVideoEncoderFactory::VideoCodec>* codecs, in VEAToWebRTCCodecs()
32 codecs->push_back(cricket::WebRtcVideoEncoderFactory::VideoCodec( in VEAToWebRTCCodecs()
38 codecs->push_back(cricket::WebRtcVideoEncoderFactory::VideoCodec( in VEAToWebRTCCodecs()
42 codecs->push_back(cricket::WebRtcVideoEncoderFactory::VideoCodec( in VEAToWebRTCCodecs()
96 const std::vector<cricket::WebRtcVideoEncoderFactory::VideoCodec>&
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.h58 virtual int InitEncode(const VideoCodec* codec_settings,
109 int InitAndSetControlSettings(const VideoCodec* inst);
130 VideoCodec codec_;
158 virtual int InitDecode(const VideoCodec* inst, int number_of_cores);
228 VideoCodec codec_;
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
Dgeneral_primitives.cc101 webrtc::VideoCodec* result) { in FindSpecificCodec()
103 memset(result, 0, sizeof(webrtc::VideoCodec)); in FindSpecificCodec()
106 webrtc::VideoCodec codec; in FindSpecificCodec()
107 memset(&codec, 0, sizeof(webrtc::VideoCodec)); in FindSpecificCodec()
121 void SetSuitableResolution(webrtc::VideoCodec* video_codec, in SetSuitableResolution()
Dgeneral_primitives.h25 struct VideoCodec;
73 webrtc::VideoCodec* result);
78 void SetSuitableResolution(webrtc::VideoCodec* video_codec,
/external/chromium_org/third_party/webrtc/modules/video_coding/main/interface/
Dvideo_coding.h94 static int32_t Codec(const uint8_t listId, VideoCodec* codec);
104 static int32_t Codec(VideoCodecType codecType, VideoCodec* codec);
132 virtual int32_t RegisterSendCodec(const VideoCodec* sendCodec,
143 virtual int32_t SendCodec(VideoCodec* currentSendCodec) const = 0;
333 virtual int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec,
450 virtual int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const = 0;
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
Dvie_autotest_custom_call.cc110 const webrtc::VideoCodec& codec) {} in IncomingCodecChanged()
127 webrtc::VideoCodec video_codec,
150 void PrintVideoCodec(webrtc::VideoCodec video_codec);
155 webrtc::VideoCodec* video_codec);
156 void SetVideoCodecResolution(webrtc::VideoCodec* video_codec);
157 void SetVideoCodecSize(webrtc::VideoCodec* video_codec);
158 void SetVideoCodecBitrate(webrtc::VideoCodec* video_codec);
159 void SetVideoCodecMinBitrate(webrtc::VideoCodec* video_codec);
160 void SetVideoCodecMaxBitrate(webrtc::VideoCodec* video_codec);
161 void SetVideoCodecMaxFramerate(webrtc::VideoCodec* video_codec);
[all …]

12345678