Lines Matching refs:HR
53 // Variables to keep track of the mosaic computation progress for both LR & HR.
280 tWidth[HR] = width;
281 tHeight[HR] = height;
289 tImage[HR][i] = ImageUtils::allocateImage(tWidth[HR], tHeight[HR],
293 AllocateTextureMemory(tWidth[HR], tHeight[HR], tWidth[LR], tHeight[LR]);
302 ImageUtils::freeImage(tImage[HR][i]);
385 // Copy into HR buffer only if this is a valid frame
387 ConvertYVUAiToPlanarYVU(tImage[HR][frame_number_HR], gPreviewImage[HR],
388 tWidth[HR], tHeight[HR]);
428 YUV420toYVU24_NEW(tImage[HR][frame_number_HR], (ImageType)pixels,
429 tWidth[HR], tHeight[HR]);
436 GenerateQuarterResImagePlanar(tImage[HR][frame_number_HR], tWidth[HR],
437 tHeight[HR], tImage[LR][frame_number_LR]);
492 gProgress[HR] = 0.0;
495 gCancelComputation[HR] = false;
504 gCancelComputation[HR] = cancel_computation;
509 return (jint) gProgress[HR];
526 gProgress[HR] = 0.0;
529 Init(HR, frame_number_HR);
533 if (gCancelComputation[HR])
535 AddFrame(HR, k, NULL);
536 gProgress[HR] += TIME_PERCENT_ALIGN/frame_number_HR;
539 if (gCancelComputation[HR])
545 gProgress[HR] = TIME_PERCENT_ALIGN;
549 LOGV("AlignAll - %d frames [HR]: %g ms", frame_number_HR, time_c);
551 ret = Finalize(HR);
553 gProgress[HR] = 100.0;