tiff: planar rgb

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Fix compilation of libavcodec/tiff.c
tta: move code that will be shared with encoder to separate file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tta encoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avutil/sha: reorder Maj arguments

about 1% speedup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>