rerun-io / rerun

Visualize streams of multimodal data. Free, fast, easy to use, and simple to integrate. Built in Rust.
https://rerun.io/
Apache License 2.0
6.48k stars 319 forks source link

Rename `NV12` -> `Y_UV12`, `YUY2` -> `YUYV16` #7619

Open Wumpf opened 3 weeks ago

Wumpf commented 3 weeks ago

We want to start following the naming convention established by the Ocean library for naming chroma downsampling formats. In particular this is a lot better at distinguishing interleaved, planer & semi-planar formats!

https://facebookresearch.github.io/ocean/docs/images/pixel_formats_and_plane_layout/

emilk commented 3 weeks ago

Here are the pixel formats we need to support for video: https://docs.rs/dav1d/0.10.3/dav1d/enum.PixelLayout.html

Wumpf commented 3 weeks ago

Slight change of mind: The problem with ocena's denomination is that it also encodes bit depth into the same breath. I don't think we want to do this. At least in re_renderer land what already makes much more sense is to denominate the standard downsampling ratios (even though they are insane imho🤦 ) instead of the bit depth

E.g. instead of Y_U_V24 use Y_U_V_444

cc: @jleibs