1 Commits

Author SHA1 Message Date
claude-noether 794bac72df Phase 1 plan: libva-v4l2-request-fourier AV1 dispatch
Goal: VAAPI consumers (mpv, VLC, GStreamer-VAAPI, browsers) can decode
AV1 via libva backend, same HW path that ffmpeg-v4l2request kdirect
already uses bit-perfectly (Phase 0).

Plan ~800 LoC across 7 files (new av1.c ~700 LoC, av1.h, plus edits to
codec.c, config.c, picture.c, surface.h, Makefile.am).

Canonical reference: Kwiboo/FFmpeg v4l2-request-n8.1
libavcodec/v4l2_request_av1.c (636 LoC) — exact field mappings for
v4l2_ctrl_av1_sequence/_frame/_film_grain/_tile_group_entry.

Architectural pattern: existing vp9.c (700+ LoC) in the backend.

6 open architectural questions for Janet review before Phase 2 code:
Q1 4-control batching (vs vp9's 2)
Q2 film_grain conditional vs unconditional submit
Q3 SEQUENCE caching strategy
Q4 VAOpaqueAV1 opaque payload semantics
Q5 vpu981 vs rkvdec device selection in cap_pool
Q6 multi-device probe extension (iter38b pattern + vpu981 for AV1)

Phase 2 starts after Janet sign-off.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 07:47:28 +00:00