4ccbfe923f
Three changes that together make the build compile cleanly against a current linux-api-headers (>= 5.x post-HEVC-UAPI-rename): - src/meson.build: comment h265.c + h265.h out of sources/headers. - include/hevc-ctrls.h: replace bundled HEVC structs with a single #include <linux/v4l2-controls.h>. The bundled definitions were identical to what later landed in mainline as V4L2_CID_STATELESS_HEVC_* (renamed) and v4l2_ctrl_hevc_* (kept the field names but moved into the kernel public header). Keeping a duplicate copy now triggers redefinition errors. The header is kept as a passthrough rather than deleted so any downstream patch that says #include <hevc-ctrls.h> still compiles. - src/picture.c: drop the four HEVC case blocks. Three of them were in switches that already had `default: break`, so removing them is functionally a no-op. The fourth was the only external reference to h265_set_controls — removing it lets the library link cleanly with h265.c excluded. Why this is OK rather than the more ambitious "fix HEVC properly": RK3566 has no HW HEVC at all (the only decoder block is the Hantro G1 which speaks H.264 / MPEG-2 / VP8). HEVC can come back as a separate effort once we're on RK3588 silicon AND the library is updated to the renamed kernel CIDs. For Fourier's first port milestone (H.264 multi- plane on RK3566 hantro) HEVC is dead weight. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>