Linux kernel VP9 codec V4L2 control interface

# · ✸ 86 · 💬 50 · 8 days ago · lkml.iu.edu · mfilion
This patch series adds VP9 codec V4L2 control interface and two driversusing the new controls. The series adds the VP9 codec V4L2 control API as uAPI, so it aims at beingmerged without passing through staging, as agreed. Apply suggestions from Jernej's review:- renamed a control and two structs:V4L2 CTRL TYPE VP9 COMPRESSED HDR PROBS =>V4L2 CTRL TYPE VP9 COMPRESSED HDRv4l2 ctrl vp9 compressed hdr probs =>v4l2 ctrl vp9 compressed hdrv4l2 vp9 mv compressed hdr probs => v4l2 vp9 mv probs- moved tx mode to v4l2 ctrl vp9 compressed hdr- fixed enum v4l2 vp9 ref frame sign bias values- explicitly assigned values to all other vp9 enums. Apply suggestion from Nicolas's review:- explicitly stated that the v4l2 ctrl vp9 compressed hdr control is optionaland implemented only by drivers which need it. Added another driver including a postprocessor to de-tilecodec-specific tiling- reworked uAPI structs layout to follow VP8 style- changed validation of loop filter params- changed validation of segmentation params- changed validation of VP9 frame params- removed level lookup array from loop filter struct(can be computed by drivers)- renamed some enum values to match the spec more closely- V4L2 VP9 library changed the 'eob' member of'struct v4l2 vp9 frame symbol counts' so that it is an arrayof pointers instead of an array of pointers to arrays(IPs such as g2 creatively pass parts of the 'eob' counts inthe 'coeff' counts)- factored out several repeated portions of code- minor nitpicks and cleanups. Rzej Pietrasiewicz:media: uapi: Add VP9 stateless decoder controlsmedia: Add VP9 v4l2 librarymedia: hantro: Prepare for other G2 codecsmedia: hantro: Support VP9 on the G2 core. Ccreate mode 100644 drivers/staging/media/hantro/hantro vp9.
Linux kernel VP9 codec V4L2 control interface



Archive | Send Feedback | WebAssembly Version (beta)