Home
last modified time | relevance | path

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

/external/webrtc/webrtc/video/
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 …]
Dvideo_send_stream.cc305 VideoCodec video_codec; in ReconfigureVideoEncoder() local
306 memset(&video_codec, 0, sizeof(video_codec)); in ReconfigureVideoEncoder()
308 video_codec.codecType = kVideoCodecVP8; in ReconfigureVideoEncoder()
310 video_codec.codecType = kVideoCodecVP9; in ReconfigureVideoEncoder()
312 video_codec.codecType = kVideoCodecH264; in ReconfigureVideoEncoder()
314 video_codec.codecType = kVideoCodecGeneric; in ReconfigureVideoEncoder()
319 video_codec.mode = kRealtimeVideo; in ReconfigureVideoEncoder()
322 video_codec.mode = kScreensharing; in ReconfigureVideoEncoder()
325 video_codec.targetBitrate = in ReconfigureVideoEncoder()
331 if (video_codec.codecType == kVideoCodecVP8) { in ReconfigureVideoEncoder()
[all …]
Dvie_receiver.cc83 bool ViEReceiver::SetReceiveCodec(const VideoCodec& video_codec) { in SetReceiveCodec() argument
85 if (rtp_payload_registry_->ReceivePayloadType(video_codec.plName, in SetReceiveCodec()
88 video_codec.maxBitrate, in SetReceiveCodec()
93 return RegisterPayload(video_codec); in SetReceiveCodec()
96 bool ViEReceiver::RegisterPayload(const VideoCodec& video_codec) { in RegisterPayload() argument
97 return rtp_receiver_->RegisterReceivePayload(video_codec.plName, in RegisterPayload()
98 video_codec.plType, in RegisterPayload()
101 video_codec.maxBitrate) == 0; in RegisterPayload()
Dvie_encoder.cc210 int32_t ViEEncoder::SetEncoder(const webrtc::VideoCodec& video_codec) { in SetEncoder() argument
213 if (vp_->SetTargetResolution(video_codec.width, video_codec.height, in SetEncoder()
214 video_codec.maxFramerate) != VPM_OK) { in SetEncoder()
222 encoder_config_ = video_codec; in SetEncoder()
228 bitrate_observer_.get(), video_codec.minBitrate * 1000, in SetEncoder()
229 video_codec.maxBitrate * 1000); in SetEncoder()
231 webrtc::VideoCodec modified_video_codec = video_codec; in SetEncoder()
Dvie_channel.cc340 int32_t ViEChannel::SetSendCodec(const VideoCodec& video_codec, in SetSendCodec() argument
343 if (video_codec.codecType == kVideoCodecRED || in SetSendCodec()
344 video_codec.codecType == kVideoCodecULPFEC) { in SetSendCodec()
345 LOG_F(LS_ERROR) << "Not a valid send codec " << video_codec.codecType; in SetSendCodec()
348 if (kMaxSimulcastStreams < video_codec.numberOfSimulcastStreams) { in SetSendCodec()
350 << video_codec.numberOfSimulcastStreams; in SetSendCodec()
365 size_t num_active_modules = video_codec.numberOfSimulcastStreams > 0 in SetSendCodec()
366 ? video_codec.numberOfSimulcastStreams in SetSendCodec()
389 rtp_rtcp->DeRegisterSendPayload(video_codec.plType); in SetSendCodec()
390 if (rtp_rtcp->RegisterSendPayload(video_codec) != 0) { in SetSendCodec()
[all …]
Dvie_receiver.h44 bool SetReceiveCodec(const VideoCodec& video_codec);
45 bool RegisterPayload(const VideoCodec& video_codec);
Dvideo_send_stream.h76 bool SetSendCodec(VideoCodec video_codec);
Dvie_channel.h87 int32_t SetSendCodec(const VideoCodec& video_codec, bool new_stream = true);
88 int32_t SetReceiveCodec(const VideoCodec& video_codec);
Dvie_encoder.h89 int32_t SetEncoder(const VideoCodec& video_codec);
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc65 VideoCodec video_codec; in SetUp() local
66 memset(&video_codec, 0, sizeof(video_codec)); in SetUp()
67 video_codec.plType = 123; in SetUp()
68 memcpy(video_codec.plName, "I420", 5); in SetUp()
70 EXPECT_EQ(0, video_module_->RegisterSendPayload(video_codec)); in SetUp()
71 EXPECT_EQ(0, rtp_receiver_->RegisterReceivePayload(video_codec.plName, in SetUp()
72 video_codec.plType, in SetUp()
75 video_codec.maxBitrate)); in SetUp()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc203 VideoCodec video_codec; in SetUp() local
204 memset(&video_codec, 0, sizeof(video_codec)); in SetUp()
205 video_codec.plType = kPayloadType; in SetUp()
206 memcpy(video_codec.plName, "I420", 5); in SetUp()
208 EXPECT_EQ(0, rtp_rtcp_module_->RegisterSendPayload(video_codec)); in SetUp()
211 video_codec.plName, video_codec.plType, 90000, 0, in SetUp()
212 video_codec.maxBitrate)); in SetUp()
Drtp_rtcp_impl.cc252 int32_t ModuleRtpRtcpImpl::RegisterSendPayload(const VideoCodec& video_codec) { in RegisterSendPayload() argument
253 send_video_codec_ = video_codec; in RegisterSendPayload()
254 return rtp_sender_.RegisterPayload(video_codec.plName, in RegisterSendPayload()
255 video_codec.plType, in RegisterSendPayload()
258 video_codec.maxBitrate); in RegisterSendPayload()
Drtp_rtcp_impl.h52 int32_t RegisterSendPayload(const VideoCodec& video_codec) override;
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_decoder.h34 int InitDecode(const VideoCodec* video_codec, int number_of_cores) override;
Dh264_video_toolbox_decoder.cc116 int H264VideoToolboxDecoder::InitDecode(const VideoCodec* video_codec, in InitDecode() argument
/external/libvncserver/client_examples/
Dvnc2mpg.c252 if (fmt->video_codec != CODEC_ID_NONE) { in movie_open()
253 video_st = add_video_stream(oc, fmt->video_codec, w, h); in movie_open()
/external/opencv3/3rdparty/include/ffmpeg_/libavformat/
Davformat.h398 enum AVCodecID video_codec; /**< default video codec */ member
/external/webrtc/talk/session/media/
Dchannel_unittest.cc403 const cricket::VideoCodec& video_codec, in CreateContent() argument
1814 const cricket::VideoCodec& video_codec, in CreateContent() argument
1886 const cricket::VideoCodec& video_codec, in CreateContent() argument
1888 video->AddCodec(video_codec); in CreateContent()
2602 const cricket::VideoCodec& video_codec, in CreateContent() argument
/external/opencv3/modules/videoio/src/
Dcap_ffmpeg_impl.hpp1160 c->codec_id = oc->oformat->video_codec; in icv_add_video_stream_FFMPEG()