No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE-apache2.txt
LICENSE-mit.txt
LICENSE.txt
README.md
Rakefile
main.c
pixel-diff-1.c
pixel-diff-1.h
svarint.c
svarint.h
varint.c
varint.h

README.md

Notation

...for images

w, h: width, height
x, y:
  ...where the upper-left is (0, 0)
   ...and the lower-right is (w, h)

i = (w * y) + x

Video Codecs

PD1: pixel-diff-1

frame_diff_body

for each differing pixel:
  varint(i_delta) + pixels[i]

Integer Codecs

varint

varint: non-negative integer --> bytes

See Google Protobuf encoding #varints

svarint

See the "Signed Integers" section on that page.