]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: zoran: move to mainline
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Aug 2022 11:54:45 +0000 (13:54 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 29 Aug 2022 13:33:45 +0000 (15:33 +0200)
The zoran driver can be moved back to mainline after it has been
converted by Corentin Labbe to vb2.

Note that the zoran driver no longer supports video output, but
video capture is working fine now.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
22 files changed:
drivers/media/pci/Kconfig
drivers/media/pci/Makefile
drivers/media/pci/zoran/Kconfig [moved from drivers/staging/media/zoran/Kconfig with 100% similarity]
drivers/media/pci/zoran/Makefile [moved from drivers/staging/media/zoran/Makefile with 100% similarity]
drivers/media/pci/zoran/videocodec.c [moved from drivers/staging/media/zoran/videocodec.c with 100% similarity]
drivers/media/pci/zoran/videocodec.h [moved from drivers/staging/media/zoran/videocodec.h with 100% similarity]
drivers/media/pci/zoran/zoran.h [moved from drivers/staging/media/zoran/zoran.h with 100% similarity]
drivers/media/pci/zoran/zoran_card.c [moved from drivers/staging/media/zoran/zoran_card.c with 100% similarity]
drivers/media/pci/zoran/zoran_card.h [moved from drivers/staging/media/zoran/zoran_card.h with 100% similarity]
drivers/media/pci/zoran/zoran_device.c [moved from drivers/staging/media/zoran/zoran_device.c with 100% similarity]
drivers/media/pci/zoran/zoran_device.h [moved from drivers/staging/media/zoran/zoran_device.h with 100% similarity]
drivers/media/pci/zoran/zoran_driver.c [moved from drivers/staging/media/zoran/zoran_driver.c with 100% similarity]
drivers/media/pci/zoran/zr36016.c [moved from drivers/staging/media/zoran/zr36016.c with 100% similarity]
drivers/media/pci/zoran/zr36016.h [moved from drivers/staging/media/zoran/zr36016.h with 100% similarity]
drivers/media/pci/zoran/zr36050.c [moved from drivers/staging/media/zoran/zr36050.c with 100% similarity]
drivers/media/pci/zoran/zr36050.h [moved from drivers/staging/media/zoran/zr36050.h with 100% similarity]
drivers/media/pci/zoran/zr36057.h [moved from drivers/staging/media/zoran/zr36057.h with 100% similarity]
drivers/media/pci/zoran/zr36060.c [moved from drivers/staging/media/zoran/zr36060.c with 100% similarity]
drivers/media/pci/zoran/zr36060.h [moved from drivers/staging/media/zoran/zr36060.h with 100% similarity]
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/zoran/TODO [deleted file]

index 1224d908713aa0d83eb2a83ef5e500b2866721c8..7a229dddadafa9e37043590a5ed4a3f9007dc4ce 100644 (file)
@@ -19,6 +19,7 @@ source "drivers/media/pci/sta2x11/Kconfig"
 source "drivers/media/pci/tw5864/Kconfig"
 source "drivers/media/pci/tw68/Kconfig"
 source "drivers/media/pci/tw686x/Kconfig"
+source "drivers/media/pci/zoran/Kconfig"
 
 endif
 
index 551169a3e434fe9656c973c83cb3de206d58935a..00d740b953d56bc43bfe6fae9e8b8d68126c08fa 100644 (file)
@@ -39,3 +39,4 @@ obj-$(CONFIG_VIDEO_SOLO6X10) += solo6x10/
 obj-$(CONFIG_VIDEO_TW5864) += tw5864/
 obj-$(CONFIG_VIDEO_TW686X) += tw686x/
 obj-$(CONFIG_VIDEO_TW68) += tw68/
+obj-$(CONFIG_VIDEO_ZORAN) += zoran/
index 421ce9dbf44c2faaa0e7da25a8dd94f46cd7e058..ce379cae01b9136e521dac123d52d496eed79f48 100644 (file)
@@ -44,6 +44,4 @@ source "drivers/staging/media/sunxi/Kconfig"
 
 source "drivers/staging/media/tegra-video/Kconfig"
 
-source "drivers/staging/media/zoran/Kconfig"
-
 endif
index 950e96f10aad7026e3acea446573a3733d4411b4..7ece57ca04031b536d6289e18f950f7f0950265a 100644 (file)
@@ -10,5 +10,4 @@ obj-$(CONFIG_VIDEO_SUNXI)     += sunxi/
 obj-$(CONFIG_VIDEO_TEGRA)      += tegra-video/
 obj-$(CONFIG_VIDEO_HANTRO)     += hantro/
 obj-$(CONFIG_VIDEO_IPU3_IMGU)  += ipu3/
-obj-$(CONFIG_VIDEO_ZORAN)      += zoran/
 obj-$(CONFIG_DVB_AV7110)       += av7110/
diff --git a/drivers/staging/media/zoran/TODO b/drivers/staging/media/zoran/TODO
deleted file mode 100644 (file)
index 6992540..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-
-How to test the zoran driver:
-- RAW capture
-       mplayer tv:///dev/video0 -tv driver=v4l2
-
-- MJPEG capture (compression)
-       mplayer tv:///dev/video0 -tv driver=v4l2:outfmt=mjpeg
-       TODO: need two test for both Dcim path
-
-- MJPEG play (decompression)
-       ffmpeg -i test.avi -vcodec mjpeg -an -f v4l2 /dev/video0
-       Note: only recent ffmpeg has the ability of sending non-raw video via v4l2
-
-       The original way of sending video was via mplayer vo_zr/vo_zr2, but it does not compile
-       anymore and is a dead end (usage of some old private ffmpeg structures).
-
-TODO
-- fix the v4l compliance "TRY_FMT cannot handle an invalid pixelformat"
-- Filter JPEG data to made output work