#linux-media 2021-07-13,Tue

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

WhoWhatWhen
***BrianG61UK has joined #linux-media
BrianG61UK_ has joined #linux-media
camus has joined #linux-media
camus has quit IRC (Remote host closed the connection)
camus1 has quit IRC (Ping timeout: 480 seconds)
camus has joined #linux-media
camus has quit IRC (Remote host closed the connection)
camus has joined #linux-media
[00:31]
............. (idle for 1h0mn)
Inky1003 has quit IRC (Remote host closed the connection) [01:40]
...... (idle for 25mn)
camus1 has joined #linux-media
camus has quit IRC (Ping timeout: 480 seconds)
[02:05]
........... (idle for 52mn)
camus1 has quit IRC (Remote host closed the connection)
camus has joined #linux-media
[02:59]
............... (idle for 1h12mn)
miqztee has joined #linux-media [04:12]
.... (idle for 17mn)
camus1 has joined #linux-media [04:29]
camus has quit IRC (Ping timeout: 480 seconds) [04:34]
....... (idle for 32mn)
jm_h has joined #linux-media [05:06]
NiksDev has joined #linux-media [05:20]
..... (idle for 23mn)
svarbanov has joined #linux-media [05:43]
.................... (idle for 1h36mn)
ao2 has joined #linux-media [07:19]
GBenji has joined #linux-media [07:29]
........... (idle for 51mn)
miqztee has quit IRC (Quit: Leaving) [08:20]
........ (idle for 38mn)
djrscally has joined #linux-media [08:58]
..... (idle for 20mn)
camus has joined #linux-media [09:18]
camus1 has quit IRC (Ping timeout: 480 seconds) [09:23]
...... (idle for 28mn)
hverkuilezequielg: ping [09:51]
..................... (idle for 1h43mn)
pinchartlhverkuil: ping [11:34]
hverkuilpinchartl: pong [11:35]
pinchartlI had a question for you the other day, about the control framework
did you see it ?
[11:37]
hverkuilNo, I didn't. It probably wasn't logged either since I was doing maintenance to my server. [11:37]
pinchartlok
so in a nutsheel
nutshell
I have two controls
V4L2_CID_VBLANK and V4L2_CID_EXPOSURE
the EXPOSURE limits depend on the VBLANK value
as sensors require EXPOSURE < total height (height + VBLANK) - sensor-specific margin
changing VBLANK changes the limits of EXPOSURE
if I set both controls in a single VIDIOC_S_EXT_CTRLS
the value of EXPOSURE gets clamped to the current limits, not the limits corresponding to the new VBLANK value
is that fixable in the control framework ?
[11:38]
hverkuilI now remember reading about this, I think you asked this last week (or even longer ago) as well, right?
Sorry, it's been very busy lately.
[11:40]
pinchartlno worries [11:41]
hverkuilActually, I think you can do this today already. First of all the two controls have to be in the same control cluster: they depend on one another, so they have to be validated atomically.
Secondly, you can create your own type_ops. If you don't specify type_ops, then std_type_ops (defined in v4l2-ctrls-core.c) is used, but you can supply your own.
[11:45]
pinchartlok [11:47]
hverkuilUnfortunately, it looks like the four standard ops are marked static in v4l2-ctrls-core.c, it would be really nice if that can be changed so that in your driver you can still use std_equal, std_init and std_log, and only need to supply your own validate.
But that would be a simple change, of course.
[11:47]
pinchartlnot very nice to implement in sensor drivers, but doable [11:48]
hverkuilIs this a one-off, or will this be true for all sensor drivers? [11:48]
pinchartlv4l2_subdev is really the wrong level of abstraction for camera sensors, there's way too much boilerplate code
it should be true for all sensor drivers
[11:48]
hverkuilOK, then a standard sensor_type_ops helper might be best, you can just use that.
You may have to experiment a bit to see what works best.
[11:50]
pinchartlthanks for your feedback [11:52]
hverkuilI never tried something like this before :-) [11:52]
pinchartlyou should work more in userspace, it's impressive how many kernel shortcomings one can uncover :-)
the vblank control, for instance, is absolutely awful to work with
most sensors have a maximum total vertical size, it's a fixed value
to the maximum vblank value depends on the height of the configured format
s/to/so/
[11:56]
.... (idle for 18mn)
hverkuilNot my control :-) [12:15]
***svarbanov has quit IRC (Ping timeout: 480 seconds)
camus1 has joined #linux-media
camus has quit IRC (Ping timeout: 480 seconds)
[12:19]
svarbanov has joined #linux-media [12:32]
...... (idle for 29mn)
camus1 has quit IRC (Remote host closed the connection) [13:01]
camus1 has joined #linux-media [13:06]
NiksDev has quit IRC (Remote host closed the connection)
NiksDev has joined #linux-media
[13:11]
............. (idle for 1h2mn)
b-rad has quit IRC (Remote host closed the connection) [14:13]
........ (idle for 35mn)
camus1 has quit IRC (Remote host closed the connection)
camus has joined #linux-media
[14:48]
..... (idle for 23mn)
ao2 has quit IRC (Quit: Leaving) [15:11]
ndufresnepinchartl: not so easy to figure-out that V4L2_PIX_FMT_NV12MT_16X16 and V4L2_PIX_FMT_HM12 are identical pixel format, but one is mplane, the other is single allocation
I clearly missed that one, why didn't you follow the existing naming, and just call it V4L2_PIX_FMT_NV12T_16X16
[15:20]
ezequielghverkuil: ping
i mean, pong... pang, peng.
sorry for the delay :)
[15:24]
pinchartlndufresne: did I add those formats ? I don't recall :-) [15:25]
ezequielgfwiw, it's never too late, uh? i think we can improve documentation a bit. [15:25]
hverkuilezequielg: simple question: just verifying that '[PATCH v2 00/10] hantro: Enable H.264 VDPU2' is indeed superseding '[PATCH 00/12] hantro: Enable H.264 VDPU2 (Odroid Advance Go)'? [15:26]
ezequielgyes.
sorry, forgot to mark as superseeding.
[15:26]
hverkuilOK, thanks. Marked as such in patchwork.
I need to start doing patch reviews again now that rc1 is merged...
[15:27]
ezequielgspeaking of Hantro, as I'm typing I'm testing Andrzej's VP9 Hantro G2. So looks like we may land VP9 veeery soon. [15:27]
hverkuilnice [15:28]
...... (idle for 27mn)
***camus has quit IRC (Remote host closed the connection)
camus has joined #linux-media
[15:55]
......... (idle for 44mn)
gouchi has joined #linux-media
NiksDev2 has joined #linux-media
NiksDev has quit IRC (Remote host closed the connection)
[16:40]
ao2 has joined #linux-media [16:51]
NiksDev2 has quit IRC (Ping timeout: 480 seconds) [16:59]
...... (idle for 27mn)
camus has quit IRC (Read error: Connection reset by peer)
camus has joined #linux-media
[17:26]
.... (idle for 19mn)
svarbanov has quit IRC (Ping timeout: 480 seconds) [17:46]
NiksDev has joined #linux-media
GBenji has left
[17:55]
ndufresnepinchartl: ah, I see, you simply moved it, who added that then ...
it predates 2012, when the entire uapi got reworked massively
ezequielg: funny, doc for cx2341x explains the format, HM stands for Hauppauge Macroblock, a miss-nommer for 'Conexant Macroblock'
and these card have MPEG2 decoders, something H264 decoders in it
[18:00]
ezequielgwho knows if it's all the same layout.
it's even more funny than a sunxi driver declares that form.
[18:04]
ndufresnewho knows if it's the same codec lol [18:04]
ezequielg*pixelformat
:P
[18:04]
ndufresnebut 16x16 was also supported by TI magical rotator
it still magical to me, it suppose to do zero-copy 90deg rotation
with some memory bus feature iirc
[18:05]
.................. (idle for 1h26mn)
jernejezequielg: VP9 hantro G2? that's very good to hear
ping me for porting on Allwinner H6
[19:31]
ezequielgjernej: ping.
:)
please start porting? :)
ezequielg runs
[19:33]
jernejuh, I'm not following ML lately
it's there already?
currently I'm hacking SDIO support for wifi drivers, so... next week?
[19:34]
ezequielgwhen you say Allwinner H6, I bet it's some cedrus variant? [19:35]
jernejno, H6 has secondary VPU, just for VP9
and it's stripped down G2 variant
so in theory only H6 specifics need to be added, like clocks and reset lines
[19:37]
ezequielgoh la la!
are there any specs to read?
with info about the VPU I mean
[19:39]
jernejnope
I dumped few cfg regs
it may also support hevc, but vendor code is using it strictly for vp9
[19:42]
ezequielgsuper good.
my colleague Andrzej is driving all the effort, together with ndufresne and dwlsalmeida on the gstreamer side.
We had the rkvdec (the old variant) working and we wanted to have hantro g2 as well, so the vp9 controls got wider adoption.
The driver is working well, and looks fairly clean. Adding some quirks to support a stripped down version would be great.
i'm all for gaining more users.
[19:48]
.... (idle for 17mn)
jernejsure :)
is code already public?
[20:07]
ezequielgno, but it's about to be. [20:08]
jernejthat's why I said ping me :) [20:10]
ezequielgwe'll Cc you. [20:14]
jernejthanks! [20:16]
ndufresnejernej: perhaps considering giving ezequielg your working email, I notice you have an email addr that bounce these days [20:29]
jernejndufresne: it was fixed in drm-misc a long time now
I thought it already propagated to stable
I even added alias to .mailmap
[20:30]
ezequielgI'll track that emil and use it
*email
I add mails manually, sorry about that.
[20:31]
jernejit's in stable already: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/.mailmap?h=v5.13.1#n163 [20:32]
ndufresne++ [20:33]
***jm_h has quit IRC (Remote host closed the connection) [20:34]
ezequielgI was under the impression that only applied to some script and tools, such as get_maintainer. Sometimes you want to Cc specific people. In those cases, I got to git-log and use whatever latest mail I see there. [20:43]
***ao2 has quit IRC (Quit: Leaving)
camus1 has joined #linux-media
camus has quit IRC (Remote host closed the connection)
[20:48]
.......... (idle for 46mn)
gouchi has quit IRC (Remote host closed the connection) [21:37]
................ (idle for 1h19mn)
jernej has quit IRC (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
jernej has joined #linux-media
jernej has quit IRC (Remote host closed the connection)
[22:56]
djrscallyQuick question; does it make sense to have a sensor configured with a horizontal timing size that's lower than the output width? [23:02]
***b-rad has joined #linux-media
jernej has joined #linux-media
[23:03]
...... (idle for 29mn)
b-rad has quit IRC (Ping timeout: 480 seconds)
djrscally has quit IRC (Ping timeout: 480 seconds)
[23:32]
b-rad has joined #linux-media [23:41]

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