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
** fbtile cpu based framebuffer tile/detile helpers
Add helper routines which can be used to tile/detile framebuffer
layouts between linear and specified tile layout, using the cpu.
Currently it supports Legacy Intel Tile-X, Legacy Intel Tile-Y and
Newer Intel Tile-Yf tiled layouts.
Currently su
If user doesnt specify a format_modifier explicitly, then use GetFB2
to identify the format_modifier of the framebuffer being grabbed.
This is supported on newer linux builds, where xf86drmMode.h has
added support for GetFB2.
---
Changelog | 1 +
configure | 5 +
lib
t a/libavfilter/vf_fbtiler.c b/libavfilter/vf_fbtiler.c
new file mode 100644
index 00..1cf39ef81f
--- /dev/null
+++ b/libavfilter/vf_fbtiler.c
@@ -0,0 +1,245 @@
+/*
+ * Copyright (c) 2020 HanishKVC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it
either as a public api or internal api.
This is a optional patch set.
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
If user doesnt specify a format_modifier explicitly, then use GetFB2
to identify the format_modifier of the framebuffer being grabbed.
This is supported on newer linux builds, where xf86drmMode.h has
added support for GetFB2.
---
Changelog | 1 +
configure | 5 +
lib
If user doesnt specify a format_modifier explicitly, then use GetFB2
to identify the format_modifier of the framebuffer being grabbed.
This is supported on newer linux builds, where xf86drmMode.h has
added support for GetFB2.
---
Changelog | 1 +
configure | 5 +
lib
** fbtile cpu based framebuffer tile/detile helpers
Add helper routines which can be used to tile/detile framebuffer
layouts between linear and specified tile layout, using the cpu.
Currently it supports Legacy Intel Tile-X, Legacy Intel Tile-Y and
Newer Intel Tile-Yf tiled layouts.
Currently su
t a/libavfilter/vf_fbtiler.c b/libavfilter/vf_fbtiler.c
new file mode 100644
index 00..ece920c673
--- /dev/null
+++ b/libavfilter/vf_fbtiler.c
@@ -0,0 +1,247 @@
+/*
+ * Copyright (c) 2020 HanishKVC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it
Verify that the source and destination pixformats are supported by
fbtile before detiling the source into destination.
NOTE: This patch is relative to my v06 patch set.
---
libavutil/hwcontext_drm.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/libavu
@@
+/*
+ * Copyright (c) 2020 HanishKVC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License,
If the framebuffer is a tiled layout, use the fbtile helper routines
to try and detile it into linear layout, if supported by fbtile.
It uses the format_modifier associated with the framebuffer to decide
whether to apply detiling or not and inturn which specific detiling
to apply.
If user is usin
Added logic to support detiling of framebuffer.
By default this is disabled. Only if requested by the user, the
logic will be triggered.
It uses the fbtile helper routines to do the detiling. Currently
32bit RGB pixel format based framebuffers are supported.
If the underlying hardware context pr
Add helper routines which can be used to detile tiled framebuffer
layouts into a linear layout, using the cpu.
Currently it supports Legacy Intel Tile-X, Legacy Intel Tile-Y and
Newer Intel Tile-Yf tiled layouts.
Currently supported pixel format is 32bit RGB.
It also contains detile_generic logi
If user doesnt specify a format_modifier explicitly, then use GetFB2
to identify the format_modifier of the framebuffer being grabbed.
---
Changelog | 1 +
libavdevice/kmsgrab.c | 22 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/Changelog b/Cha
the best possible future flexibility.
hanishkvc (5):
KMSGrab: getfb2 format_modifier if user doesnt specify
fbtile helperRoutines cpu based framebuffer detiling
hwcontext_drm detile non linear layout, if possible
hwdownload detile framebuffer, if requested by user
fbdetile videofilter cpu
b/libavfilter/vf_fbdetile.c
new file mode 100644
index 00..54b13fa023
--- /dev/null
+++ b/libavfilter/vf_fbdetile.c
@@ -0,0 +1,236 @@
+/*
+ * Copyright (c) 2020 HanishKVC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms
4
index 00..f9e13ced18
--- /dev/null
+++ b/libavfilter/vf_fbdetile.c
@@ -0,0 +1,568 @@
+/*
+ * Copyright (c) 2020 HanishKVC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * Li
_vf_fbdetile;
extern AVFilter ff_vf_hysteresis;
extern AVFilter ff_vf_idet;
extern AVFilter ff_vf_il;
diff --git a/libavfilter/vf_fbdetile.c b/libavfilter/vf_fbdetile.c
new file mode 100644
index 00..80672bffa6
--- /dev/null
+++ b/libavfilter/vf_fbdetile.c
@@ -0,0 +1,465 @@
+/*
+
n AVFilter ff_vf_hysteresis;
extern AVFilter ff_vf_idet;
extern AVFilter ff_vf_il;
diff --git a/libavfilter/vf_fbdetile.c b/libavfilter/vf_fbdetile.c
new file mode 100644
index 00..8b20c96d2c
--- /dev/null
+++ b/libavfilter/vf_fbdetile.c
@@ -0,0 +1,309 @@
+/*
+ * Copyright (c) 2020 Ha
20 matches
Mail list logo