Joint Source-Channel Distortion Modeling For Image And Video Communication