~/talk

A LUT (lot) of image filters on Android

Talkat droidcon Italy 2020 · 2020-11-27..11-28· [android, web-performance]
slides:none on file

Implements image filters by applying 3D lookup tables on Android using RenderScript first and later porting to OpenGL for faster GPU work. Uses designer-supplied 64-cube LUT bitmaps, implements the cube-to-pixel mapping, fixes alpha bugs by un-pre-multiplying premultiplied alpha, and reduces banding with trilinear interpolation. Ships a working filter pipeline and UI; remaining tradeoffs are LUT resolution versus quality and performance.

AI-written summary · about

  1. 0:00Start
  2. 3:53Different Approaches To Image Filters
  3. 4:20Presets
  4. 7:40What Are Luts
  5. 10:113d Lookup Table
  6. 13:27Lookup Table Algorithm
  7. 16:42Intrinsic 3d Lut
  8. 20:13Custom Script
  9. 21:20Looking Up a Pixel in Lut
  10. 22:16How Luts Look
  11. 25:27Pre-Multiplied Alpha
  12. 28:28Banding and Interpolation
  13. 30:24Tri-Linear Interpolation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.