Searched refs:subsample (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskConvertImageToRGBPreview.java127 * Calculates the best integer subsample from a given height and width to a
129 * with the Android Bitmap framework; this subsample value is to best
131 * lossless manner without changing the aspect ratio or creating subsample
155 return 1; // If all fails, don't do the subsample.
167 * @param subsample Subsample factor applied to the input image
168 * @param colorSubsample Color subsample due to the YUV color space (In YUV,
179 int inscribedYMin, int subsample, int colorSubsample,
181 return inputVerticalOffset * (rowStride / subsample)
182 + inputHorizontalOffset * (pixelStride / subsample)
194 * for 4K image with a subsample o
178 calculateMemoryOffsetFromPixelOffsets(int inscribedXMin, int inscribedYMin, int subsample, int colorSubsample, int rowStride, int pixelStride, int inputHorizontalOffset, int inputVerticalOffset) argument
222 colorInscribedDataCircleFromYuvImage(ImageProxy img, int subsample) argument
228 colorInscribedDataCircleFromYuvImage(ImageProxy img, Rect crop, int subsample) argument
500 colorSubSampleFromYuvImage(ImageProxy img, int subsample, boolean enableSquareInscribe) argument
540 colorSubSampleFromYuvImage(ImageProxy img, Rect crop, int subsample, boolean enableSquareInscribe) argument
782 dummyColorInscribedDataCircleFromYuvImage(ImageProxy img, int subsample) argument
819 calculateResultImage(ImageToProcess img, int subsample) argument
847 runSelectedConversion(ImageProxy img, Rect crop, int subsample) argument
[all...]
H A DTaskPreviewChainedJpeg.java67 final int subsample = calculateBestSubsampleFactor(
70 final TaskImage resultImage = calculateResultImage(img, subsample);
77 / subsample + " h=" + img.proxy.getHeight() / subsample + " of subsample "
78 + subsample);
80 convertedImage = runSelectedConversion(img.proxy, safeCrop, subsample);
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.h257 * \param subsample boolean flag to control whether the function should internally subsample the provided image to the size provided in the Init() function.
259 int UpdateReference(const unsigned char * const * im, bool subsample = true, bool detect_corners = true);
H A Ddbreg.cpp252 int db_FrameToReferenceRegistration::UpdateReference(const unsigned char * const * im, bool subsample, bool detect_corners) argument
260 if (m_quarter_resolution && subsample)

Completed in 84 milliseconds