/external/webrtc/talk/media/base/ |
D | codec_unittest.cc | 35 using cricket::VideoCodec; 162 VideoCodec c0(96, "V", 320, 200, 30, 3); in TEST_F() 163 VideoCodec c1(95, "V", 320, 200, 30, 3); in TEST_F() 164 VideoCodec c2(96, "x", 320, 200, 30, 3); in TEST_F() 165 VideoCodec c3(96, "V", 120, 200, 30, 3); in TEST_F() 166 VideoCodec c4(96, "V", 320, 100, 30, 3); in TEST_F() 167 VideoCodec c5(96, "V", 320, 200, 10, 3); in TEST_F() 168 VideoCodec c6(96, "V", 320, 200, 30, 1); in TEST_F() 176 VideoCodec c7; in TEST_F() 177 VideoCodec c8(0, "", 0, 0, 0, 0); in TEST_F() [all …]
|
D | codec.cc | 217 std::string VideoCodec::ToString() const { in ToString() 224 VideoCodec::VideoCodec(int id, in VideoCodec() function in cricket::VideoCodec 236 VideoCodec::VideoCodec(int id, const std::string& name) in VideoCodec() function in cricket::VideoCodec 243 VideoCodec::VideoCodec() : Codec(), width(0), height(0), framerate(0) { in VideoCodec() function in cricket::VideoCodec 247 VideoCodec::VideoCodec(const VideoCodec& c) = default; 249 VideoCodec& VideoCodec::operator=(const VideoCodec& c) { in operator =() 257 bool VideoCodec::operator==(const VideoCodec& c) const { in operator ==() 262 VideoCodec VideoCodec::CreateRtxCodec(int rtx_payload_type, in CreateRtxCodec() 264 VideoCodec rtx_codec(rtx_payload_type, kRtxCodecName, 0, 0, 0, 0); in CreateRtxCodec() 269 VideoCodec::CodecType VideoCodec::GetCodecType() const { in GetCodecType() [all …]
|
D | codec.h | 163 struct VideoCodec : public Codec { struct 169 VideoCodec(int id, argument 175 VideoCodec(int id, const std::string& name); 177 VideoCodec(); 178 VideoCodec(const VideoCodec& c); 179 ~VideoCodec() = default; 181 static bool Preferable(const VideoCodec& first, const VideoCodec& other) { in Preferable() argument 187 VideoCodec& operator=(const VideoCodec& c); argument 189 bool operator==(const VideoCodec& c) const; 191 bool operator!=(const VideoCodec& c) const { [all …]
|
D | fakemediaengine.h | 453 const std::vector<VideoCodec>& recv_codecs() const { return recv_codecs_; } in recv_codecs() 454 const std::vector<VideoCodec>& send_codecs() const { return send_codecs_; } in send_codecs() 455 const std::vector<VideoCodec>& codecs() const { return send_codecs(); } in codecs() 499 virtual bool GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() 563 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) { in SetRecvCodecs() 571 bool SetSendCodecs(const std::vector<VideoCodec>& codecs) { in SetSendCodecs() 604 std::vector<VideoCodec> recv_codecs_; 605 std::vector<VideoCodec> send_codecs_; 786 codecs_.push_back(VideoCodec(0, "fake_video_codec", 0, 0, 0, 0)); in FakeVideoEngine() 812 const std::vector<VideoCodec>& codecs() const { return codecs_; } in codecs() [all …]
|
D | videoengine_unittest.h | 69 inline bool IsEqualRes(const cricket::VideoCodec& a, int w, int h, int fps) { in IsEqualRes() 73 inline bool IsEqualCodec(const cricket::VideoCodec& a, in IsEqualCodec() 74 const cricket::VideoCodec& b) { in IsEqualCodec() 80 inline std::ostream& operator<<(std::ostream& s, const cricket::VideoCodec& c) { 87 inline int TimeBetweenSend(const cricket::VideoCodec& codec) { in TimeBetweenSend() 136 virtual cricket::VideoCodec DefaultCodec() = 0; 207 return SetOneCodec(cricket::VideoCodec(pt, name, w, h, fr, 0)); in SetOneCodec() 209 bool SetOneCodec(const cricket::VideoCodec& codec) { in SetOneCodec() 236 bool SetSendStreamFormat(uint32_t ssrc, const cricket::VideoCodec& codec) { in SetSendStreamFormat() 439 void Send(const cricket::VideoCodec& codec) { in Send() [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | codec_database.h | 27 VCMDecoderMapItem(VideoCodec* settings, 31 rtc::scoped_ptr<VideoCodec> settings; 53 static void Codec(VideoCodecType codec_type, VideoCodec* settings); 58 bool SetSendCodec(const VideoCodec* send_codec, 64 bool SendCodec(VideoCodec* current_send_codec) const; 96 bool RegisterReceiveCodec(const VideoCodec* receive_codec, 103 bool ReceiveCodec(VideoCodec* current_receive_codec) const; 132 VideoCodec* new_codec) const; 136 bool RequiresEncoderReset(const VideoCodec& send_codec); 152 VideoCodec send_codec_; [all …]
|
D | codec_database.cc | 77 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings, in VCMDecoderMapItem() 119 void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { in Codec() 120 memset(settings, 0, sizeof(VideoCodec)); in Codec() 193 bool VCMCodecDataBase::SetSendCodec(const VideoCodec* send_codec, in SetSendCodec() 215 VideoCodec new_send_codec; in SetSendCodec() 271 bool VCMCodecDataBase::SendCodec(VideoCodec* current_send_codec) const { in SendCodec() 275 memcpy(current_send_codec, &send_codec_, sizeof(VideoCodec)); in SendCodec() 296 memset(&send_codec_, 0, sizeof(VideoCodec)); in DeregisterExternalEncoder() 316 bool VCMCodecDataBase::RequiresEncoderReset(const VideoCodec& new_send_codec) { in RequiresEncoderReset() 431 bool VCMCodecDataBase::RegisterReceiveCodec(const VideoCodec* receive_codec, in RegisterReceiveCodec() [all …]
|
/external/webrtc/webrtc/video/ |
D | vie_codec_unittest.cc | 17 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 …]
|
D | video_decoder_unittest.cc | 26 int32_t InitDecode(const VideoCodec* codec_settings, in InitDecode() 73 VideoCodec codec = {}; in TEST_F() 80 VideoCodec codec = {}; in TEST_F() 108 VideoCodec codec = {}; in TEST_F() 123 VideoCodec codec = {}; in TEST_F() 138 VideoCodec codec = {}; in TEST_F() 164 VideoCodec codec = {}; in TEST_F() 178 VideoCodec codec = {}; in TEST_F()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoengine2.h | 79 std::vector<VideoCodec> DefaultVideoCodecList(); 118 const std::vector<VideoCodec>& codecs() const; 133 bool FindCodec(const VideoCodec& in); 138 std::vector<VideoCodec> GetSupportedCodecs() const; 140 std::vector<VideoCodec> video_codecs_; 156 const std::vector<VideoCodec>& recv_codecs, 164 bool GetSendCodec(VideoCodec* send_codec) override; 202 bool SetSendCodecs(const std::vector<VideoCodec>& codecs); 207 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs); 227 VideoCodec codec; [all …]
|
D | fakewebrtcvideoengine.h | 67 virtual int32_t InitDecode(const webrtc::VideoCodec*, int32_t) { in InitDecode() argument 145 virtual int32_t InitEncode(const webrtc::VideoCodec* codecSettings, in InitEncode() 153 webrtc::VideoCodec GetCodecSettings() { in GetCodecSettings() 189 webrtc::VideoCodec codec_settings_ GUARDED_BY(crit_); 216 virtual const std::vector<WebRtcVideoEncoderFactory::VideoCodec>& codecs() in codecs() 234 WebRtcVideoEncoderFactory::VideoCodec(type, name, 1280, 720, 30)); in AddSupportedVideoCodecType() 247 std::vector<WebRtcVideoEncoderFactory::VideoCodec> codecs_;
|
D | webrtcvideoencoderfactory.h | 43 struct VideoCodec { struct 50 VideoCodec(webrtc::VideoCodecType t, const std::string& nm, int w, int h, in VideoCodec() argument 64 virtual const std::vector<VideoCodec>& codecs() const = 0;
|
D | webrtcvideoengine2_unittest.cc | 50 static const cricket::VideoCodec kVp8Codec720p(100, "VP8", 1280, 720, 30, 0); 51 static const cricket::VideoCodec kVp8Codec360p(100, "VP8", 640, 360, 30, 0); 52 static const cricket::VideoCodec kVp8Codec270p(100, "VP8", 480, 270, 30, 0); 54 static const cricket::VideoCodec kVp8Codec(100, "VP8", 640, 400, 30, 0); 55 static const cricket::VideoCodec kVp9Codec(101, "VP9", 640, 400, 30, 0); 56 static const cricket::VideoCodec kH264Codec(102, "H264", 640, 400, 30, 0); 58 static const cricket::VideoCodec kRedCodec(116, "red", 0, 0, 0, 0); 59 static const cricket::VideoCodec kUlpfecCodec(117, "ulpfec", 0, 0, 0, 0); 70 void VerifyCodecHasDefaultFeedbackParams(const cricket::VideoCodec& codec) { in VerifyCodecHasDefaultFeedbackParams() 122 std::vector<VideoCodec> engine_codecs = engine_.codecs(); in WebRtcVideoEngine2Test() [all …]
|
D | webrtcvideoengine2.cc | 93 const std::vector<VideoCodec>& codecs) { in UseSimulcastEncoderFactory() 119 const std::vector<VideoCodec>& codecs() const override { in codecs() 164 void AddDefaultFeedbackParams(VideoCodec* codec) { in AddDefaultFeedbackParams() 173 static VideoCodec MakeVideoCodecWithDefaultFeedbackParams(int payload_type, in MakeVideoCodecWithDefaultFeedbackParams() 175 VideoCodec codec(payload_type, name, kDefaultVideoMaxWidth, in MakeVideoCodecWithDefaultFeedbackParams() 181 static std::string CodecVectorToString(const std::vector<VideoCodec>& codecs) { in CodecVectorToString() 194 static bool ValidateCodecFormats(const std::vector<VideoCodec>& codecs) { in ValidateCodecFormats() 200 if (codecs[i].GetCodecType() == VideoCodec::CODEC_VIDEO) { in ValidateCodecFormats() 327 std::vector<VideoCodec> DefaultVideoCodecList() { in DefaultVideoCodecList() 328 std::vector<VideoCodec> codecs; in DefaultVideoCodecList() [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.h | 36 int InitEncode(const VideoCodec* codec_settings, 73 int InitAndSetControlSettings(const VideoCodec* inst); 107 VideoCodec codec_; 140 int InitDecode(const VideoCodec* inst, int number_of_cores) override; 164 VideoCodec codec_;
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.h | 45 virtual int InitEncode(const VideoCodec* codec_settings, 66 const VideoCodec& codec); 95 VideoCodec codec_; 129 int InitDecode(const VideoCodec* inst, int number_of_cores) override; 161 VideoCodec codec_;
|
D | simulcast_encoder_adapter.h | 40 int InitEncode(const VideoCodec* inst, 103 void PopulateStreamCodec(const webrtc::VideoCodec* inst, 107 webrtc::VideoCodec* stream_codec, 114 VideoCodec codec_;
|
D | simulcast_encoder_adapter.cc | 29 uint32_t SumStreamTargetBitrate(int streams, const webrtc::VideoCodec& codec) { in SumStreamTargetBitrate() 37 uint32_t SumStreamMaxBitrate(int streams, const webrtc::VideoCodec& codec) { in SumStreamMaxBitrate() 45 int NumberOfStreams(const webrtc::VideoCodec& codec) { in NumberOfStreams() 55 bool ValidSimulcastResolutions(const webrtc::VideoCodec& codec, in ValidSimulcastResolutions() 70 int VerifyCodec(const webrtc::VideoCodec* inst) { in VerifyCodec() 141 memset(&codec_, 0, sizeof(webrtc::VideoCodec)); in SimulcastEncoderAdapter() 164 int SimulcastEncoderAdapter::InitEncode(const VideoCodec* inst, in InitEncode() 200 VideoCodec stream_codec; in InitEncode() 439 const webrtc::VideoCodec* inst, in PopulateStreamCodec() 443 webrtc::VideoCodec* stream_codec, in PopulateStreamCodec()
|
D | simulcast_encoder_adapter_unittest.cc | 108 int32_t InitEncode(const VideoCodec* codecSettings, in InitEncode() 139 const VideoCodec& codec() const { return codec_; } in codec() 157 VideoCodec codec_; 249 void VerifyCodec(const VideoCodec& ref, int stream_index) { in VerifyCodec() 250 const VideoCodec& target = in VerifyCodec() 290 void InitRefCodec(int stream_index, VideoCodec* ref_codec) { in InitRefCodec() 303 VideoCodec ref_codec; in VerifyCodecSettings() 333 VideoCodec codec_;
|
/external/webrtc/webrtc/ |
D | video_decoder.h | 26 struct VideoCodec; 63 virtual int32_t InitDecode(const VideoCodec* codec_settings, 94 int32_t InitDecode(const VideoCodec* codec_settings, 118 VideoCodec codec_settings_;
|
D | video_encoder.h | 26 struct VideoCodec; 70 virtual int32_t InitEncode(const VideoCodec* codec_settings, 139 int32_t InitEncode(const VideoCodec* codec_settings, 163 VideoCodec codec_settings_;
|
/external/webrtc/talk/session/media/ |
D | channelmanager_unittest.cc | 47 static const VideoCodec kVideoCodecs[] = { 48 VideoCodec(99, "H264", 100, 200, 300, 0), 49 VideoCodec(100, "VP8", 100, 200, 300, 0), 50 VideoCodec(96, "rtx", 100, 200, 300, 0), 222 std::vector<VideoCodec> codecs; in TEST_F() 223 const VideoCodec rtx_codec(96, "rtx", 0, 0, 0, 0); in TEST_F()
|
D | mediasession_unittest.cc | 80 using cricket::VideoCodec; 113 static const VideoCodec kVideoCodecs1[] = { 114 VideoCodec(96, "H264-SVC", 320, 200, 30, 2), 115 VideoCodec(97, "H264", 320, 200, 30, 1) 118 static const VideoCodec kVideoCodecs2[] = { 119 VideoCodec(126, "H264", 320, 200, 30, 2), 120 VideoCodec(127, "H263", 320, 200, 30, 1) 123 static const VideoCodec kVideoCodecsAnswer[] = { 124 VideoCodec(97, "H264", 320, 200, 30, 1) 213 static void AddRtxCodec(const VideoCodec& rtx_codec, in AddRtxCodec() [all …]
|
/external/webrtc/webrtc/modules/video_coding/include/ |
D | video_coding.h | 88 static void Codec(VideoCodecType codecType, VideoCodec* codec); 108 virtual int32_t RegisterSendCodec(const VideoCodec* sendCodec, 286 virtual int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, 400 virtual int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const = 0;
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | androidmediaencoder_jni.h | 51 const std::vector<VideoCodec>& codecs() const override; 57 std::vector<VideoCodec> supported_codecs_;
|