From c1a96de41c9e3b38d0946d5c02c1faf5b39d4074 Mon Sep 17 00:00:00 2001 From: Bin Jin Date: Sat, 5 Dec 2015 18:54:25 +0000 Subject: vo_opengl: Fix minor LUT sampling error Define a macro to correct the coordinate for lookup texture. Cache the corrected coordinate for 1D filter and use mix() to minimize the performance impact. --- video/out/opengl/video.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/opengl/video.h') diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index c7c567d50c..a56c0c1c09 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -62,6 +62,7 @@ struct scaler { GLenum gl_target; struct fbotex sep_fbo; bool insufficient; + int lut_size; // kernel points here struct filter_kernel kernel_storage; -- cgit v1.2.3