scp_get_vdec_hw_capa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scp_get_vdec_hw_capa(9) πŸ’…

okay bestie, welcome to the kernel API manual ✨ this one's a little cutie from the mediaTek SCP world. the function is scp_get_vdec_hw_capa, and no cap, the name literally tells you everything: it grabs the video decoder hardware capability. that's it, that's the whole vibe πŸŽ€


🌸 NAME 🌸

scp_get_vdec_hw_capa β€” get video decoder hardware capability

like. she's a getter. she gets. the capability. of the video decoder hardware. iconic behavior honestly 🫢


✨ SYNOPSIS ✨

unsigned int scp_get_vdec_hw_capa (struct mtk_scp *scp );

one function, one argument, returns an unsigned int. chef's kiss, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • scp β€” the mtk_scp structure. that's your entry ticket, bestie, you gotta hand her one of those or she's got nothing to work with πŸ™ˆ

πŸ’– RETURN πŸ’–

she returns the video decoder hardware capability. that's the whole answer β€” no error codes to stress about, just the capa, served fresh πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

if you're obsessed with this one (and why wouldn't you be), go read her whole friend group. they all live in the kernel file ./drivers/remoteproc/mtk_scp.c, and honestly the way they all reference each other is giving main character energy:

ngl, scp_get_venc_hw_capa(9) is literally her sibling β€” encoder capa vs decoder capa, a whole duo. yin and yang. ✨

and that's the page, bestie!! mwah πŸ’‹

this little masterpiece comes from the source path ./drivers/remoteproc, and it's stamped October 2026 β€” so yes, she's from the future, we love a time traveler πŸ•°οΈπŸŒˆ

stay slay, read your manpages, and may your hardware always report its capabilities correctly πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from