STRUCT VDEC_AV1_SLICE_SCALE_FACTORS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this page is all about struct vdec_av1_slice_scale_factors, which is literally the scale info for each ref frame. no cap, that's the whole assignment. πŸ’…βœ¨


✨ SYNOPSIS ✨

here she is, the struct in all her glory β€” do not touch the syntax, she's perfect:

       struct vdec_av1_slice_scale_factors {
           u8 is_scaled;
           int x_scale;
           int y_scale;
           int x_step;
           int y_step;
        };

πŸ’… Members πŸ’…

bestie, these are the fields one by one, no skipping, we respect the whole struct 🫢

  • is_scaled β€” tells you whether the frame is scaled or not. like a little yes/no vibe check for scaling 🌸
  • x_scale β€” the frame width scale coefficient, aka the horizontal scaling number ✨
  • y_scale β€” the frame height scale coefficient, the vertical twin of x_scale πŸ¦‹
  • x_step β€” the width step for x_scale, so it's the step that pairs with the width scaling πŸŽ€
  • y_step β€” the height step for y_scale, matching step for the height scaling πŸ’œ

πŸ” SEE ALSO πŸ”

the Kernel file lives right here, bookmark it immediately:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c

and here's the whole friend group of related structs β€” all (9), all iconic, all invited to the group chat πŸ‘‘πŸ”₯:

  • 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_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_frame_info(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)

this page came to you from the Kernel API Manual, sourced out of ./drivers/media/platform/media..., dated October 2026. mwah πŸ’‹ stay scaled, bestie πŸ’–πŸŒˆ
πŸ“¦ where this page comes from