Home
last modified time | relevance | path

Searched refs:video_codec (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
Dvie_autotest_simulcast.cc35 void InitialSingleStreamSettings(webrtc::VideoCodec* video_codec) { in InitialSingleStreamSettings() argument
36 video_codec->numberOfSimulcastStreams = 0; in InitialSingleStreamSettings()
37 video_codec->width = 1200; in InitialSingleStreamSettings()
38 video_codec->height = 800; in InitialSingleStreamSettings()
41 void SetSimulcastSettings(webrtc::VideoCodec* video_codec) { in SetSimulcastSettings() argument
42 video_codec->width = 1280; in SetSimulcastSettings()
43 video_codec->height = 720; in SetSimulcastSettings()
46 video_codec->numberOfSimulcastStreams = kNumStreams; in SetSimulcastSettings()
47 video_codec->simulcastStream[0].width = 320; in SetSimulcastSettings()
48 video_codec->simulcastStream[0].height = 180; in SetSimulcastSettings()
[all …]
Dvie_autotest_codec.cc67 const webrtc::VideoCodec& video_codec) { in IncomingCodecChanged() argument
69 last_payload_type_ = video_codec.plType; in IncomingCodecChanged()
70 last_width_ = video_codec.width; in IncomingCodecChanged()
71 last_height_ = video_codec.height; in IncomingCodecChanged()
73 memcpy(&incoming_codec_, &video_codec, sizeof(video_codec)); in IncomingCodecChanged()
168 webrtc::VideoCodec video_codec; in ViECodecStandardTest() local
169 memset(&video_codec, 0, sizeof(webrtc::VideoCodec)); in ViECodecStandardTest()
171 EXPECT_EQ(0, codec->GetCodec(idx, video_codec)); in ViECodecStandardTest()
172 if (video_codec.codecType != webrtc::kVideoCodecI420) { in ViECodecStandardTest()
173 video_codec.width = 640; in ViECodecStandardTest()
[all …]
Dvie_autotest_custom_call.cc127 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);
162 void SetVideoCodecTemporalLayer(webrtc::VideoCodec* video_codec);
[all …]
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_codec_unittest.cc17 void BuildVP8Codec(webrtc::VideoCodec* video_codec) { in BuildVP8Codec() argument
18 video_codec->codecType = kVideoCodecVP8; in BuildVP8Codec()
19 strncpy(video_codec->plName, "VP8", 4); in BuildVP8Codec()
20 video_codec->plType = 100; in BuildVP8Codec()
21 video_codec->width = 1280; in BuildVP8Codec()
22 video_codec->height = 720; in BuildVP8Codec()
24 video_codec->startBitrate = 1000; // kbps in BuildVP8Codec()
25 video_codec->maxBitrate = 2000; // kbps in BuildVP8Codec()
26 video_codec->minBitrate = 1000; // kbps in BuildVP8Codec()
27 video_codec->maxFramerate = 30; in BuildVP8Codec()
[all …]
Dvie_codec_impl.cc130 VideoCodec& video_codec) const { in GetCodec()
132 memset(&video_codec, 0, sizeof(VideoCodec)); in GetCodec()
133 strcpy(video_codec.plName, "red"); in GetCodec()
134 video_codec.codecType = kVideoCodecRED; in GetCodec()
135 video_codec.plType = VCM_RED_PAYLOAD_TYPE; in GetCodec()
137 memset(&video_codec, 0, sizeof(VideoCodec)); in GetCodec()
138 strcpy(video_codec.plName, "ulpfec"); in GetCodec()
139 video_codec.codecType = kVideoCodecULPFEC; in GetCodec()
140 video_codec.plType = VCM_ULPFEC_PAYLOAD_TYPE; in GetCodec()
141 } else if (VideoCodingModule::Codec(list_number, &video_codec) != VCM_OK) { in GetCodec()
[all …]
Dvie_encoder.cc195 VideoCodec video_codec; in Init() local
196 if (vcm_.Codec(codec_type, &video_codec) != VCM_OK) { in Init()
201 send_padding_ = video_codec.numberOfSimulcastStreams > 1; in Init()
203 if (vcm_.RegisterSendCodec(&video_codec, number_of_cores_, in Init()
207 if (default_rtp_rtcp_->RegisterSendPayload(video_codec) != 0) { in Init()
265 int32_t ViEEncoder::GetCodec(uint8_t list_index, VideoCodec* video_codec) { in GetCodec() argument
266 if (vcm_.Codec(list_index, video_codec) != 0) { in GetCodec()
324 int32_t ViEEncoder::SetEncoder(const webrtc::VideoCodec& video_codec) { in SetEncoder() argument
326 if (vpm_.SetTargetResolution(video_codec.width, video_codec.height, in SetEncoder()
327 video_codec.maxFramerate) != VPM_OK) { in SetEncoder()
[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_receiver.cc66 bool ViEReceiver::SetReceiveCodec(const VideoCodec& video_codec) { in SetReceiveCodec() argument
68 if (rtp_payload_registry_->ReceivePayloadType(video_codec.plName, in SetReceiveCodec()
71 video_codec.maxBitrate, in SetReceiveCodec()
76 return RegisterPayload(video_codec); in SetReceiveCodec()
79 bool ViEReceiver::RegisterPayload(const VideoCodec& video_codec) { in RegisterPayload() argument
80 return rtp_receiver_->RegisterReceivePayload(video_codec.plName, in RegisterPayload()
81 video_codec.plType, in RegisterPayload()
84 video_codec.maxBitrate) == 0; in RegisterPayload()
Dvie_channel.cc206 VideoCodec video_codec; in Init() local
207 if (vcm_->Codec(kVideoCodecVP8, &video_codec) == VCM_OK) { in Init()
208 rtp_rtcp_->RegisterSendPayload(video_codec); in Init()
210 if (!vie_receiver_.RegisterPayload(video_codec)) { in Init()
213 vcm_->RegisterReceiveCodec(&video_codec, number_of_cores_); in Init()
214 vcm_->RegisterSendCodec(&video_codec, number_of_cores_, in Init()
249 int32_t ViEChannel::SetSendCodec(const VideoCodec& video_codec, in SetSendCodec() argument
254 if (video_codec.codecType == kVideoCodecRED || in SetSendCodec()
255 video_codec.codecType == kVideoCodecULPFEC) { in SetSendCodec()
256 LOG_F(LS_ERROR) << "Not a valid send codec " << video_codec.codecType; in SetSendCodec()
[all …]
Dvie_encoder.h75 int32_t GetCodec(uint8_t list_index, VideoCodec* video_codec);
80 int32_t SetEncoder(const VideoCodec& video_codec);
81 int32_t GetEncoder(VideoCodec* video_codec);
Dvie_receiver.h46 bool SetReceiveCodec(const VideoCodec& video_codec);
47 bool RegisterPayload(const VideoCodec& video_codec);
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
Dbase_primitives.cc19 webrtc::VideoCodec video_codec, in ConfigureCodecsToI420() argument
24 EXPECT_EQ(0, codec_interface->GetCodec(i, video_codec)); in ConfigureCodecsToI420()
27 if (video_codec.codecType == webrtc::kVideoCodecI420) { in ConfigureCodecsToI420()
28 video_codec.width = 176; in ConfigureCodecsToI420()
29 video_codec.height = 144; in ConfigureCodecsToI420()
30 video_codec.maxBitrate = 32000; in ConfigureCodecsToI420()
31 video_codec.startBitrate = 32000; in ConfigureCodecsToI420()
32 EXPECT_EQ(0, codec_interface->SetSendCodec(video_channel, video_codec)); in ConfigureCodecsToI420()
35 EXPECT_EQ(0, codec_interface->SetReceiveCodec(video_channel, video_codec)); in ConfigureCodecsToI420()
38 EXPECT_EQ(0, codec_interface->GetSendCodec(video_channel, video_codec)); in ConfigureCodecsToI420()
[all …]
Dgeneral_primitives.cc121 void SetSuitableResolution(webrtc::VideoCodec* video_codec, in SetSuitableResolution() argument
126 video_codec->width = forced_codec_width; in SetSuitableResolution()
127 video_codec->height = forced_codec_height; in SetSuitableResolution()
128 } else if (video_codec->codecType == webrtc::kVideoCodecI420) { in SetSuitableResolution()
130 video_codec->width = 176; in SetSuitableResolution()
131 video_codec->height = 144; in SetSuitableResolution()
134 video_codec->width = 640; in SetSuitableResolution()
135 video_codec->height = 480; in SetSuitableResolution()
/external/chromium_org/third_party/webrtc/video/
Dvideo_send_stream.cc304 VideoCodec video_codec; in ReconfigureVideoEncoder() local
305 memset(&video_codec, 0, sizeof(video_codec)); in ReconfigureVideoEncoder()
307 video_codec.codecType = kVideoCodecVP8; in ReconfigureVideoEncoder()
309 video_codec.codecType = kVideoCodecH264; in ReconfigureVideoEncoder()
311 video_codec.codecType = kVideoCodecGeneric; in ReconfigureVideoEncoder()
315 video_codec.mode = kRealtimeVideo; in ReconfigureVideoEncoder()
318 video_codec.mode = kScreensharing; in ReconfigureVideoEncoder()
322 if (video_codec.codecType == kVideoCodecVP8) { in ReconfigureVideoEncoder()
323 video_codec.codecSpecific.VP8 = VideoEncoder::GetDefaultVp8Settings(); in ReconfigureVideoEncoder()
324 } else if (video_codec.codecType == kVideoCodecH264) { in ReconfigureVideoEncoder()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dmt_rx_tx_test.cc166 VideoCodec video_codec; in MTRxTxTest() local
167 strncpy(video_codec.plName, "ULPFEC", 32); in MTRxTxTest()
168 video_codec.plType = VCM_ULPFEC_PAYLOAD_TYPE; in MTRxTxTest()
169 TEST(rtp_receiver->RegisterReceivePayload(video_codec.plName, in MTRxTxTest()
170 video_codec.plType, in MTRxTxTest()
173 video_codec.maxBitrate) == 0); in MTRxTxTest()
175 strncpy(video_codec.plName, "RED", 32); in MTRxTxTest()
176 video_codec.plType = VCM_RED_PAYLOAD_TYPE; in MTRxTxTest()
177 TEST(rtp_receiver->RegisterReceivePayload(video_codec.plName, in MTRxTxTest()
178 video_codec.plType, in MTRxTxTest()
[all …]
Dmedia_opt_test.cc214 VideoCodec video_codec; in GeneralSetup() local
215 strncpy(video_codec.plName, "VP8", 32); in GeneralSetup()
216 video_codec.plType = VCM_VP8_PAYLOAD_TYPE; in GeneralSetup()
217 rtp_receiver_->RegisterReceivePayload(video_codec.plName, in GeneralSetup()
218 video_codec.plType, in GeneralSetup()
221 video_codec.maxBitrate); in GeneralSetup()
222 _rtp->RegisterSendPayload(video_codec); in GeneralSetup()
224 strncpy(video_codec.plName, "ULPFEC", 32); in GeneralSetup()
225 video_codec.plType = VCM_ULPFEC_PAYLOAD_TYPE; in GeneralSetup()
226 rtp_receiver_->RegisterReceivePayload(video_codec.plName, in GeneralSetup()
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc62 VideoCodec video_codec; in SetUp() local
63 memset(&video_codec, 0, sizeof(video_codec)); in SetUp()
64 video_codec.plType = 123; in SetUp()
65 memcpy(video_codec.plName, "I420", 5); in SetUp()
67 EXPECT_EQ(0, video_module_->RegisterSendPayload(video_codec)); in SetUp()
68 EXPECT_EQ(0, rtp_receiver_->RegisterReceivePayload(video_codec.plName, in SetUp()
69 video_codec.plType, in SetUp()
72 video_codec.maxBitrate)); in SetUp()
/external/chromium_org/third_party/webrtc/video_engine/include/
Dvie_codec.h56 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/third_party/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc205 VideoCodec video_codec; in SetUp() local
206 memset(&video_codec, 0, sizeof(video_codec)); in SetUp()
207 video_codec.plType = 123; in SetUp()
208 memcpy(video_codec.plName, "I420", 5); in SetUp()
210 EXPECT_EQ(0, rtp_rtcp_module_->RegisterSendPayload(video_codec)); in SetUp()
211 EXPECT_EQ(0, rtp_receiver_->RegisterReceivePayload(video_codec.plName, in SetUp()
212 video_codec.plType, in SetUp()
215 video_codec.maxBitrate)); in SetUp()
/external/chromium_org/media/formats/webm/
Dwebm_video_client.cc38 VideoCodec video_codec = kUnknownVideoCodec; in InitializeConfig() local
41 video_codec = kCodecVP8; in InitializeConfig()
44 video_codec = kCodecVP9; in InitializeConfig()
98 video_codec, profile, format, coded_size, visible_rect, natural_size, in InitializeConfig()
/external/chromium_org/media/base/android/
Dvideo_decoder_job.cc75 video_codec_ = configs.video_codec; in SetDemuxerConfigs()
108 if (video_codec_ == configs.video_codec && in IsCodecReconfigureNeeded()
121 return video_codec_ != configs.video_codec || in AreDemuxerConfigsChanged()
Ddemuxer_stream_player_params.cc14 video_codec(kUnknownVideoCodec), in DemuxerConfigs()
/external/lldb/test/pexpect-2.4/examples/
Drippy.py563 …o_final_filename, video_target_size, audio_id=128, video_bitrate=1000, video_codec='mpeg4', audio_… argument
633 …o_final_filename, video_target_size, audio_id=128, video_bitrate=1000, video_codec='mpeg4', audio_… argument
639 … "compression_test_1.avi", video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
640 … "compression_test_2.avi", video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
641 … "compression_test_3.avi", video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
642 … "compression_test_4.avi", video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
643 … "compression_test_5.avi", video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
652 …o_final_filename, video_target_size, audio_id=128, video_bitrate=1000, video_codec='mpeg4', audio_… argument
661 …ame, video_final_filename, video_target_size, audio_id, video_bitrate, video_codec, audio_codec, v…
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfilemediaengine_unittest.cc238 VideoCodec video_codec; in TEST_F() local
239 EXPECT_TRUE(engine_->FindVideoCodec(video_codec)); in TEST_F()
267 VideoCodec video_codec(96, "H264-SVC", 320, 240, 30, 0); in TEST_F() local
268 video_codecs.push_back(video_codec); in TEST_F()
272 EXPECT_EQ(video_codec, video_codecs[0]); in TEST_F()
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_video_decoder.cc48 cdm::VideoDecoderConfig::VideoCodec video_codec) { in CdmVideoCodecToCodecID() argument
49 switch (video_codec) { in CdmVideoCodecToCodecID()
58 NOTREACHED() << "Unsupported cdm::VideoCodec: " << video_codec; in CdmVideoCodecToCodecID()

12