Camera: Set the snapshot buffer offsets and size as required by target's
jpeg offline encoder.

Get the required Y offcet, CbCr offset and the rawHeap size from the
encoder and use the same while registering the buffer with driver, as part of
target's offline encoder requirement for different rotation values.
Corrected a few compile warnings.

Change-Id: Idea66c697796f390d41654feaef11416753ff152
1 file changed