The FFV1 video codec is a simple but efficient lossless intra only codec that was included into "ffdshow" (very useful tool). Available in source code.
From site:
ffdshow is DirectShow and VFW codec for decoding/encoding many video and audio formats, including DivX and XviD movies using libavcodec, xvid and other opensourced libraries with a rich set of postprocessing filters.