A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027211.html below:

[Ffmpeg-devel] Some more thoughts about libavfilter

[Ffmpeg-devel] Some more thoughts about libavfilter [Ffmpeg-devel] Some more thoughts about libavfilterLuca Abeni lucabe72
Tue Jan 9 14:38:30 CET 2007
Hi Michael,

On Tue, 2007-01-09 at 01:51 +0100, Michael Niedermayer wrote:
[...]
> > 2) The "last" filter who use the AVFrame buffer is responsible for
> > freeing it.
[...]
> what if there are several Fout? (several outputs)
You are right. I forgot to mention that using this mechanism a single
frame buffer cannot be pushed to two different output filters, and a
copy is needed for the second output (well, I had something similar
witten on my old notes, but it was too confused and I skipped it :).

If this additional copy is not acceptable, then I think refcounting is
the only way to go (or am I missing some other possible solution?).
Is it acceptable to add a reference_count field in AVFrame? (or should
the "opaque" field be used?). An alternative would be to use an
"extended avframe" structure defined as
{
  FF_COMMON_FRAME;
  int reference_count
}


			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !



More information about the ffmpeg-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4