added suppert for planar format with packed chroma
fixed tabs
fixed comments
Merge pull request #4 from paul-szczepanek/master

support for planar with packed chroma format