/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_codec_database.cc | 225 int codec_id = CodecId(codec_inst); in CodecNumber() local 228 if (codec_id == -1) { in CodecNumber() 238 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) { in CodecNumber() 239 return codec_id; in CodecNumber() 243 if (STR_CASE_CMP(database_[codec_id].plname, "red") == 0) { in CodecNumber() 244 return codec_id; in CodecNumber() 248 if (codec_settings_[codec_id].num_packet_sizes > 0) { in CodecNumber() 252 for (i = 0; i < codec_settings_[codec_id].num_packet_sizes; i++) { in CodecNumber() 254 codec_settings_[codec_id].packet_sizes_samples[i]; in CodecNumber() 273 return IsISACRateValid(codec_inst.rate) ? codec_id : kInvalidRate; in CodecNumber() [all …]
|
D | rent_a_codec.cc | 53 rtc::Optional<CodecInst> RentACodec::CodecInstById(CodecId codec_id) { in CodecInstById() argument 54 rtc::Optional<int> mi = CodecIndexFromId(codec_id); in CodecInstById() 67 rtc::Optional<CodecId> codec_id = in CodecInstByParams() local 69 if (!codec_id) in CodecInstByParams() 71 rtc::Optional<CodecInst> ci = CodecInstById(*codec_id); in CodecInstByParams() 85 rtc::Optional<bool> RentACodec::IsSupportedNumChannels(CodecId codec_id, in IsSupportedNumChannels() argument 87 auto i = CodecIndexFromId(codec_id); in IsSupportedNumChannels() 100 CodecId codec_id, in NetEqDecoderFromCodecId() argument 102 rtc::Optional<int> i = CodecIndexFromId(codec_id); in NetEqDecoderFromCodecId()
|
D | rent_a_codec.h | 149 static inline rtc::Optional<int> CodecIndexFromId(CodecId codec_id) { in CodecIndexFromId() argument 150 const int i = static_cast<int>(codec_id); in CodecIndexFromId() 166 static rtc::Optional<CodecInst> CodecInstById(CodecId codec_id); 179 static rtc::Optional<bool> IsSupportedNumChannels(CodecId codec_id, 183 CodecId codec_id,
|
D | audio_coding_module.cc | 46 auto codec_id = acm2::RentACodec::CodecIdFromIndex(list_id); in Codec() local 47 if (!codec_id) in Codec() 49 auto ci = acm2::RentACodec::CodecInstById(*codec_id); in Codec()
|
D | acm_receiver_unittest_oldapi.cc | 39 explicit CodecIdInst(RentACodec::CodecId codec_id) { in CodecIdInst() 40 const auto codec_ix = RentACodec::CodecIndexFromId(codec_id); in CodecIdInst() 43 const auto codec_inst = RentACodec::CodecInstById(codec_id); in CodecIdInst() 88 void InsertOnePacketOfSilence(int codec_id) { in InsertOnePacketOfSilence() argument 90 *RentACodec::CodecInstById(*RentACodec::CodecIdFromIndex(codec_id)); in InsertOnePacketOfSilence() 281 for (const auto codec_id : kCodecId) { in TEST_F() local 282 const CodecIdInst codec(codec_id); in TEST_F()
|
D | codec_manager.cc | 77 int codec_id = IsValidSendCodec(send_codec); in RegisterEncoder() local 80 if (codec_id < 0) { in RegisterEncoder()
|
D | audio_coding_module_impl.cc | 597 auto codec_id = in RegisterReceiveCodec() local 599 if (!codec_id) { in RegisterReceiveCodec() 603 auto codec_index = RentACodec::CodecIndexFromId(*codec_id); in RegisterReceiveCodec() 604 RTC_CHECK(codec_index) << "Invalid codec ID: " << static_cast<int>(*codec_id); in RegisterReceiveCodec()
|
D | acm_receiver.cc | 111 bool IsCng(int codec_id) { in IsCng() argument 112 auto i = RentACodec::CodecIdFromIndex(codec_id); in IsCng()
|
/external/libvpx/libvpx/ |
D | webmenc.cc | 48 const char *codec_id; in write_webm_file_header() local 50 case VP8_FOURCC: codec_id = "V_VP8"; break; in write_webm_file_header() 52 default: codec_id = "V_VP9"; break; in write_webm_file_header() 54 video_track->set_codec_id(codec_id); in write_webm_file_header()
|
/external/libvncserver/client_examples/ |
D | vnc2mpg.c | 48 AVStream *add_video_stream(AVFormatContext *oc, int codec_id, int w, int h) in add_video_stream() argument 64 c->codec_id = codec_id; in add_video_stream() 82 if (c->codec_id == CODEC_ID_MPEG2VIDEO) { in add_video_stream() 86 if (c->codec_id == CODEC_ID_MPEG1VIDEO){ in add_video_stream() 131 codec = avcodec_find_encoder(c->codec_id); in open_video()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | PacketLossTest.cc | 131 int codec_id = acm->Codec("opus", 48000, channels_); in Perform() 142 sender_->codeId = codec_id; in Perform() 157 receiver_->codeId = codec_id; in Perform()
|
D | opus_test.cc | 94 int codec_id = acm_receiver_->Codec("opus", 48000, 2); in Perform() 95 EXPECT_EQ(0, acm_receiver_->Codec(codec_id, &opus_codec_param)); in Perform()
|
/external/adhd/cras/src/common/ |
D | a2dp-codecs.h | 138 uint8_t codec_id[2]; member
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 910 void Track::set_codec_id(const char* codec_id) { in set_codec_id() argument 911 if (codec_id) { in set_codec_id() 914 const size_t length = strlen(codec_id) + 1; in set_codec_id() 918 strcpy_s(codec_id_, length, codec_id); in set_codec_id() 920 strcpy(codec_id_, codec_id); in set_codec_id() 4179 const std::string codec_id = track->codec_id(); in DocTypeIsWebm() local 4183 if (codec_id == kWebmCodecIds[id_index]) { in DocTypeIsWebm()
|
D | mkvmuxer.h | 681 void set_codec_id(const char* codec_id); 682 const char* codec_id() const { return codec_id_; } in codec_id() function
|
/external/webrtc/talk/session/media/ |
D | mediasession.cc | 348 int codec_id = sctp ? kGoogleRtpDataCodecId : kGoogleSctpDataCodecId; in FilterDataCodecs() local 351 if (iter->id == codec_id) { in FilterDataCodecs()
|