make encodeContext smaller by removing x264_param_t