x265 0.9

x265 0.9
make test work for 8 and 16 bpp