What do these icons mean, next to the HP/Stamina bars?

Solution 1:

Icon (1) on your picture indicates what mode your melee weapon uses. By default it's empty, when you transform your weapon (L1 on PS4) indicator fills up.

(2) shows the buffs you have from gemstones inserted in your weapons. The one you have on the picture is health regen, if I remember correctly.