• Home
  • Raw
  • Download

Lines Matching refs:err

63     status_t err = OK;  in addGainMapsForMetadata()  local
72 err = addBayerGainMapsForMetadata(lsmWidth, lsmHeight, activeAreaWidth, in addGainMapsForMetadata()
76 err = addMonochromeGainMapsForMetadata(lsmWidth, lsmHeight, activeAreaWidth, in addGainMapsForMetadata()
81 err = BAD_VALUE; in addGainMapsForMetadata()
84 return err; in addGainMapsForMetadata()
174 status_t err = addGainMap(/*top*/redTop, in addBayerGainMapsForMetadata() local
190 if (err != OK) return err; in addBayerGainMapsForMetadata()
192 err = addGainMap(/*top*/greenEvenTop, in addBayerGainMapsForMetadata()
208 if (err != OK) return err; in addBayerGainMapsForMetadata()
210 err = addGainMap(/*top*/greenOddTop, in addBayerGainMapsForMetadata()
226 if (err != OK) return err; in addBayerGainMapsForMetadata()
228 err = addGainMap(/*top*/blueTop, in addBayerGainMapsForMetadata()
244 return err; in addBayerGainMapsForMetadata()
266 status_t err = addGainMap(/*top*/0, in addMonochromeGainMapsForMetadata() local
282 if (err != OK) return err; in addMonochromeGainMapsForMetadata()
284 return err; in addMonochromeGainMapsForMetadata()
304 status_t err = addOpcodePreamble(GAIN_MAP_ID); in addGainMap() local
305 if (err != OK) return err; in addGainMap()
310 err = mEndianOut.write(&flags, 0, 1); in addGainMap()
311 if (err != OK) return err; in addGainMap()
319 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap()
320 if (err != OK) return err; in addGainMap()
334 err = mEndianOut.write(settings1, 0, NELEMS(settings1)); in addGainMap()
335 if (err != OK) return err; in addGainMap()
342 err = mEndianOut.write(settings2, 0, NELEMS(settings2)); in addGainMap()
343 if (err != OK) return err; in addGainMap()
345 err = mEndianOut.write(&mapPlanes, 0, 1); in addGainMap()
346 if (err != OK) return err; in addGainMap()
348 err = mEndianOut.write(mapGains, 0, mapPointsV * mapPointsH * mapPlanes); in addGainMap()
349 if (err != OK) return err; in addGainMap()
393 status_t err = addOpcodePreamble(WARP_RECTILINEAR_ID); in addWarpRectilinear() local
394 if (err != OK) return err; in addWarpRectilinear()
399 err = mEndianOut.write(&flags, 0, 1); in addWarpRectilinear()
400 if (err != OK) return err; in addWarpRectilinear()
406 err = mEndianOut.write(&totalSize, 0, 1); in addWarpRectilinear()
407 if (err != OK) return err; in addWarpRectilinear()
409 err = mEndianOut.write(&numPlanes, 0, 1); in addWarpRectilinear()
410 if (err != OK) return err; in addWarpRectilinear()
412 err = mEndianOut.write(kCoeffs, 0, NUMBER_COEFFS); in addWarpRectilinear()
413 if (err != OK) return err; in addWarpRectilinear()
415 err = mEndianOut.write(&opticalCenterX, 0, 1); in addWarpRectilinear()
416 if (err != OK) return err; in addWarpRectilinear()
418 err = mEndianOut.write(&opticalCenterY, 0, 1); in addWarpRectilinear()
419 if (err != OK) return err; in addWarpRectilinear()
444 status_t err = addOpcodePreamble(FIX_BAD_PIXELS_LIST); in addBadPixelList() local
445 if (err != OK) return err; in addBadPixelList()
450 err = mEndianOut.write(&flags, 0, 1); in addBadPixelList()
451 if (err != OK) return err; in addBadPixelList()
459 err = mEndianOut.write(&totalSize, 0, 1); in addBadPixelList()
460 if (err != OK) return err; in addBadPixelList()
462 err = mEndianOut.write(&bayerPhase, 0, 1); in addBadPixelList()
463 if (err != OK) return err; in addBadPixelList()
465 err = mEndianOut.write(&badPointCount, 0, 1); in addBadPixelList()
466 if (err != OK) return err; in addBadPixelList()
468 err = mEndianOut.write(&badRectCount, 0, 1); in addBadPixelList()
469 if (err != OK) return err; in addBadPixelList()
472 err = mEndianOut.write(badPointRowColPairs, 0, SIZE_OF_POINT * badPointCount); in addBadPixelList()
473 if (err != OK) return err; in addBadPixelList()
477 err = mEndianOut.write(badRectTopLeftBottomRightTuples, 0, SIZE_OF_RECT * badRectCount); in addBadPixelList()
478 if (err != OK) return err; in addBadPixelList()
486 status_t err = mEndianOut.write(&opcodeId, 0, 1); in addOpcodePreamble() local
487 if (err != OK) return err; in addOpcodePreamble()
490 err = mEndianOut.write(version, 0, NELEMS(version)); in addOpcodePreamble()
491 if (err != OK) return err; in addOpcodePreamble()