thanks for your query,
the feature what you r presenting looks like you have temporomandibular joint disorder (jaw joint), there will be a soft tissue
between two jaw bones it provides a cushioning like effect..when this get displaced you will be having difficulty in opening the mouth, clicking sound and muscle around the joint will be painful..
you need to undergo some radiographic investigations like ortopantomograph and TMJ
views... consult a dental surgeon for needful...
i hope my answer would help you..
wish you speedy recovery..