STRUCT VDEC_AV1_SLICE_FRAME_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

struct vdec_av1_slice_frame_info β€” the frame info for each slot, bestie ✨ like every slot gets its own lil' info card and this is the card πŸ’…

It lives in the Kernel API Manual, which is genuinely the main character of manual pages ngl πŸ‘‘


πŸ’– SYNOPSIS πŸ’–

okay so here's the whole struct, and yes you're gonna look at all of it, no skipping 🫢

struct vdec_av1_slice_frame_info {
    u8 frame_type;
    u8 frame_is_intra;
    int order_hint;
    u32 order_hints[V4L2_AV1_REFS_PER_FRAME];
    u32 upscaled_width;
    u32 pic_pitch;
    u32 frame_width;
    u32 frame_height;
    u32 mi_rows;
    u32 mi_cols;
    int ref_count;
 };

🌸 Members 🌸

real talk, these fields are the whole vibe check of the page β€” every single one matters, so here's every single one πŸ’œ
  • frame_type β€” the frame type. that's it, that's the field, it tells you what kind of frame you're dealing with 😌
  • frame_is_intra β€” tells you if this is an intra frame πŸ‘€
  • order_hint β€” the order hint, lowkey important for ordering things
  • order_hints β€” the reference frame order hint (the original page spells it "referece" and honestly? iconic typo, we stan a legend πŸ’€). it's an array sized V4L2_AV1_REFS_PER_FRAME, so it's giving "one hint per reference frame" energy ✨
  • upscaled_width β€” the upscale width πŸ¦‹
  • pic_pitch β€” the buffer pitch, fr fr
  • frame_width β€” the frame width (fun fact: the original doc says "frane width" and I refuse to correct history πŸŽ€)
  • frame_height β€” the frame height, periodt
  • mi_rows β€” rows in mode info πŸ“
  • mi_cols β€” cols in mode info πŸ“
  • ref_count β€” a mark to reference frame counts, iykyk πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file, and you're gonna want the exact path because we do not paraphrase paths in this house πŸ’…

  • Kernel file: ./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c

and then the whole entire friend group of sibling structs, all of them, in order, no cap 🌈 β€” they're all (9) pages:

  • struct vdec_av1_slice_init_vsi(9)
  • struct vdec_av1_slice_mem(9)
  • struct vdec_av1_slice_state(9)
  • struct vdec_av1_slice_tile_group(9)
  • struct vdec_av1_slice_scale_factors(9)
  • struct vdec_av1_slice_frame_refs(9)
  • struct vdec_av1_slice_gm(9)
  • struct vdec_av1_slice_sm(9)
  • struct vdec_av1_slice_seg(9)
  • struct vdec_av1_slice_delta_q_lf(9)
  • struct vdec_av1_slice_quantization(9)
  • struct vdec_av1_slice_lr(9)
  • struct vdec_av1_slice_loop_filter(9)
  • struct vdec_av1_slice_cdef(9)
  • struct vdec_av1_slice_mfmv(9)
  • struct vdec_av1_slice_tile(9)
  • struct vdec_av1_slice_uncompressed_header(9)
  • struct vdec_av1_slice_seq_header(9)
  • struct vdec_av1_slice_frame(9)
  • struct vdec_av1_slice_work_buffer(9)
  • struct vdec_av1_slice_slot(9)
  • struct vdec_av1_slice_fb(9)
  • struct vdec_av1_slice_vsi(9)
  • struct vdec_av1_slice_pfc(9)
  • struct vdec_av1_slice_instance(9)

and that's the page, bestie πŸŽ€ before you go β€” the lil' footer credits: this one comes from the source path ./drivers/media/platform/media... and it's dated October 2026, and the whole thing is filed under struct vdec_...e_frame_info(9) πŸ’– slay, go read some more kernel docs, I'm obsessed with you 🫢✨

πŸ“¦ where this page comes from