contrib: update SVT-AV1 to 3.0.0

This commit is contained in:
Damiano Galassi 2025-02-21 12:05:14 +01:00 committed by Damiano Galassi
parent b39a80debf
commit 75f9c84c14
3 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,10 @@
diff --git a/Source/Lib/Codec/global_me.c b/Source/Lib/Codec/global_me.c
index f6adbf59..53002238 100644
--- a/Source/Lib/Codec/global_me.c
+++ b/Source/Lib/Codec/global_me.c
@@ -454,4 +454,5 @@ void compute_global_motion(PictureParentControlSet *pcs, int *frm_corners, int n
*best_wm = global_motion;
for (int m = 0; m < RANSAC_NUM_MOTIONS; m++) { free(params_by_motion[m].inliers); }
+ free(correspondences);
}

View File

@ -1,9 +1,9 @@
$(eval $(call import.MODULE.defs,SVT-AV1,svt-av1))
$(eval $(call import.CONTRIB.defs,SVT-AV1))
SVT-AV1.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/SVT-AV1-v2.3.0.tar.gz
SVT-AV1.FETCH.url += https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v2.3.0/SVT-AV1-v2.3.0.tar.gz
SVT-AV1.FETCH.sha256 = ebb0b484ef4a0dc281e94342a9f73ad458496f5d3457eca7465bec943910c6c3
SVT-AV1.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/SVT-AV1-v3.0.0.tar.gz
SVT-AV1.FETCH.url += https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v3.0.0/SVT-AV1-v3.0.0.tar.gz
SVT-AV1.FETCH.sha256 = 7c5c357388859d15ba2b9b139c24e17ad6b84b94ca9b281921a6f0b839e78ebc
SVT-AV1.GCC.args.c_std =

View File

@ -99,7 +99,7 @@ int encsvtInit(hb_work_object_t *w, hb_job_t *job)
EbErrorType svt_ret;
int ret;
svt_ret = svt_av1_enc_init_handle(&pv->svt_handle, pv, &pv->enc_params);
svt_ret = svt_av1_enc_init_handle(&pv->svt_handle, &pv->enc_params);
if (svt_ret != EB_ErrorNone)
{
hb_error("encsvtav1: error initializing encoder handle");