From a986f54a4109bb8c3b2fb57849b4b0ea01e3c522 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 3 Nov 2015 09:46:28 -0800 Subject: libhb: make muxer, sync, and reader behave like other work objects simplify job initialization sequence, clean up code, and document dependencies in the sequence better. Make hb_add set job->sequence_id. It is no longer necessary for the frontend to do this. If the frontend needs the sequence_id, it is returned by hb_add(). Clean up use of interjob. do_job() now uses sequence_id to detect when a new sequence of related jobs is running and automatically clears interjob. --- libhb/denoise.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libhb/denoise.c') diff --git a/libhb/denoise.c b/libhb/denoise.c index 2b6c6c4cf..f66c987be 100644 --- a/libhb/denoise.c +++ b/libhb/denoise.c @@ -24,9 +24,6 @@ #define HQDN3D_SPATIAL_CHROMA_DEFAULT 3.0f #define HQDN3D_TEMPORAL_LUMA_DEFAULT 6.0f -#define ABS(A) ( (A) > 0 ? (A) : -(A) ) -#define MIN( a, b ) ( (a) > (b) ? (b) : (a) ) - struct hb_filter_private_s { short hqdn3d_coef[6][512*16]; -- cgit v1.2.3