Skip to main content

Module bake

Module bake 

Source
Expand description

The LUT baker: a camera LUT, a grade LUT and the look (LookParams) evaluated over a lattice into one 3D LUT, with no ffmpeg in the loop. The result goes on the source as one pl_custom_lut (or out as a .cube for other tools), in the order the GPU pass runs them: camera LUT, grade LUT, look.

LUTs are sampled trilinearly, as libplacebo samples them, so a baked LUT matches the unbaked chain up to the lattice spacing.

Structs§

Bake
What to bake, applied in this order.

Constants§

DEFAULT_SIZE
The default lattice: 65^3, the prototype’s bake size (and DJI’s and Canon’s LUTs’).