[Do Not Merge Yet] CameraHAL Updates

ı have made some changes and
the only thing which is not working is video recording at the moment(everything else is working good)
and seems camera preview(especially on photo mode) is no more laggy with these changes  :)
ım trying to fix video problem ATM
probably ı deleted some important codes mistakenly

can you review this patchset sir?

thanx
regards