Add get_size function to allocator

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Rename MJpegFormat to ColorFormat

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Cleanup

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Begin adding the encoder API

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Add gitignore

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>