[FFmpeg-devel] [PATCH v08.01 0/3] kmsgrab, fbtile+hwcontext_drm, VFs

hanishkvc hanishkvc at gmail.com
Sun Jul 12 20:20:59 EEST 2020


This is a full patch set. This includes the following

P1) KMSGrab, this is same has in v08 patch set.

P2) fbtile + hwcontext_drm, this is updated wrt v08

Have removed some of the ifdefs and made the logic bit more
simpler|clearer as suggested. While retaining few which make
logical sense. Have also tried to match some of the conventions.

The generic tile/detile logic is not directly exposed outside
fbtile now. Instead the higher level ff_fbtile_frame_copy is
the main one exposed along with two related functions.

This depends on KMSGrab GetFB2 P1, for enhanced functionality.

P3) video filters fbtiler and hwdownload

Have been updated to use the new fbtile. This is provided
for reference, in case someone is interested.


hanishkvc (3):
  KMSGrab: getfb2 format_modifier if user doesnt specify
  fbtile tile/detile, hwcontext_drm detile NonLinear
  VF fbtiler (tile/detile) and hwdownload (detile)

 Changelog                   |   5 +
 configure                   |   5 +
 doc/filters.texi            | 103 ++++++++
 libavdevice/kmsgrab.c       |  31 ++-
 libavfilter/Makefile        |   1 +
 libavfilter/allfilters.c    |   1 +
 libavfilter/vf_fbtiler.c    | 245 ++++++++++++++++++
 libavfilter/vf_hwdownload.c |  60 ++++-
 libavutil/Makefile          |   2 +
 libavutil/fbtile.c          | 482 ++++++++++++++++++++++++++++++++++++
 libavutil/fbtile.h          | 134 ++++++++++
 libavutil/hwcontext_drm.c   |  38 ++-
 12 files changed, 1103 insertions(+), 4 deletions(-)
 create mode 100644 libavfilter/vf_fbtiler.c
 create mode 100644 libavutil/fbtile.c
 create mode 100644 libavutil/fbtile.h

-- 
2.25.1



More information about the ffmpeg-devel mailing list