Skip to contentSkip to conversation

Extending current adv717x drivers

DISCUSSION Christian Gmeiner 1 participant 3 messages Sep 10, 2008 – Sep 12, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi all,

I am one of the supporters of the dxr3 drivers for Linux [0]. The big goal is it to get the driver ready
for the mainline kernel. As this needs lot of work to be done, I will start with one of the top items
of my todo list. Extending current adv717x drivers with new functionality.

As you can see here [1] and [2] the adv717x driver offers some more functions, which are needed
for the dxr3 driver - e.g. switching pixel port between 8-bit multiplexed YCrCb and 16 bit YCrCb.

The current drivers used v4l1 include and so I had a look at the v4l2 api but I am not sure how such
a driver can be switched to v4l2. If this is not the case, whats the best way to "merge" dxr3s driver
with the in-kernel driver?

[0] http://dxr3.sf.net
[1] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.c
[2] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.h

Thanks for your help,

Signature · 6 lines
BSc, Christian Gmeiner

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#1 lore raw

So...

I have stared to convert the adv7175 driver to v4l2 but I am not sure if its okay. Also there exist
a driver which must be changed to the new api.

So please give me feedback....

2008/9/10 Christian Gmeiner <[email protected]>:

Quoted 28 lines

Hi all,

I am one of the supporters of the dxr3 drivers for Linux [0]. The big goal is it to get the driver ready
for the mainline kernel. As this needs lot of work to be done, I will start with one of the top items
of my todo list. Extending current adv717x drivers with new functionality.

As you can see here [1] and [2] the adv717x driver offers some more functions, which are needed
for the dxr3 driver - e.g. switching pixel port between 8-bit multiplexed YCrCb and 16 bit YCrCb.

The current drivers used v4l1 include and so I had a look at the v4l2 api but I am not sure how such
a driver can be switched to v4l2. If this is not the case, whats the best way to "merge" dxr3s driver
with the in-kernel driver?

[0] http://dxr3.sf.net
[1] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.c
[2] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.h

Thanks for your help,
--
BSc, Christian Gmeiner

Signature · 1 line
Christian Gmeiner, B.Sc.
linux/drivers/media/video/Kconfig +1 -1
diff -r ff052010c4cb linux/drivers/media/video/Kconfig
@@ -419,7 +419,7 @@
 
 config VIDEO_ADV7175
 	tristate "Analog Devices ADV7175 video encoder"
-	depends on VIDEO_V4L1 && I2C
+	depends on VIDEO_V4L2 && I2C
 	---help---
 	  Support for the Analog Devices ADV7175 video encoder driver
 
linux/drivers/media/video/adv7175.c +139 -201

459 lines not on this page · raw message

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw

I have looked for a plan how to get all my wishes in the kernel an I came to this roadmap:

1) Add support for v4l2 to all i2c used chips of the zoran driver
2) Switch zoran dirver to use 4vl2 for en/decoders
3) Remove v4l1 stuff from all i2c used chips of the zoran driver

If I am at this point, I can start thinking about how to extend the drivers, for my needs.

Hope you agree with this three step plan.
greets

2008/9/10 Christian Gmeiner <[email protected]>:

Quoted 44 lines

So...

I have stared to convert the adv7175 driver to v4l2 but I am not sure if its okay. Also there exist
a driver which must be changed to the new api.

So please give me feedback....

2008/9/10 Christian Gmeiner <[email protected]>:

Quoted 19 lines

Hi all,

I am one of the supporters of the dxr3 drivers for Linux [0]. The big goal is it to get the driver ready
for the mainline kernel. As this needs lot of work to be done, I will start with one of the top items
of my todo list. Extending current adv717x drivers with new functionality.

As you can see here [1] and [2] the adv717x driver offers some more functions, which are needed
for the dxr3 driver - e.g. switching pixel port between 8-bit multiplexed YCrCb and 16 bit YCrCb.

The current drivers used v4l1 include and so I had a look at the v4l2 api but I am not sure how such
a driver can be switched to v4l2. If this is not the case, whats the best way to "merge" dxr3s driver
with the in-kernel driver?

Quoted 9 lines

[0] http://dxr3.sf.net
[1] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.c
[2] http://dxr3.sourceforge.net/hg/em8300-nboullis/file/37328a436d49/modules/adv717x.h

Thanks for your help,
--
BSc, Christian Gmeiner

--
Christian Gmeiner, B.Sc.

Signature · 6 lines
Christian Gmeiner, B.Sc.

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list