Loading media/codec2/components/apv/C2SoftApvDec.cpp +6 −5 Original line number Diff line number Diff line Loading @@ -496,8 +496,6 @@ C2SoftApvDec::C2SoftApvDec(const char* name, c2_node_id_t id, const std::shared_ptr<IntfImpl>& intfImpl) : SimpleC2Component(std::make_shared<SimpleInterface<IntfImpl>>(name, id, intfImpl)), mIntf(intfImpl), mDecHandle(nullptr), mMetadataHandle(nullptr), mOutBufferFlush(nullptr), mOutputDelay(kDefaultOutputDelay), mOutIndex(0u), Loading @@ -505,8 +503,11 @@ C2SoftApvDec::C2SoftApvDec(const char* name, c2_node_id_t id, mWidth(320), mHeight(240), mSignalledOutputEos(false), mSignalledError(false) { mOutCsp = OUTPUT_CSP_P210; mSignalledError(false), mDecHandle(nullptr), mMetadataHandle(nullptr), mOutCsp(OUTPUT_CSP_P210) { memset(&mOutFrames, 0, sizeof(oapv_frms_t)); } C2SoftApvDec::~C2SoftApvDec() { Loading Loading @@ -1109,7 +1110,7 @@ void C2SoftApvDec::getHDRStaticParams(const struct ApvHdrInfo *buffer, void C2SoftApvDec::getHDR10PlusInfoData(const struct ApvHdrInfo *buffer, const std::unique_ptr<C2Work> &work) { if(!buffer->has_itut_t35) { ALOGD("no itu_t_t35 data"); ALOGV("no itu_t_t35 data"); return; } Loading media/codec2/components/apv/C2SoftApvDec.h +2 −3 Original line number Diff line number Diff line Loading @@ -66,7 +66,6 @@ struct C2SoftApvDec final : public SimpleC2Component { std::shared_ptr<IntfImpl> mIntf; uint8_t *mOutBufferFlush; uint32_t mOutputDelay; bool mHeaderDecoded; std::atomic_uint64_t mOutIndex; std::shared_ptr<C2GraphicBlock> mOutBlock; Loading Loading @@ -113,8 +112,8 @@ struct C2SoftApvDec final : public SimpleC2Component { ApvHdrInfo() : has_hdr_mdcv(false), has_hdr_cll(false), has_itut_t35(false) { } has_itut_t35(false), has_hdr_cll(false) { } // Master Display Color Volume struct HdrMdcv { Loading Loading
media/codec2/components/apv/C2SoftApvDec.cpp +6 −5 Original line number Diff line number Diff line Loading @@ -496,8 +496,6 @@ C2SoftApvDec::C2SoftApvDec(const char* name, c2_node_id_t id, const std::shared_ptr<IntfImpl>& intfImpl) : SimpleC2Component(std::make_shared<SimpleInterface<IntfImpl>>(name, id, intfImpl)), mIntf(intfImpl), mDecHandle(nullptr), mMetadataHandle(nullptr), mOutBufferFlush(nullptr), mOutputDelay(kDefaultOutputDelay), mOutIndex(0u), Loading @@ -505,8 +503,11 @@ C2SoftApvDec::C2SoftApvDec(const char* name, c2_node_id_t id, mWidth(320), mHeight(240), mSignalledOutputEos(false), mSignalledError(false) { mOutCsp = OUTPUT_CSP_P210; mSignalledError(false), mDecHandle(nullptr), mMetadataHandle(nullptr), mOutCsp(OUTPUT_CSP_P210) { memset(&mOutFrames, 0, sizeof(oapv_frms_t)); } C2SoftApvDec::~C2SoftApvDec() { Loading Loading @@ -1109,7 +1110,7 @@ void C2SoftApvDec::getHDRStaticParams(const struct ApvHdrInfo *buffer, void C2SoftApvDec::getHDR10PlusInfoData(const struct ApvHdrInfo *buffer, const std::unique_ptr<C2Work> &work) { if(!buffer->has_itut_t35) { ALOGD("no itu_t_t35 data"); ALOGV("no itu_t_t35 data"); return; } Loading
media/codec2/components/apv/C2SoftApvDec.h +2 −3 Original line number Diff line number Diff line Loading @@ -66,7 +66,6 @@ struct C2SoftApvDec final : public SimpleC2Component { std::shared_ptr<IntfImpl> mIntf; uint8_t *mOutBufferFlush; uint32_t mOutputDelay; bool mHeaderDecoded; std::atomic_uint64_t mOutIndex; std::shared_ptr<C2GraphicBlock> mOutBlock; Loading Loading @@ -113,8 +112,8 @@ struct C2SoftApvDec final : public SimpleC2Component { ApvHdrInfo() : has_hdr_mdcv(false), has_hdr_cll(false), has_itut_t35(false) { } has_itut_t35(false), has_hdr_cll(false) { } // Master Display Color Volume struct HdrMdcv { Loading