Megapixels

The first tagged release of Megapixels 2.0 happened! So far it's a testing release for distributions and the people bringing up cameras on phones. There's also been a bunch of new supported devices added by the community, for example the Samsung Galaxy SIII

  • Added the SkipTry config option to work around V4L drivers that don't implement the _TRY versions of ioctls, or implement them but return bogus data. This also removed the need to have a PinePhone Pro specific workaround in libmegapixels.
  • Fixed crash in the libmegapixels test utilities when cameras don't have modes defined.
  • Added helper for printf'ing pixfmt codes
  • Added GPU pipeline for YUV modes so the preview for these cameras don't look garbled anymore and actually have the correct colors. In the case of YUV the GPU is only used for hardware accelerated colorspace transforms.
  • Released 2.0.0-alpha1 of Megapixels, libdng 0.2.1 and libmegapixels 0.2.0
  • Added another workaround for libtiff breaking its api in releases for Megapixels 1.8

BodgeOS

I started building a toy Linux distribution to figure out how distribution bootstrapping works in practice. 99% of time spend on this is waiting for large packages to build so this has been running in the background this month. It's very close to having a functional Firefox package now. In the process of bootstrapping this I also wrote a few more small things:

  • bindeps: a replacement for lldtree written in Hare that very quickly finds all the libraries required to run a binary. It was not super hard to outperform a shell script.
  • Hare support for abuild. This adds automatic hare: provides lines to built packages just like it adds so:, cmd: and py: lines to packages. This means you can also use the package browser now to search for hare modules to figure out which package it's in: example

Blog

No more relaxing end of the year than spending a bit of time to write blog posts, so that's what I did :)