[FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading support

Song, Ruiling ruiling.song at intel.com
Wed May 29 11:42:25 EEST 2019



> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Paul B Mahol
> Sent: Wednesday, May 29, 2019 4:24 PM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading
> support
> 
> On 5/29/19, Song, Ruiling <ruiling.song at intel.com> wrote:
> >> -----Original Message-----
> >> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On
> Behalf
> >> Of Jun Zhao
> >> Sent: Saturday, May 25, 2019 10:33 AM
> >> To: ffmpeg-devel at ffmpeg.org
> >> Cc: Jun Zhao <mypopydev at gmail.com>
> >> Subject: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading support
> >>
> >> V2: - update comments
> >>
> >> Jun Zhao (1):
> >>   lavfi/lut: Add slice threading support
> >>
> >>  libavfilter/vf_lut.c |  329 +++++++++++++++++++++++++++++++++-------
> ---
> >> -------
> >>  1 files changed, 216 insertions(+), 113 deletions(-)
> > I have attached the patch which I would like to happen.
> > I only test lutyuv on 1080p input, seems the performance penalty is less
> > than 5%.
> > I would like also hear performance numbers from your environment.
> > I am not sure do you like the patch?
> >
> 
> You should use function pointers.
Do you mean function pointer for the per-pixel function?
I think function pointer will introduce extra burden of function call per each pixel, while for now, the xxx_pixel_8/16 is just inlined.

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list