STRUCT VDEC_AV1_SLICE_FRAME_INFO(9)
π¦ 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 thingsorder_hintsβ the reference frame order hint (the original page spells it "referece" and honestly? iconic typo, we stan a legend π). it's an array sizedV4L2_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 frframe_widthβ the frame width (fun fact: the original doc says "frane width" and I refuse to correct history π)frame_heightβ the frame height, periodtmi_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms