Loading media/codec2/components/aom/C2SoftAomDec.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,7 @@ status_t C2SoftAomDec::initDecoder() { aom_codec_flags_t flags; memset(&flags, 0, sizeof(aom_codec_flags_t)); ALOGV("Using libaom AV1 software decoder."); aom_codec_err_t err; if ((err = aom_codec_dec_init(mCodecCtx, aom_codec_av1_dx(), &cfg, 0))) { ALOGE("av1 decoder failed to initialize. (%d)", err); Loading media/codec2/components/gav1/C2SoftGav1Dec.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,6 @@ namespace android { // TODO(vigneshv): This will be changed to c2.android.av1.decoder once this // component is fully functional. constexpr char COMPONENT_NAME[] = "c2.android.gav1.decoder"; class C2SoftGav1Dec::IntfImpl : public SimpleInterface<void>::BaseParams { Loading Loading @@ -338,6 +336,7 @@ bool C2SoftGav1Dec::initDecoder() { libgav1::DecoderSettings settings = {}; settings.threads = GetCPUCoreCount(); ALOGV("Using libgav1 AV1 software decoder."); Libgav1StatusCode status = mCodecCtx->Init(&settings); if (status != kLibgav1StatusOk) { ALOGE("av1 decoder failed to initialize. status: %d.", status); Loading Loading
media/codec2/components/aom/C2SoftAomDec.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,7 @@ status_t C2SoftAomDec::initDecoder() { aom_codec_flags_t flags; memset(&flags, 0, sizeof(aom_codec_flags_t)); ALOGV("Using libaom AV1 software decoder."); aom_codec_err_t err; if ((err = aom_codec_dec_init(mCodecCtx, aom_codec_av1_dx(), &cfg, 0))) { ALOGE("av1 decoder failed to initialize. (%d)", err); Loading
media/codec2/components/gav1/C2SoftGav1Dec.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,6 @@ namespace android { // TODO(vigneshv): This will be changed to c2.android.av1.decoder once this // component is fully functional. constexpr char COMPONENT_NAME[] = "c2.android.gav1.decoder"; class C2SoftGav1Dec::IntfImpl : public SimpleInterface<void>::BaseParams { Loading Loading @@ -338,6 +336,7 @@ bool C2SoftGav1Dec::initDecoder() { libgav1::DecoderSettings settings = {}; settings.threads = GetCPUCoreCount(); ALOGV("Using libgav1 AV1 software decoder."); Libgav1StatusCode status = mCodecCtx->Init(&settings); if (status != kLibgav1StatusOk) { ALOGE("av1 decoder failed to initialize. status: %d.", status); Loading