Camera: Force software HDR if the camera has hardware HDR
and HW HDR is broken due to broken implementation issues.

Change-Id: Ib520728e453e0167d44e74df2428b0517313f85b
Camera: HDR: convert YUV422P / YV16 format to JPEG

Change-Id: I6310793e5e2d10e2d5e3d374aafe9761273259fc
Camera: HDR: fix low exposure on samsung hardware.

/* samsung actually speficify max HDR range via exposure compinsation */
Change-Id: I48b31965cf5acb6b9abcd2a62b1d341bfcab649c
Camera: HDR:  fix rotation issues.

* fix fake rotate with real rotate by replacing the image with actual rotated image.
* ps2: add more rotation mode

Change-Id: I751cee4b9694180912d3bb0509fd12e295fbcb18
Merge remote-tracking branch 'cm/cm-10.1'