#v4l 2017-08-16,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
jeremymcok, next question folks. (surprise, surprise ;-) )
in include/media/i2c/adv7604.h There is a comment , "The source pad is either 1 (ADV7611) or 6 (ADV7604)"
I can't find reference to source pad in either ADV7611 or ADV7604 .
What word should I search for in either of the docs to find the associated numbers ?
[05:53]
larscsource pad is a Linux term, you won't find it in the datasheet
the source pad is the video input
the adv7604 has a couple of inputs
the adv7611 only one
the adv7619 has two
[05:58]
jeremymcWhy this "ADV7604_PAD_SOURCE = 6"
Does that mean adv7604 have 6 inputs ?
[06:00]
larscoh, no sorry, should have read the code
the source pad is the parallel video output
the sink pads are the input
on adv7611 there is one sink pad, which has ID 0, and the source pad gets ID 1
on adv7604 there are 6 sink pads with the IDs 0 to 5, so the source pad has ID 6
[06:01]
jeremymclarsc, so what am I looking for in the docs ? [06:04]
larscthe number of video inputs
you have two HDMI inputs
or which docs?
[06:04]
jeremymcI was trying to figure out what my value should be based on cross referencing the other docs. [06:05]
larsc2 [06:06]
jeremymc2 works for me. Thus, 2 HDMI inputs per chip. [06:06]
larschttps://linuxtv.org/downloads/v4l-dvb-apis/uapi/mediactl/media-controller-model.html [06:06]
............... (idle for 1h12mn)
hw_As far as I understood is V4L2_SUBDEV_FORMAT_TRY to negotiate the format between userspace and driver. But why is there a V4L2_SUBDEV_FORMAT_TRY for VIDIOC_S_FMT and VIDIOC_G_FMT? Or to ask this differntly: What is the difference between VIDIOC_S_FMT + V4L2_SUBDEV_FORMAT_TRY and VIDIOC_G_FMT + V4L2_SUBDEV_FORMAT_TRY? [07:18]
................... (idle for 1h32mn)
snawrockihverkuil: done; apologies for the delay, I have had 2 days off [08:50]
hverkuilNo problem, I plan to make a cec pull request tomorrow, so this is in time for that. [08:51]
........................................... (idle for 3h34mn)
headlesshverkuil: ping [12:25]
hverkuilheadless: pong [12:27]
headlessah, you're not /away :-)
not really, at least
when do you think you'll be able to review v7 of the IMR driver?
Renesas IMR, that is
[12:27]
hverkuilI hope to do that tomorrow, Friday or Monday. [12:28]
headlesshverkuil: OK, thx [12:30]
hverkuilIt's on my todo list, but so are other drivers as well. [12:30]
headlessI hope the driver document looks better now as I rewrote it
I used a bad example before (UVC), it seems
[12:31]
pinchartlhverkuil: "it looks like RCP wants to be an alternative to CEC"
you must love that :-)
[12:33]
hw_Anyone knows a good (recent) web resource regarding V4L2_SUBDEV_FORMAT_TRY, VIDIOC_S_FMT and VIDIOC_G_FMT? I just know of https://lwn.net/Articles/227533/ [12:41]
pinchartlhw_: Documentation/media/ in the kernel sources ?
you can compile the documentation to html with
make htmldocs
a copy is available at https://linuxtv.org/downloads/v4l-dvb-apis/
[12:42]
hw_*ouch* [12:43]
................... (idle for 1h33mn)
On 3.10.96 some drivers use "v4l2_subdev_get_try_format", but I can't find a declaration nor a implementation. Is it somehow declared by a #define? [14:16]
hverkuilhw_: media/v4l2-subdev.h
See __V4L2_SUBDEV_MK_GET_TRY
hw_: in later kernels the macro was reworked so you actually find it when grepping for v4l2_subdev_get_try_format
you're not the first with this question :-)
[14:23]
hw_ahh, got him. thx [14:31]
.................................................. (idle for 4h5mn)
***hverkuil has left [18:36]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)