Conversation
How to crash #oneplus6? Just do cat /dev/video0 , or attempt to get frame with yavta. Nothing works with that camera, and I now know why: it uses MPLANE mechanism. I got a lot of crashes while playing, but now I have code to get a frame. Unfortunately, I have it in git, and the repository is corrupted :-(.
1
3
5
@martijnbraam Yep, "fun". When I realized it is using mplanes with single plane, I felt kind of betrayed.

(I also believe that "secondary" back sensor is 2x zoom; as "primary" one does not work, that was another betrayal).

I tried to get clicks machine working there, but passing buffer between v4l and gpu does not work and I'm kind of stuck.
1
0
0

@pavel a lot of the mobile cameras seem to use the single-plane mplane support annoyingly, kinda sucked after implementing the pipeline specifically for the pinephone that doesn't... I believe camss sets it up this way so you can have multiple sensors streaming to the same video node with a plane per sensor.

1
0
1
@martijnbraam I was lucky Librem 5 did not have this quirk. I guess reason is I420 support which is good format for video encoding.

Anyway, megapixels-getframe can deal with that, good! :-).
0
0
0