STRUCT VDEC_AV1_SLICE_STATE(9)
π struct vdec_av1_slice_state(9) β bestie edition
okay so this is a page straight out of the Kernel API Manual, and we're talking about struct vdec_av1_slice_state β the decoding state. yes it's a struct, yes it's short, no we are not skipping a single field, let's go π
β¨ NAME β¨
struct vdec_av1_slice_state β decoding state. that's it, that's the whole vibe. it holds the state of a decode. iconic, honestly π¦
πΈ SYNOPSIS πΈ
struct vdec_av1_slice_state {
int err;
u32 full;
u32 timeout;
u32 perf;
u32 crc[16];
u32 out_size;
};
look at her. six fields. no notes. π
π«Ά Members π«Ά
okay bestie, field by field, don't skip:
errβ err type for decode. yeah, it's the type of error the decode hit. the "what went wrong" field πfullβ transcoded buffer is full or not. classic yes/no situation, lowkey important before you shove more data in there.timeoutβ decode timeout or not. same energy, different drama. did the decode time out? this field knows πperfβ performance enable. the toggle for whether perf stuff is turned on β¨crcβ hw checksum. hardware checksum, and she's an array:crc[16], sixteen of them, no cap π₯out_sizeβ hw output size. how big the hardware output is, literally that simple π
π SEE ALSO π
π the file in question
- Kernel file
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
π her whole friend group (struct edition)
every single one of these, in this order, go read them too:
struct vdec_av1_slice_init_vsi(9)struct vdec_av1_slice_mem(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_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)
that's twenty-five structs. twenty-five!! she has a whole group chat π
heads up bestie: the source location on this one got cut off as ./drivers/media/platform/media... β that's genuinely all we got, so don't come for me about it π
and that's the page!! π sign-off time: this one came from ./drivers/media/platform/media..., dated October 2026, and the manual is the Kernel API Manual β go off, struct vdec_av1_slice_state(9), periodt π§ββοΈβ
π¦ 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