summaryrefslogtreecommitdiffstats
path: root/kernel/version
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-15 16:00:06 -0500
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-15 16:00:06 -0500
commit43bbf490dca972cb96fcf1d69dd0b6859377e452 (patch)
treeac836f0dfcd50b3302d29a88402b1753127f7cf2 /kernel/version
parentf37f1f6a92939a8c147da1ed5a9032d9e8604ddc (diff)
downloadopen-iov-43bbf490dca972cb96fcf1d69dd0b6859377e452.tar.gz
open-iov-43bbf490dca972cb96fcf1d69dd0b6859377e452.zip
tools/guest-diag: tag BGRA capture records as GZF2 fmt 33
sdl_cap.c wrote the same 32 in the GZF2 record format field for every capture path, so gzf2_video.py's auto mode decoded ARGB8888/X-surface frames (BGRA byte order on little-endian) as RGBA and swapped red and blue. Make the field the documented pixel-order tag: 32 = RGBA8 from the GL swap path (glReadPixels GL_RGBA), 33 = BGRA8 from SDL_RenderReadPixels(ARGB8888) and X window surfaces; xgrab.c tags its ZPixmap BGRA records 33 as well. gzf2_video.py continues to accept both tags (and old all-32 captures via --pix-fmt bgra), checks ffmpeg/ffprobe before indexing, and keeps the final resampled endpoint so a 90-frame 60 fps capture encodes as 90 frames instead of 88.
Diffstat (limited to 'kernel/version')
0 files changed, 0 insertions, 0 deletions