Implement h264 SPS parsing, and use parsed values for codec initialisation.
no need to locate the start of the NAL unit from parseSPS

* it is already done in extractSPS_PPS
fix a vertical/horizontal inversion on the crop offsets