STRUCT AMVDEC_TIMESTAMP(9)
โจ NAME โจ
struct amvdec_timestamp โ okay so this lil struct is literally the whole vibe: it stores a src timestamp along with a VIFIFO offset. that's it. that's the job. ๐
(this is from the Kernel API Manual, section 9 โ yes we're in the big-kid kernel pages, bestie, section 9 for days ๐ซถ)
๐ธ SYNOPSIS ๐ธ
struct amvdec_timestamp {
struct list_head list;
struct v4l2_timecode tc;
u64 ts;
u32 offset;
u32 flags;
u32 used_count;
};
lowkey iconic layout ngl ๐
๐ Members ๐
okay so let's go member by member, no skipping, i promise ๐
listโ this is the little chain-link situation, used to make lists out of this struct. it's giving group chat of structs fr fr.tcโ the timecode straight from the v4l2 buffer. it's astruct v4l2_timecode, main character energy.tsโ the timestamp from the VB2 buffer, chillin' in au64.offsetโ the offset in the VIFIFO where the associated packet got written. that's where the packet lives, periodt.flagsโ the flags from the v4l2 buffer. just vibes + bits.used_countโ how many times this timestamp was checked for a match with a dst buffer. keeping score, bestie ๐งฎโจ
๐ฆ SEE ALSO ๐ฆ
like, go read these next, iykyk:
- Kernel file
./drivers/staging/media/meson/vdec/vdec.hstructamvdec_core(9) struct amvdec_ops(9)struct amvdec_codec_ops(9)struct amvdec_format(9)struct amvdec_session(9)
ngl if you're deep in the meson vdec code you're highkey built different ๐ฅ
okay bye bestie, go forth and timestamp ๐ โ this masterpiece came from ./drivers/staging/media/meson/..., dated October 2026, and it's still out here being struct amvdec_timestamp(9). slay. ๐๐
โจ
๐ฆ 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