Home
last modified time | relevance | path

Searched refs:prev_mode (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddecision_logic.cc109 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 …]
Ddecision_logic_normal.cc32 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 …]
Ddecision_logic_normal.h55 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,
Ddecision_logic.h80 Modes prev_mode,
139 Modes prev_mode,
145 void FilterBufferLevel(size_t buffer_size_packets, Modes prev_mode);
Ddecision_logic_fax.h51 Modes prev_mode,
Ddecision_logic_fax.cc27 Modes prev_mode, in GetDecisionSpecialized() argument
/external/libopus/src/
Dopus_decoder.c69 int prev_mode; member
138 st->prev_mode = 0; in opus_decoder_init()
262 mode = st->prev_mode; in opus_decode_frame()
300 if (data!=NULL && st->prev_mode > 0 && ( in opus_decode_frame()
301 (mode == MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY && !st->prev_redundancy) in opus_decode_frame()
302 || (mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) ) in opus_decode_frame()
337 if (st->prev_mode==MODE_CELT_ONLY) in opus_decode_frame()
476 if (mode != st->prev_mode && st->prev_mode > 0 && !st->prev_redundancy) in opus_decode_frame()
487 if (st->prev_mode == MODE_HYBRID && !(redundancy && celt_to_silk && st->prev_redundancy) ) in opus_decode_frame()
570 st->prev_mode = mode; in opus_decode_frame()
[all …]
Dopus_encoder.c91 int prev_mode; member
1124 if (st->prev_mode==MODE_CELT_ONLY) in opus_encode_native()
1146 if (st->prev_mode == MODE_CELT_ONLY) in opus_encode_native()
1148 else if (st->prev_mode>0) in opus_encode_native()
1174 && st->mode != MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY) in opus_encode_native()
1183 if (st->prev_mode > 0 && in opus_encode_native()
1184 ((st->mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) || in opus_encode_native()
1185 (st->mode == MODE_CELT_ONLY && st->prev_mode != MODE_CELT_ONLY))) in opus_encode_native()
1194 st->mode = st->prev_mode; in opus_encode_native()
1219 if (st->mode != MODE_CELT_ONLY && st->prev_mode == MODE_CELT_ONLY) in opus_encode_native()
[all …]
/external/opencv/cxcore/src/
Dcxerror.cpp317 int prev_mode = context->err_mode; in cvSetErrMode() local
319 return prev_mode; in cvSetErrMode()