ffmpeg-v4l2-request-fourier: route H.264 luma-h deblock through daedalus-fourier (0008) #97
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/h264-substitute-deblock-luma-h"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First substitution-arc extension since the daedalus-fourier H.264 primitive matrix completed. Mirror of 0005's V variant: replaces
c->h_loop_filter_luma = ff_h264_h_loop_filter_luma_neonwith the daedalus-routed wrapper.The H kernel landed in daedalus-fourier PR #9 (vendored NEON, recipe→CPU). NEON-to-NEON substitution via the daedalus recipe layer; libavcodec.so ctx remains no-QPU.
Verified the patch applies cleanly on top of 0001-0007 against the pinned upstream commit b57fbbe5 on hertz. Wires into both arch/PKGBUILD and debian/build-deb.sh.
Intra (bS=4) h_loop_filter_luma_intra stays NEON for now; intra-h substitution can land once daedalus-fourier exposes a public intra dispatch (kernel already exists internally per fourier PR #11).
Suggested follow-ups in the substitution arc (now that the fourier primitive matrix is complete):
Adds patch 0008 to the substitution arc, mirroring 0005's V variant for H.264 non-intra bS<4 horizontal luma deblock. H264DSPContext.h_loop_filter_luma → daedalus_recipe_dispatch_h264_deblock_luma_h The H kernel was added to daedalus-fourier in PR #9 (vendored ff_h264_h_loop_filter_luma_neon, wired through the same CPU-dispatch pattern as V). Recipe table routes AUTO to CPU NEON (no QPU shader for H yet), so this is a NEON-to-NEON substitution via the daedalus recipe layer — same shape as 0005. The libavcodec.so ctx remains no-QPU (daedalus_ctx_create_no_qpu), matching the existing 0003/0004/0005/0007 patches. Higher-cycle QPU init waits for a feature-flag gating change in a separate PR. Intra (bS=4) h_loop_filter_luma_intra stays on the in-tree NEON .S code; daedalus_h264_deblock_meta covers the non-intra path only. A follow-up can route intra once daedalus-fourier exposes the intra-h dispatch (the kernel already exists internally per fourier PR #11). Wires the new patch into both arch/PKGBUILD and debian/build-deb.sh sequences. Verified the patch applies cleanly on top of 0001-0007 against the pinned upstream commit b57fbbe5 on hertz.