am 8d4e54bc: Remove antibanding because driver does not support them.

Merge commit '8d4e54bcf9c5ec671d03e4cf9386565acedf1d05'

* commit '8d4e54bcf9c5ec671d03e4cf9386565acedf1d05':
  Remove antibanding because driver does not support them.
This commit is contained in:
Wu-cheng Li 2009-07-30 22:41:03 -07:00 committed by Android Git Automerger
commit 31882c14d6

View File

@ -190,9 +190,6 @@ static char *effect_values;
// from qcamera/common/camera.h
static const str_map antibanding[] = {
{ "off", CAMERA_ANTIBANDING_OFF },
{ "60hz", CAMERA_ANTIBANDING_60HZ },
{ "50hz", CAMERA_ANTIBANDING_50HZ },
{ "auto", CAMERA_ANTIBANDING_AUTO },
{ NULL, 0 }
};
static char *antibanding_values;
@ -271,13 +268,7 @@ void QualcommCameraHardware::initDefaultParameters()
p.set("jpeg-thumbnail-quality", "90");
p.setPictureSize(DEFAULT_PICTURE_WIDTH, DEFAULT_PICTURE_HEIGHT);
p.set("antibanding",
/* FIXME:
* CAMERA_ANTIBANDING_60HZ broke the barcode scanner somehow. turn it
* off and revert it back to off for now until we figure out what is
* the best solution.
*/
"off" /*"60hz" */);
p.set("antibanding", "off");
p.set("effect", "off");
p.set("whitebalance", "auto");