/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | codec_database_test.cc | 104 VideoCodec sendCodec, receiveCodec; in Perform() local 133 &sendCodec) < 0); in Perform() 134 VideoCodingModule::Codec(1, &sendCodec); in Perform() 135 sendCodec.plType = 0; // random value in Perform() 136 TEST(_vcm->RegisterSendCodec(&sendCodec, 1, 1440) < 0); in Perform() 145 VideoCodingModule::Codec(i, &sendCodec); in Perform() 146 printf("%s ", sendCodec.plName); in Perform() 151 VideoCodingModule::Codec(kVideoCodecVP8, &sendCodec); in Perform() 152 _vcm->RegisterSendCodec(&sendCodec, 1, 1440); in Perform() 160 VideoCodingModule::Codec(0, &sendCodec); in Perform() [all …]
|
D | generic_codec_test.cc | 114 VideoCodec sendCodec, receiveCodec; in Perform() local 115 sendCodec.maxBitrate = 8000; in Perform() 117 TEST(_vcm->Codec(0, &sendCodec) == VCM_OK); in Perform() 128 TEST(_vcm->Codec(kVideoCodecVP8, &sendCodec) == 0); in Perform() 129 sendCodec.maxBitrate = 8000; in Perform() 130 _vcm->RegisterSendCodec(&sendCodec, 1, 1440); in Perform() 132 _vcm->Codec(kVideoCodecVP8, &sendCodec); in Perform() 133 sendCodec.height = 0; in Perform() 134 TEST(_vcm->RegisterSendCodec(&sendCodec, 1, 1440) < 0); // bad height in Perform() 135 _vcm->Codec(kVideoCodecVP8, &sendCodec); in Perform() [all …]
|
D | mt_rx_tx_test.cc | 208 VideoCodec sendCodec; in MTRxTxTest() local 216 if (vcm->Codec(args.codecType, &sendCodec) != 0) in MTRxTxTest() 223 sendCodec.startBitrate = (int) bitRate; in MTRxTxTest() 224 sendCodec.height = height; in MTRxTxTest() 225 sendCodec.width = width; in MTRxTxTest() 226 sendCodec.maxFramerate = (uint8_t)frameRate; in MTRxTxTest() 227 vcm->RegisterSendCodec(&sendCodec, numberOfCores, 1440); in MTRxTxTest() 228 vcm->RegisterReceiveCodec(&sendCodec, numberOfCores); // same settings for encode and decode in MTRxTxTest()
|
D | media_opt_test.cc | 250 VideoCodec sendCodec; in GeneralSetup() local 259 if (_vcm->Codec(_sendCodecType, &sendCodec) != 0) in GeneralSetup() 265 sendCodec.startBitrate = (int) _bitRate; in GeneralSetup() 266 sendCodec.height = _height; in GeneralSetup() 267 sendCodec.width = _width; in GeneralSetup() 268 sendCodec.maxFramerate = (uint8_t)_frameRate; in GeneralSetup() 269 _vcm->RegisterSendCodec(&sendCodec, _numberOfCores, 1440); in GeneralSetup() 270 _vcm->RegisterReceiveCodec(&sendCodec, _numberOfCores); // same settings for encode and decode in GeneralSetup()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | video_sender.cc | 118 int32_t VideoSender::RegisterSendCodec(const VideoCodec* sendCodec, in RegisterSendCodec() argument 122 if (sendCodec == NULL) { in RegisterSendCodec() 127 sendCodec, numberOfCores, maxPayloadSize, &_encodedFrameCallback); in RegisterSendCodec() 135 << sendCodec->plName << ". Error code: " << ret; in RegisterSendCodec() 139 int numLayers = (sendCodec->codecType != kVideoCodecVP8) in RegisterSendCodec() 141 : sendCodec->codecSpecific.VP8.numberOfTemporalLayers; in RegisterSendCodec() 144 numLayers > 1 && sendCodec->mode == kScreensharing; in RegisterSendCodec() 151 _nextFrameTypes.resize(VCM_MAX(sendCodec->numberOfSimulcastStreams, 1), in RegisterSendCodec() 154 _mediaOpt.SetEncodingData(sendCodec->codecType, in RegisterSendCodec() 155 sendCodec->maxBitrate * 1000, in RegisterSendCodec() [all …]
|
D | video_coding_impl.cc | 113 virtual int32_t RegisterSendCodec(const VideoCodec* sendCodec, in RegisterSendCodec() argument 116 return sender_->RegisterSendCodec(sendCodec, numberOfCores, maxPayloadSize); in RegisterSendCodec()
|
D | video_coding_impl.h | 65 int32_t RegisterSendCodec(const VideoCodec* sendCodec,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | iSACTest.cc | 52 CodecInst sendCodec; in SetISAConfig() local 53 EXPECT_EQ(0, acm->SendCodec(&sendCodec)); in SetISAConfig() 56 sendCodec.rate = -1; in SetISAConfig() 57 EXPECT_EQ(0, acm->RegisterSendCodec(sendCodec)); in SetISAConfig() 60 sendCodec.rate = isacConfig.currentRateBitPerSec; in SetISAConfig() 63 sendCodec.pacsize = isacConfig.currentFrameSizeMsec in SetISAConfig() 64 * (sendCodec.plfreq / 1000); in SetISAConfig() 66 EXPECT_EQ(0, acm->RegisterSendCodec(sendCodec)); in SetISAConfig() 296 CodecInst sendCodec; in EncodeDecode() local 306 EXPECT_EQ(0, _acmA->SendCodec(&sendCodec)); in EncodeDecode() [all …]
|
D | EncodeDecodeTest.cc | 57 struct CodecInst sendCodec; in Setup() local 76 EXPECT_EQ(0, acm->Codec(n, &sendCodec)); in Setup() 77 printf("%d %s\n", n, sendCodec.plname); in Setup() 83 EXPECT_EQ(0, acm->Codec(codecNo, &sendCodec)); in Setup() 85 sendCodec.channels = channels; in Setup() 87 EXPECT_EQ(0, acm->RegisterSendCodec(sendCodec)); in Setup() 88 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); in Setup()
|
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/testbed/ |
D | tb_video_channel.cc | 17 webrtc::VideoCodecType sendCodec, int width, in TbVideoChannel() argument 34 if (videoCodec.codecType == sendCodec && sendCodecSet == false) { in TbVideoChannel()
|
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/include/ |
D | tb_video_channel.h | 26 webrtc::VideoCodecType sendCodec = webrtc::kVideoCodecVP8,
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/interface/ |
D | video_coding.h | 132 virtual int32_t RegisterSendCodec(const VideoCodec* sendCodec,
|