Loading media/codec2/components/apv/C2SoftApvEnc.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -781,7 +781,7 @@ C2SoftApvEnc::C2SoftApvEnc(const char* name, c2_node_id_t id, mSignalledEos(false), mSignalledError(false), mOutBlock(nullptr) { reset(); resetEncoder(); } C2SoftApvEnc::~C2SoftApvEnc() { Loading @@ -798,7 +798,7 @@ c2_status_t C2SoftApvEnc::onStop() { void C2SoftApvEnc::onReset() { releaseEncoder(); reset(); resetEncoder(); } void C2SoftApvEnc::onRelease() { Loading Loading @@ -828,7 +828,7 @@ int32_t C2SoftApvEnc::getQpFromQuality(int32_t quality) { return qp; } c2_status_t C2SoftApvEnc::reset() { c2_status_t C2SoftApvEnc::resetEncoder() { ALOGV("reset"); mInitEncoder = false; mStarted = false; Loading media/codec2/components/apv/C2SoftApvEnc.h +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ struct C2SoftApvEnc final : public SimpleC2Component { c2_status_t drain(uint32_t drainMode, const std::shared_ptr<C2BlockPool>& pool) override; private: c2_status_t reset(); c2_status_t resetEncoder(); c2_status_t initEncoder(); c2_status_t releaseEncoder(); c2_status_t setEncodeArgs(oapv_frms_t* imgb_inp, const C2GraphicView* const input, Loading Loading
media/codec2/components/apv/C2SoftApvEnc.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -781,7 +781,7 @@ C2SoftApvEnc::C2SoftApvEnc(const char* name, c2_node_id_t id, mSignalledEos(false), mSignalledError(false), mOutBlock(nullptr) { reset(); resetEncoder(); } C2SoftApvEnc::~C2SoftApvEnc() { Loading @@ -798,7 +798,7 @@ c2_status_t C2SoftApvEnc::onStop() { void C2SoftApvEnc::onReset() { releaseEncoder(); reset(); resetEncoder(); } void C2SoftApvEnc::onRelease() { Loading Loading @@ -828,7 +828,7 @@ int32_t C2SoftApvEnc::getQpFromQuality(int32_t quality) { return qp; } c2_status_t C2SoftApvEnc::reset() { c2_status_t C2SoftApvEnc::resetEncoder() { ALOGV("reset"); mInitEncoder = false; mStarted = false; Loading
media/codec2/components/apv/C2SoftApvEnc.h +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ struct C2SoftApvEnc final : public SimpleC2Component { c2_status_t drain(uint32_t drainMode, const std::shared_ptr<C2BlockPool>& pool) override; private: c2_status_t reset(); c2_status_t resetEncoder(); c2_status_t initEncoder(); c2_status_t releaseEncoder(); c2_status_t setEncodeArgs(oapv_frms_t* imgb_inp, const C2GraphicView* const input, Loading