[FFmpeg-devel] [PATCH] avfilter: add tmedian filter

Nicolas George george at nsup.org
Mon Apr 13 18:10:38 EEST 2020


James Almer (12020-04-13):
> I think you can simplify this using the FFBufQueue API instead.
> ff_bufqueue_add() and ff_bufqueue_get() here, ff_bufqueue_peek() in the
> s->median_frames functions to read a frame without altering the queue, etc.

Or even simpler by treating the array as circular.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200413/7d9647bc/attachment.sig>


More information about the ffmpeg-devel mailing list