~/talk

Camera2 API and beyond

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [android]
links:none on file

Camera2 requires managing many low-level pieces so the demo builds a from-scratch sample (forked from Google) that adds manual focus and white balance controls, an explicit state machine for preview→waiting-lock→pre-capture→capture to avoid spaghetti, and an OpenGL filter pipeline that saves filtered images via ImageReader. It explains the three-step preview-size pick (rotate, pick supported sizes, fit view), shows seven callbacks you must handle, and tests only on Pixel 2 and Pixel 3 so device quirks remain.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:34Motivation for Camera2 API
  3. 5:20Understanding Camera2 API basics
  4. 17:25Calculating preview sizes
  5. 23:17Breaking beyond basics
  6. 25:29Controlling camera modes
  7. 29:22Camera metering and focus
  8. 31:32OpenGL filters introduction
  9. 35:08Live demo with OpenGL
  10. 36:32Wrap-up and references
~/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.