Searched refs:prev_mode (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | decision_logic.cc | 109 Modes prev_mode, in GetDecision() argument 111 if (prev_mode == kModeRfc3389Cng || in GetDecision() 112 prev_mode == kModeCodecInternalCng || in GetDecision() 113 prev_mode == kModeExpand) { in GetDecision() 119 if (prev_mode == kModeRfc3389Cng) { in GetDecision() 121 } else if (prev_mode == kModeCodecInternalCng) { in GetDecision() 133 (prev_mode == kModeAccelerateSuccess || in GetDecision() 134 prev_mode == kModeAccelerateLowEnergy || in GetDecision() 135 prev_mode == kModePreemptiveExpandSuccess || in GetDecision() 136 prev_mode == kModePreemptiveExpandLowEnergy); in GetDecision() [all …]
|
D | decision_logic_normal.cc | 32 Modes prev_mode, in GetDecisionSpecialized() argument 37 if (prev_mode == kModeError) { in GetDecisionSpecialized() 55 return CngOperation(prev_mode, target_timestamp, available_timestamp); in GetDecisionSpecialized() 74 return ExpectedPacketAvailable(prev_mode, play_dtmf); in GetDecisionSpecialized() 78 prev_mode, target_timestamp, in GetDecisionSpecialized() 87 Operations DecisionLogicNormal::CngOperation(Modes prev_mode, in CngOperation() argument 106 if (timestamp_diff < 0 && prev_mode == kModeRfc3389Cng) { in CngOperation() 131 Operations DecisionLogicNormal::ExpectedPacketAvailable(Modes prev_mode, in ExpectedPacketAvailable() argument 133 if (prev_mode != kModeExpand && !play_dtmf) { in ExpectedPacketAvailable() 153 Modes prev_mode, in FuturePacketAvailable() argument [all …]
|
D | decision_logic_normal.h | 55 Modes prev_mode, 65 Modes prev_mode, 71 virtual Operations ExpectedPacketAvailable(Modes prev_mode, bool play_dtmf); 80 Operations CngOperation(Modes prev_mode, uint32_t target_timestamp,
|
D | decision_logic.h | 80 Modes prev_mode, 139 Modes prev_mode, 145 void FilterBufferLevel(size_t buffer_size_packets, Modes prev_mode);
|
D | decision_logic_fax.h | 51 Modes prev_mode,
|
D | decision_logic_fax.cc | 27 Modes prev_mode, in GetDecisionSpecialized() argument
|
/external/libopus/src/ |
D | opus_decoder.c | 70 int prev_mode; member 133 st->prev_mode = 0; in opus_decoder_init() 259 mode = st->prev_mode; in opus_decode_frame() 305 if (data!=NULL && st->prev_mode > 0 && ( in opus_decode_frame() 306 (mode == MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY && !st->prev_redundancy) in opus_decode_frame() 307 || (mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) ) in opus_decode_frame() 348 if (st->prev_mode==MODE_CELT_ONLY) in opus_decode_frame() 487 if (mode != st->prev_mode && st->prev_mode > 0 && !st->prev_redundancy) in opus_decode_frame() 501 if (st->prev_mode == MODE_HYBRID && !(redundancy && celt_to_silk && st->prev_redundancy) ) in opus_decode_frame() 584 st->prev_mode = mode; in opus_decode_frame() [all …]
|
D | opus_encoder.c | 101 int prev_mode; member 1355 if (st->prev_mode==MODE_CELT_ONLY) in opus_encode_native() 1377 if (st->prev_mode == MODE_CELT_ONLY) in opus_encode_native() 1379 else if (st->prev_mode>0) in opus_encode_native() 1412 if (st->prev_mode > 0 && in opus_encode_native() 1413 ((st->mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) || in opus_encode_native() 1414 (st->mode == MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY))) in opus_encode_native() 1423 st->mode = st->prev_mode; in opus_encode_native() 1434 && st->mode != MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY) in opus_encode_native() 1447 if (st->mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) in opus_encode_native() [all …]
|