<smaeul>
yes! cedrus is a m2m device, so the output is a buffer in RAM, just like the input. you can pass that buffer to another v4l2 device
gaston1980 has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 265 seconds]
ChriChri_ is now known as ChriChri
RichardG867_ has joined #linux-sunxi
RichardG867_ has quit [Changing host]
RichardG867_ has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 256 seconds]
fangs2 has joined #linux-sunxi
fangs2 has quit [Client Quit]
gaston1980 has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
gaston1980 has quit [Remote host closed the connection]
gaston1980 has joined #linux-sunxi
[KAZAN] has quit [Quit: Shakes my hand over my head while yelling a strange sound.]
[KAZAN] has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 240 seconds]
falktx has quit [Remote host closed the connection]
lurchi_ has quit [Read error: Connection reset by peer]
lurchi__ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
RichardG867_ is now known as RichardG867
suprothunderbolt has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
dddddd has quit [Ping timeout: 260 seconds]
_whitelogger has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-sunxi
ganbold__ has quit [Remote host closed the connection]
ganbold__ has joined #linux-sunxi
<jernej>
mirko: one way to achieve that (not sure of exact requirements you have) is to export dmabuf fd of cedrus capture buffer and import it as dma buf output buffer in next v4l2 driver
<jernej>
that's how I implemented HW deinteterlacing recently on H3/H6
s3b0 has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold__ has quit [Ping timeout: 240 seconds]
<KotCzarny>
jernej: does that mean LE now has deinterlacer?
<jernej>
well, only test images exist
<jernej>
not sure when it will be included in master branch
<KotCzarny>
shucks, dont be shy to proudly announce when it does, i would love it for my stalker client :)
<corecode>
i'm still not quite decided on a64 vs h5 vs h6
<montjoie>
jernej: you coul rebase on master, "net: sun8i_emac: Support for H6 SoC" is merged
<jernej>
oh, I didn't know
<montjoie>
I use my pineh64 with it
<montjoie>
jernej: but I dont see anything for one+/opi3 net
<montjoie>
in your branch
<jernej>
yeah, I think I lost changes I did
<jernej>
I can give you my binary, but unfortunately, that's it
Mangy_Dog has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
mru has joined #linux-sunxi
<montjoie>
jernej: for 1+ I tried to add MACPWR without result
<montjoie>
for opi3 I need to made it work on linux first
warpme_ has joined #linux-sunxi
s3b0 has quit [Quit: Konversation terminated!]
lurchi_ is now known as lurchi__
pmp-p has quit [Ping timeout: 258 seconds]
pmp-p has joined #linux-sunxi
Putti has quit [Ping timeout: 246 seconds]
cnxsoft1 has quit [Quit: cnxsoft1]
suprothunderbolt has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 264 seconds]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
lurchi__ is now known as lurchi_
<mirko>
smaeul: jernej: that sounds awesome, thanks!
<mirko>
i assume it requires a custom to-be-written thin driver / layer to actually pass it through?
<jernej>
passing buffers between v4l2 drivers must be done in userspace
<mirko>
then i'm afraid i'm missing some pieces, as in: how to access the buffer in memory? how to know / get a full image without it being overridden by the next frame when reading/copying?
* mirko
will probably need to make himself a bit more familiar with the cedrus userspace api
[KAZAN] has quit [Quit: Fix this masquerade.]
<jernej>
yeah, I meant to suggest that
<jernej>
you have to feed Cedrus with slices (compressed video, in output buffers), controls (codec data) and capture buffers (where slices/frames are decoded)
<jernej>
so unless you do that, nothing will be overriden
<jernej>
and even then only to that capture buffer you queued
<jernej>
and don't be confused with output/capture buffer terminology
<jernej>
output buffers are actually input to the driver and capture buffers output of driver
jstein has joined #linux-sunxi
<mirko>
jernej: thanks for the pointers/notes
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<mirko>
i just realised - not anymore sunxi/cedrus related, though - to achieve my goal of building an ambilight, i could directly grab and pass TV output from my Android TV. Didn't even think of that, but for my use case that would be even better, as more generic
gaston1980 has joined #linux-sunxi
<buZz>
mirko: HDMI capture usbsticks are <20 usd nowadays
<buZz>
1080p 30fps
<buZz>
just grab the view, blur the image, grab colors from the blurred image, send it to ledstrip
<smaeul>
you could use something like https://www.adafruit.com/product/2219 to decode the TMDS, and then sample a few RGB bits just before/after hsync
<smaeul>
assuming the TV's output is HDMI
dev1990 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<willmore>
buZz, I got one of those eye cameras a while back. I wanted it for the four mic array. I was doing sound positioning detection with it.
<buZz>
yeah 4 channel audio is fancy aswell
<buZz>
i only grabbed it cause local toystore was dumping em for 5 euro a piece , new in box
<buZz>
grabbed their entire stock of 1
<buZz>
:)
<willmore>
LOL. I'd buy more if I could find a good deal like that on them. But I don't really need more. I could probably find a CV application for them.
<mirko>
i'm having an issue with my orange pi 3 - which is connected to my AV which is connected to my TV. When the opi3 is playing audio and the TV is being switched off gracefully, audio continues. however then i pull the plug of my TV the opi3 apparently gets confused - audio stops and there's no way to revive its audio without power-cycling it
<mirko>
there's not much in the logs, however occasionally i get sth. like "Jun 21 23:18:51 opi3 systemd-udevd[2681]: card0: Failed to apply ACL: Operation not supported"
Putti has joined #linux-sunxi
gaston1980 has quit [Remote host closed the connection]
gaston1980 has joined #linux-sunxi
Putti has quit [Changing host]
Putti has joined #linux-sunxi
Putti has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
cmeerw has quit [Ping timeout: 272 seconds]
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
macc24 has joined #linux-sunxi
marble_visions has quit [Client Quit]
marble_visions has joined #linux-sunxi
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
jstein has quit [Ping timeout: 264 seconds]
lurchi__ is now known as lurchi_
dddddd has quit [Ping timeout: 240 seconds]
gaston1980 has quit [Remote host closed the connection]
gaston1980 has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 264 seconds]
gaston1980 has joined #linux-sunxi
dddddd has joined #linux-sunxi
ldevulder__ has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 256 seconds]
ldevulder_ has quit [Ping timeout: 264 seconds]
wens_l has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
gaston1980 has quit [Remote host closed the connection]