Endohydrolysis of (1->4)-alpha-D-glucosidic linkages in polysaccharides containing three or more (1->4)-alpha-linked D-glucose units. Binds 1 Ca(2+) ion per subunit. Binds 1 Cl(-) ion per subunit. Monomer. Belongs to the glycosyl hydrolase 13 family.