[vlc-devel] [PATCH v1 01/33] filter: add a function to do the picture filtering

Steve Lhomme robux4 at ycbcr.xyz
Fri Sep 25 16:46:37 CEST 2020


---
 include/vlc_filter.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/vlc_filter.h b/include/vlc_filter.h
index d9c274a645a..6197cec2c9b 100644
--- a/include/vlc_filter.h
+++ b/include/vlc_filter.h
@@ -191,6 +191,11 @@ static inline picture_t *filter_NewPicture( filter_t *p_filter )
     return pic;
 }
 
+static inline picture_t *filter_FilterSingle( filter_t *p_filter, picture_t *pic )
+{
+    return p_filter->pf_video_filter( p_filter, pic );
+}
+
 /**
  * Flush a filter
  *
-- 
2.26.2



More information about the vlc-devel mailing list