Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v3 0/1] avfilter/buffersink: Add user video frame allocation
@ 2023-07-22 17:03 John Cox
  2023-07-22 17:03 ` [FFmpeg-devel] [PATCH v3 1/1] avfilter/buffersink: Add video frame allocation callback John Cox
  0 siblings, 1 reply; 20+ messages in thread
From: John Cox @ 2023-07-22 17:03 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: stefasab, John Cox

This patch adds the ability for the user to allocate frames rather than
being forced to use avfilters default allocator.

This useful for applications like Kodi that wish to be able to control
how the final filter stage frame is allocated so that it is compatible
with whatever it wishes to do next e.g. allocate a dmabuf backed frame
for direct display via DRM. This is similar to the facility provided
by get_buffer2 in avcodec.

Changes from v1:
Style fixes - but for real this time

John Cox (1):
  avfilter/buffersink: Add video frame allocation callback

 libavfilter/buffersink.c | 21 +++++++++++++++++++++
 libavfilter/buffersink.h | 27 +++++++++++++++++++++++++++
 libavfilter/version.h    |  2 +-
 3 files changed, 49 insertions(+), 1 deletion(-)

-- 
2.39.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-07-25 11:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-22 17:03 [FFmpeg-devel] [PATCH v3 0/1] avfilter/buffersink: Add user video frame allocation John Cox
2023-07-22 17:03 ` [FFmpeg-devel] [PATCH v3 1/1] avfilter/buffersink: Add video frame allocation callback John Cox
2023-07-22 19:14   ` Andreas Rheinhardt
2023-07-23  8:23     ` John Cox
2023-07-23  8:32       ` Andreas Rheinhardt
2023-07-23 17:21   ` James Almer
2023-07-23 19:03     ` John Cox
2023-07-23 19:06     ` Nicolas George
2023-07-23 19:16       ` James Almer
2023-07-23 19:26         ` Nicolas George
2023-07-23 19:40           ` Paul B Mahol
2023-07-23 19:36             ` Nicolas George
2023-07-23 19:45               ` Paul B Mahol
2023-07-24  8:21                 ` Nicolas George
2023-07-24  9:07                   ` Paul B Mahol
2023-07-24 18:24                     ` James Almer
2023-07-23 19:52               ` Paul B Mahol
2023-07-23 20:04             ` James Almer
2023-07-24 18:04               ` Kieran Kunhya
2023-07-25 11:41               ` John Cox

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git