The twelve men's teams were divided into two equal groups for a single round robin group stage. The top four teams of each group advanced to the quarter-finals. All matches in the second stage were knock-out format.
The ten women's teams were divided into two equal groups for a single round robin group stage. The top four teams of each group advanced to the quarter-finals. All matches in the second stage were knock-out format.