Two high-technology companies, BDM International Inc. and Survival Technology Inc., posted substantial gains in profits yesterday, and BDM announced a 2-for-1 stock split.

Also yesterday, McCormick & Co. reported that its profits leveled off after a year of currency problems, and another high-technology firm, TVI Energy Inc., showed a loss for 1982.

BDM, a diversified professional and technical services company based in McLean, will split its stock May 16 for owners of record May 2, if shareholders approve the action at their annual meeting May 11.

BDM said its 1982 fourth quarter was "the strongest single quarter" in company history, bringing in profits of $1.5 million (64 cents a share) compared with $1.04 million (48 cents) the year before. Fourth-quarter revenues jumped to $34.4 million from $24.1 million.

For the year, profits grew 46 percent to $4.7 million ($2.03) from $3.2 million ($1.45) in 1981. Revenues in 1982 increased 34 percent to $118.3 million from $88.2 million.

On Dec. 31, BDM had 2.19 million common shares outstanding. In American Stock Exchange activity yesterday, 8,800 shares of BDM traded, closing up 2 1/4 at 50 1/2.

Survival Technology, a health products manufacturer, reported half-year earnings of $414,800 (16 cents) compared with $285,000 (11 cents), while revenues increased to $1.5 million from $9.7 million.

In the latest quarter, the Bethesda firm had earnings of $188,800 (7 cents) compared with $76,700 (3 cents) in the similar period last year. Revenues increased to $5.9 million from $4.7 million. TVI Energy Corp. of Beltsville posted a loss of $1.1 million during 1982 compared with a loss of $2.1 million the year before. Sales grew to $2.4 million from $429,069.

TVI lost $158,046 in the fourth quarter compared with a loss of $1.1 million a year ago. Sales increased to $1.1 million from $100,459.

With devaluation of the Mexican peso behind it, McCormick & Co.'s earnings returned to normal in the first quarter. That was a substantial improvement over last year when peso problems wiped out nearly half of its first-quarter profits.

The Baltimore spice and real estate company reported sales for the three months ended Feb. 28 climbed 6.9 percent to $166.8 million from $156.1 million.

Net earnings totaled $4.9 million (40 cents a share) compared with the $2.7 million (22 cents) reported a year earlier, when devaluation of the peso required McCormick to take a write-off of $1.46 million (18 cents). Operating results for the two years were roughly the same as pretax income climbed to $7.96 million from $7.89 million.