QCamera2: Avoid switching the reprocess type during HDR+

The final encoding pass during HDR+ processing will try
to avoid offline processing by switching the reprocess
type of the post-processor to "REPROCESS_TYPE_NONE".
Non-HDR+ requests will usually use
"REPROCESS_TYPE_JPEG" so the post-processor might need
to stop and restart. In most cases this will not cause
any major side effects because HDR+ and non-HDR+
processing rarely overlaps. However if an overlap is present,
then processing like Jpeg encoding can be affected and
capture results may never return.
Avoid this scenario by pushing the HDR+ buffers directly
in the post-processor jpeg queue. The reprocess type
must remain unchanged as long as there any pending
requests.

Bug: 154828114
Test: Camera CTS

Change-Id: I6a01ad665a5fb25023b4d69d4f64625b372248a7
4 files changed
tree: 13408ef8495d750ac333d0fa4f5f90b36954c25d
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk