Update r10 from original code h264j