If you want to be safe in using your camera under the water surface, the camera needs a protector to be waterproof. The protective device is commonly called a housing. Material strength and high accuracy are needed in the process of producing housing. Therefore it is not uncommon for housing prices to be quite expensive, some even more expensive than the price of the camera itself. In the meantime, you can also go to the Gear Hint if you want to find an excellent underwater camera.
Housing is only suitable for one type of camera, Housing is not general, meaning that one camera model is only compatible with its intended housing. Examples of Canon Powershoot S80 camera housing, can not be used for other camera models. Therefore, before buying a digital camera, make sure that the housing is still available in the market to be purchased. Try to buy a camera directly with the housing to prevent the unavailability of housing in the future.
Especially for DSLR cameras, you also have to buy additional ports according to the lens you choose. Each lens has one compatible port, therefore specifically for DSLR cameras, you can only carry 1 type of lens into the water.
Non-DSLR type cameras, usually have a lens function that includes macros and wide-angle. You also photograph macros and wide angles with just 1 camera unit.
Especially for the prosumer type of camera housing, currently available a lot of casing/housing made by the manufacturer itself at a relatively cheap price compared to other companies (3rd party). But it needs to be extra careful because there are so many cases of flooding/leak that occurred to the owners of these non-DSLR cameras.
The best effort is to buy a 3rd party housing such as Ikelite, Sea & Sea, Subal, etc., which are indeed made from high-quality materials and are designed for use in Scuba Diving activities.
Also, pay attention to the procedures for using O-Ring and Grease in the waterproof housing system in the manual of each tool. The thing to remember is that Silicon Grease is not the main tool to prevent leakage. Leaks can only be prevented by using rubber O-rings in accordance with the instructions in the manual.