STRUCT AMVDEC_TIMESTAMP(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ 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 a struct v4l2_timecode, main character energy.
  • ts โ€” the timestamp from the VB2 buffer, chillin' in a u64.
  • 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.h struct amvdec_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