~/talk

What Is an Image? - Cpp Computer Graphics Tutorial, (GPU, GUI, 2D Graphics and Pixels Explained)

Talkat CppCon 2022 · 2022-09-11..09-16· [creative-coding]
links:none on file
slides:none on file

Explains concrete claims and tradeoffs: how to compute memory for n pixels, why RGB 24-bit vs RGBA 32-bit alignment makes RGBA iterate faster (RGB ~4s vs RGBA ~3s in a benchmark), why alpha adds ~25% storage but can improve cache work, and when formats force copies. Covers tools and formats: Vulkan pixel formats, OpenImageIO, OpenColorIO, libyuv, ffmpeg, GPU hardware decoding, VMA, YUV 4:2:0 and packed 12‑bit, half‑float needs and API design consequences. Watch if you need these specifics.

AI-written summary · about

  1. 0:00Image concepts in C++
  2. 5:19Why defining an image is complex
  3. 12:43Pixels misconceptions
  4. 27:40Floating-point pixel formats
  5. 37:13GPU pixel formats constraints
  6. 48:13GPU memory allocation
  7. 52:24C++ 2D Graphics proposal
  8. 59:13Q&A
~/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.