Lines Matching refs:tonemap_points_cnt
2999 if (tonemap->tonemap_points_cnt > CAM_MAX_TONEMAP_CURVE_SIZE) {
3000 ALOGE("%s: Fatal: tonemap_points_cnt %d exceeds max value of %d",
3001 __func__, tonemap->tonemap_points_cnt,
3003 tonemap->tonemap_points_cnt = CAM_MAX_TONEMAP_CURVE_SIZE;
3008 tonemap->tonemap_points_cnt * 2);
3012 tonemap->tonemap_points_cnt * 2);
3016 tonemap->tonemap_points_cnt * 2);
3032 if (toneCurve->tonemap_points_cnt > CAM_MAX_TONEMAP_CURVE_SIZE) {
3033 ALOGE("%s: Fatal: tonemap_points_cnt %d exceeds max value of %d",
3034 __func__, toneCurve->tonemap_points_cnt,
3036 toneCurve->tonemap_points_cnt = CAM_MAX_TONEMAP_CURVE_SIZE;
3040 toneCurve->tonemap_points_cnt * 2);
6281 tonemapCurves.tonemap_points_cnt = frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).count/2;
6282 if (tonemapCurves.tonemap_points_cnt > CAM_MAX_TONEMAP_CURVE_SIZE) {
6283 ALOGE("%s: Fatal: tonemap_points_cnt %d exceeds max value of %d",
6284 __func__, tonemapCurves.tonemap_points_cnt,
6286 tonemapCurves.tonemap_points_cnt = CAM_MAX_TONEMAP_CURVE_SIZE;
6292 for (int i = 0; i < tonemapCurves.tonemap_points_cnt ; i++) {
6304 for (int i = 0; i < tonemapCurves.tonemap_points_cnt; i++) {
6316 for (int i = 0; i < tonemapCurves.tonemap_points_cnt; i++) {