Lines Matching defs:err
146 status_t err = addGainMap(/*top*/redTop,
162 if (err != OK) return err;
164 err = addGainMap(/*top*/greenEvenTop,
180 if (err != OK) return err;
182 err = addGainMap(/*top*/greenOddTop,
198 if (err != OK) return err;
200 err = addGainMap(/*top*/blueTop,
216 return err;
236 status_t err = addOpcodePreamble(GAIN_MAP_ID);
237 if (err != OK) return err;
242 err = mEndianOut.write(&flags, 0, 1);
243 if (err != OK) return err;
251 err = mEndianOut.write(&totalSize, 0, 1);
252 if (err != OK) return err;
266 err = mEndianOut.write(settings1, 0, NELEMS(settings1));
267 if (err != OK) return err;
274 err = mEndianOut.write(settings2, 0, NELEMS(settings2));
275 if (err != OK) return err;
277 err = mEndianOut.write(&mapPlanes, 0, 1);
278 if (err != OK) return err;
280 err = mEndianOut.write(mapGains, 0, mapPointsV * mapPointsH * mapPlanes);
281 if (err != OK) return err;
325 status_t err = addOpcodePreamble(WARP_RECTILINEAR_ID);
326 if (err != OK) return err;
331 err = mEndianOut.write(&flags, 0, 1);
332 if (err != OK) return err;
338 err = mEndianOut.write(&totalSize, 0, 1);
339 if (err != OK) return err;
341 err = mEndianOut.write(&numPlanes, 0, 1);
342 if (err != OK) return err;
344 err = mEndianOut.write(kCoeffs, 0, NUMBER_COEFFS);
345 if (err != OK) return err;
347 err = mEndianOut.write(&opticalCenterX, 0, 1);
348 if (err != OK) return err;
350 err = mEndianOut.write(&opticalCenterY, 0, 1);
351 if (err != OK) return err;
376 status_t err = addOpcodePreamble(FIX_BAD_PIXELS_LIST);
377 if (err != OK) return err;
382 err = mEndianOut.write(&flags, 0, 1);
383 if (err != OK) return err;
391 err = mEndianOut.write(&totalSize, 0, 1);
392 if (err != OK) return err;
394 err = mEndianOut.write(&bayerPhase, 0, 1);
395 if (err != OK) return err;
397 err = mEndianOut.write(&badPointCount, 0, 1);
398 if (err != OK) return err;
400 err = mEndianOut.write(&badRectCount, 0, 1);
401 if (err != OK) return err;
404 err = mEndianOut.write(badPointRowColPairs, 0, SIZE_OF_POINT * badPointCount);
405 if (err != OK) return err;
409 err = mEndianOut.write(badRectTopLeftBottomRightTuples, 0, SIZE_OF_RECT * badRectCount);
410 if (err != OK) return err;
418 status_t err = mEndianOut.write(&opcodeId, 0, 1);
419 if (err != OK) return err;
422 err = mEndianOut.write(version, 0, NELEMS(version));
423 if (err != OK) return err;