input and output for SPEC/h264ref