STRUCT HVA_FRAMEINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct hva_frameinfo(9) β€” a Kernel API Manual moment πŸ’…

okay so bestie, welcome to the glow-up era of struct hva_frameinfo(9), straight out of the Kernel API Manual ✨ this is the lil' info card that tells you everything about an hva frame β€” like a vibe check but for video data πŸŽ€


🌸 NAME 🌸

struct hva_frameinfo β€” literally just information about hva frame, no cap 🫢


✨ SYNOPSIS ✨

struct hva_frameinfo {
    u32 pixelformat;
    u32 width;
    u32 height;
    u32 aligned_width;
    u32 aligned_height;
    u32 size;
 };

that's the whole struct, bestie β€” six u32 fields and she's iconic πŸ’–


πŸ¦‹ Members πŸ¦‹

  • pixelformat β€” the fourcc code for the uncompressed video format πŸ”₯ like her whole personality in four characters
  • width β€” width of frame, periodt
  • height β€” height of frame, also periodt. the way that they're just… the dimensions 😭
  • aligned_width β€” width of frame (with encoder alignment constraint) β€” so like the width but the encoder said "make it fit my rules" πŸ’…
  • aligned_height β€” height of frame (with encoder alignment constraint) β€” same deal, but height πŸŽ€
  • size β€” maximum size in bytes required for data ⭐ key word: maximum, she's the ceiling, not the average

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/platform/st/sti/hva/hva.h struct πŸ‘‘
  • struct hva_streaminfo(9)
  • struct hva_controls(9)
  • struct hva_frame(9)
  • struct hva_stream(9)
  • struct hva_ctx_dbg(9)
  • struct hva_ctx(9)
  • struct hva_dev_dbg(9)
  • struct hva_dev(9)
  • struct hva_enc(9)

the whole friend group fr fr, go say hi to all of them 🫢


ngl bestie this page is short and sweet β€” but don't sleep on it, alignment constraints are real and they will humble you πŸ’€

and that's a wrap, cutie 🧚 this has been struct hva_frameinfo(9) from ./drivers/media/platform/st/st..., dated October 2026 β€” see you in the next manpage, mwah πŸ’œπŸŽ€

πŸ“¦ where this page comes from