The parameter is named d; it denotes the reference frame here.
video_copy_macroblock :: ( video: *Video, motion_h: s32, motion_v: s32, d: *Frame )