complete H.264 framer (without unit test)