STRUCT HVA_STREAMINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct hva_streaminfo β€” NAME πŸ’–

okay so bestie, struct hva_streaminfo is literally the lil info bundle that holds information about hva stream ✨ like that's the whole vibe, that's the assignment 🫢

(this one lives in the Kernel API Manual, section 9 β€” yes the big-girl kernel section, we love to see it πŸ’…)


πŸŽ€ SYNOPSIS πŸŽ€

struct hva_streaminfo {
    u32 streamformat;
    u32 width;
    u32 height;
    u8 profile[32];
    u8 level[32];
 };

no cap, that's the whole struct β€” five fields, zero drama, copying it exactly because we do not freestyle kernel headers around here πŸ™ˆ


πŸ¦‹ Members πŸ¦‹

  • streamformat β€” the fourcc code of the compressed video format, like H.264... iykyk, it's the "what kind of video is this actually" tag πŸŽ₯
  • width β€” width of stream, literally just how wide, that's it, that's the field πŸ“
  • height β€” height of stream, same energy but vertical, the duo is complete 🧚
  • profile β€” the profile string πŸ’« (an u8 array of 32, so keep it cute and under the limit)
  • level β€” the level string 🌈 (also u8[32], matching energy)
bestie reminder: profile and level are fixed-size u8 arrays of 32 β€” they're strings in spirit, but they are not pointers, so don't go assigning them like one, fr fr πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/media/platform/st/sti/hva/hva.h struct
  • struct hva_frameinfo(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)

like, the entire hva friend group 🫢 go read them all, they're all icons in their own right ⭐


okay that's the page!! sourced from ./drivers/media/platform/st/st..., dated October 2026, and yes this is struct hva_streaminfo(9) signing off β€” slay, bye bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from