On Fri, Jul 19, 2019 at 12:36:48PM +0000, Pawlowski, Slawomir wrote: > From 3ce39207e95eb4697abb0fbaccd37cc451559e49 Mon Sep 17 00:00:00 2001 > From: Slawomir Pawlowski <slawomir.pawlow...@intel.com> > Date: Fri, 19 Jul 2019 13:16:16 +0200 > Subject: [PATCH] Add multithreading for swscale filter. > > Use with option "-filter_scale_threads <num_threads>" > Split slice in scaler in to parts. > > Signed-off-by: Slawomir Pawlowski <slawomir.pawlow...@intel.com> > Signed-off-by: Tomasz Szumski <tomasz.szum...@intel.com> > --- > fftools/ffmpeg.h | 1 + > fftools/ffmpeg_filter.c | 3 + > fftools/ffmpeg_opt.c | 7 + > libavfilter/avfilter.h | 18 ++ > libavfilter/avfiltergraph.c | 4 + > libavfilter/vf_scale.c | 4 + > libswscale/options.c | 3 + > libswscale/slice.c | 32 +++- > libswscale/swscale.c | 414 > +++++++++++++++++++++++++++++------------- > libswscale/swscale_internal.h | 46 +++++ > libswscale/utils.c | 152 +++++++++++++++- > 11 files changed, 547 insertions(+), 137 deletions(-)
didnt really review the code yet but it fails to build on mingw64 CC libswscale/alphablend.o In file included from src/libswscale/alphablend.c:21:0: src/libswscale/swscale_internal.h:665:5: error: unknown type name ‘pthread_t’ pthread_t f_thread; ^ src/libswscale/swscale_internal.h:666:5: error: unknown type name ‘pthread_cond_t’ pthread_cond_t process_cond; ^ src/libswscale/swscale_internal.h:667:5: error: unknown type name ‘pthread_cond_t’ pthread_cond_t finish_cond; ^ src/libswscale/swscale_internal.h:668:5: error: unknown type name ‘pthread_mutex_t’ pthread_mutex_t process_mutex; ^ src/libswscale/swscale_internal.h:669:5: error: unknown type name ‘pthread_mutex_t’ pthread_mutex_t finish_mutex; ^ make: *** [libswscale/alphablend.o] Error 1 You have new mail in /var/mail/michael [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".