Posts
1384
Following
87
Followers
128
Riding horses, hacking computers, phones and smartwatch.
@cas @danirabbit Please don't. That's bad policy. People are using stack overflow and people are using chatbots. Both have their uses.
0
0
0
@johnzajac How is it supposed to work, btw? Police are required to identify themselves, right? Does not have ICE have the same limit? That should be fixed...
0
0
0
@papiris Thanks for pointer. I have not seen that really, but yes, I'm trying to develop something similar.
0
0
1
@papiris I need speed. I'm looking for something where I can just add header before raw data and write it to RAM disk... Then some other process will take it, debayer, and pass it to gstreamer for compression. Ideally at 30fps. I'd like something that can be viewed by common tools for debugging, but apparently that's hard.
1
0
1
@martijnbraam I could not get that whitelevel thing to work.

I guess better question to ask was: do you process pixel data before writing them to dng in megapixels? I had to do byteswapping for pnm write, I am wondering if dng/tiff can avoid that.
1
0
0
@martijnbraam Yep, understood so far. And got the bayer data width now, thanks. And yes, dng is more evil than plain tiffs.

I can't get "10-bits-in-two-bytes" to work with ImageMagick, and the endianness support is ... strange. You can't have LE headers and BE bayer data, for example. I wonder what else is common in hw formats and tiff can't do..
1
0
0
@wdormann Microsoft is abusing their monopoly, again. Maybe we need better laws to protect customers from monopolies? :-(
0
0
1
@dos @mntmn I'd really like something in 120grams range. 100grams would be even better. But I guess I'll have to live with Motorola Droid 4 and later One Plus 6.
0
0
0
@martijnbraam Ok, I may need some help. In dng, I see idf with preview parameters. How do I find out _real_ idf in dng? The one that contains raw image width, for example?

And is tiff or dng actually descriptive enough so that I can take common raw data (say grbg14) and just prepend tiff header before that? dng says something about data always being high-endian, and the purpose of this **** is me not wanting to do the byte swapping. Can it also store yuv data by chance?

And yes, it looks like tiff is as evil as I thought after all :-(.
1
0
0
@martijnbraam Yeah I guess compatibility will be a problem. I was surprised that writing tiffs is not hard. Reading tiffs I wrote should not be too bad, either, but obviously reading random tiffs is bad.

I wanted to store raw camera data to .pnm. That can work for bayer8 data, but starts to be problem for little-endian bayer10, and I guess tiff is really best option there.
1
0
0
@papiris This is for camera images, and I wanted simple format...
1
0
0
tiff is evil, but not as evil as I thought.
2
0
1
Tak to tu mame. Dezinformatori pomahaji slintavce, podobne jako pomahali covidu :-(.

A hele, ona je to Sona Pekova. Ta ezo pomatenkyne co opakovane lhala, treba to ze covid zmizi, a kdyz nezmizel, ze uz je to uplne jina nemoc :-(. A pak taky nejaky nesmysly o previbrovani do 5G, tusim. Patri do blazince.

Netrapte zviratka, a nesdilejte Sonu Pekovou!
0
0
0

This is some bs. If AOSP development is made less publicly accessible it does NOT " simplify things for developers" but rather it hinders it for de-googled privacy respecting ROMs and their device ports. The need for continued and ramped up efforts developing alternative mobile OS's, like Ubuntu Touch, Sailfish OS, Droidian, Mobian, Postmarket, etc. is even more apparent with this move by Google.

https://arstechnica.com/gadgets/2025/03/google-makes-android-development-private-will-continue-open-source-releases/

2
4
1
@elebertus Well, PinePhone is great for running 2 year old distros, OnePlus 6 is going to be great for any distro 1 year from now, and PostmarketOS runs anywhere. It _is_ worth taking another look :-).
0
0
1
@CalcProgrammer1 @Luigi311 @NekoCWD Megapixels work on Librem 5 and PinePhone Pro, too, at least. Compared to libcamera, it is quite easy to hack.

libcamera does not build on my Librem 5 due to meson requirements, but I'm currently playing in that area (libobscura + unicsy camera, close enough), and might want to help.

Should there be mailing list for this?
0
0
1
@Luigi311 @CalcProgrammer1 @NekoCWD Should there be mailing list for phone camera development? Or use phone-devel@vger.kernel.org?
1
0
0
@Luigi311 @CalcProgrammer1 @NekoCWD You ... really need AF algorithm, sorry. Manual focus on phone screen with no hints... just does not work well. Feel free to take a look at megapixels, AF is somehow working in there. And you don't even need to do it in libcamera, you can do it in application, too, even if that is wrong place.
2
0
1
@elebertus Any? Haha. Take a look at PinePhone and OnePlus 6.
1
0
0
I have complex set of functions in rust, and in inner loop, there's an if, which is constant for whole group. I'd really like compiler to build two versions of function set, one for if false, one for if true. Is there canonical way to do that in rust? And yes, code seems to be _that_ time critical.
0
0
1
Show older