Roland Barthes' semiotic theory outlines five codes used in media: enigma codes which use mystery through imagery, action codes employing facial expressions or gestures, symbolic codes representing meanings through images/symbols, semiotic codes where deeper meanings are hidden in elements like color/font requiring decoding, and cultural codes applying cultural references around aspects like age/gender/race. All of these codes can reveal hidden meanings in media products beyond just the surface level information.