The first is the mini-HDMI, or Type-C. This is about half the size but still has all the 19 pins, though some of them have their uses swapped. It’s seen on the side of DSLRs and mirrorless cameras.
Since it has a standard size on one end, it can connect such devices to televisions or external monitors with the usual Type A HDMI port. Similarly, Type D, which is also called Micro HDMI ...