[FFmpeg-devel] [RFC] [PATCH] histogram filter

Nicolas George nicolas.george at normalesup.org
Wed Dec 26 16:43:07 CET 2012

Le sextidi 6 nivôse, an CCXXI, Stefano Sabatini a écrit :
> > +    h->outpicref = ff_get_video_buffer(outlink, AV_PERM_WRITE|AV_PERM_PRESERVE|AV_PERM_REUSE2,
> > +                            outlink->w, outlink->h);
> is PRESERVE required at all?

If I read the code correctly, outpicref could be allocated in filter_frame
without PRESERVE nor REUSE2. For direct rendering this is more efficient,
unless I am mistaken.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121226/bf2bcc20/attachment.asc>

More information about the ffmpeg-devel mailing list