Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp58 state_ = 0.0f; in Initialize()
86 const float prev_state = state_; in Compress()
87 if (cv <= state_) { in Compress()
88 state_ = alpha_attack_ * state_ + (1.0f - alpha_attack_) * cv; in Compress()
90 state_ = alpha_release_ * state_ + (1.0f - alpha_release_) * cv; in Compress()
93 math::ExpApproximationViaTaylorExpansionOrder5(state_ - prev_state); in Compress()
115 const float prev_state = state_; in Compress()
116 if (cv <= state_) { in Compress()
117 state_ = alpha_attack_ * state_ + (1.0f - alpha_attack_) * cv; in Compress()
119 state_ = alpha_release_ * state_ + (1.0f - alpha_release_) * cv; in Compress()
[all …]
Dinterpolator_linear.h58 using BaseClass::state_;
73 state_ = NULL; in SetInternalState()
Dinterpolator_base-inl.h43 state_ = NULL; in InterpolatorBase()
48 delete [] state_; in ~InterpolatorBase()
105 state_ = NULL; in Initialize()
Ddynamic_range_compression.h97 float state_; variable
Dinterpolator_base.h100 double *state_; variable
/frameworks/native/libs/vr/libpdx/
Dclient.cpp132 client_.GetChannel()->FreeTransactionState(state_); in ~Transaction()
137 state_ = client_.GetChannel()->AllocateTransactionState(); in EnsureStateAllocated()
157 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
183 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
204 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
225 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
232 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
239 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
250 return client_.GetChannel()->PushChannelHandle(state_, handle); in PushChannelHandle()
257 return client_.GetChannel()->PushChannelHandle(state_, handle); in PushChannelHandle()
[all …]
Dservice.cpp29 state_ = svc->endpoint()->AllocateMessageState();
44 std::swap(state_, other.state_); in operator =()
61 svc->endpoint()->FreeMessageState(state_); in Destroy()
63 state_ = nullptr; in Destroy()
/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp61 state_ = State::CLOSED; in Close()
82 state_ = State::CLOSED; in ConfigureBegin()
85 state_ = State::CONFIGURING; in ConfigureBegin()
226 state_ = State::READY; in ConfigureEnd()
310 if (state_ != required_state) { in RequireState()
311 ALOGE("in state %d but require state %d", static_cast<int>(state_), in RequireState()
334 result.appendFormat("injector_state = %d\n", static_cast<int>(state_)); in dumpInternal()
DEvdevInjector.h135 State state_ = State::NEW; variable
/frameworks/base/cmds/idmap2/libidmap2/
DResourceContainer.cpp320 mutable std::variant<std::unique_ptr<ZipAssetsProvider>, ResState> state_; member
326 : state_(std::move(zip_assets)), path_(std::move(path)) { in ApkResourceContainer()
340 if (auto state = std::get_if<ResState>(&state_); state != nullptr) { in GetState()
345 ResState::Initialize(std::move(std::get<std::unique_ptr<ZipAssetsProvider>>(state_))); in GetState()
350 state_ = std::move(*state); in GetState()
351 return &std::get<ResState>(state_); in GetState()
355 if (auto zip = std::get_if<std::unique_ptr<ZipAssetsProvider>>(&state_); zip != nullptr) { in GetZipAssets()
358 return std::get<ResState>(state_).zip_assets; in GetZipAssets()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h345 const void* GetState() const { return state_; } in GetState()
346 void* GetState() { return state_; } in GetState()
358 void* state_{nullptr};
Dclient.h295 void* state_{nullptr};