STRUCT VDEC_AV1_SLICE_SCALE_FACTORS(9)
π 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 ofx_scaleπ¦x_stepβ the width step forx_scale, so it's the step that pairs with the width scaling πy_stepβ the height step fory_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
- 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