Lines Matching refs:mPreprocessedInfo

70     memset(&mPreprocessedInfo, 0, sizeof(mPreprocessedInfo));  in ExynosLayer()
137 mPreprocessedInfo.preProcessed = false; in doPreProcess()
138 mPreprocessedInfo.sourceCrop = mSourceCrop; in doPreProcess()
139 mPreprocessedInfo.displayFrame = mDisplayFrame; in doPreProcess()
140 mPreprocessedInfo.interlacedType = V4L2_FIELD_NONE; in doPreProcess()
158 mPreprocessedInfo.mUsePrivateFormat = false; in doPreProcess()
159 mPreprocessedInfo.mPrivateFormat = gmeta.format; in doPreProcess()
162 mPreprocessedInfo.sourceCrop.top = (int)mSourceCrop.top; in doPreProcess()
163 mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left; in doPreProcess()
164 mPreprocessedInfo.sourceCrop.bottom = (int)(mSourceCrop.bottom + 0.9); in doPreProcess()
165 mPreprocessedInfo.sourceCrop.right = (int)(mSourceCrop.right + 0.9); in doPreProcess()
166 mPreprocessedInfo.preProcessed = true; in doPreProcess()
208 mPreprocessedInfo.interlacedType = metaData->data.dec.nInterlacedType; in doPreProcess()
209 if (mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_BT) { in doPreProcess()
211mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left + gmeta.stride; in doPreProcess()
212mPreprocessedInfo.sourceCrop.right = (int)mSourceCrop.right + gmeta.stride; in doPreProcess()
215 if (mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_TB || in doPreProcess()
216 mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_BT) { in doPreProcess()
217 mPreprocessedInfo.sourceCrop.top = (int)(mSourceCrop.top)/2; in doPreProcess()
218 mPreprocessedInfo.sourceCrop.bottom = (int)(mSourceCrop.bottom)/2; in doPreProcess()
222 mPreprocessedInfo.mUsePrivateFormat = true; in doPreProcess()
223 mPreprocessedInfo.mPrivateFormat = metaData->nPixelFormat; in doPreProcess()
228 mPreprocessedInfo.preProcessed = true; in doPreProcess()
254mPreprocessedInfo.sourceCrop.left = pixel_align((int)mPreprocessedInfo.sourceCrop.left, srcCropXAl… in doPreProcess()
255mPreprocessedInfo.sourceCrop.top = pixel_align((int)mPreprocessedInfo.sourceCrop.top, srcCropYAlig… in doPreProcess()
256 mPreprocessedInfo.sourceCrop.right = mPreprocessedInfo.sourceCrop.left + in doPreProcess()
257 pixel_align_down(WIDTH(mPreprocessedInfo.sourceCrop), srcCropWidthAlign); in doPreProcess()
258 mPreprocessedInfo.sourceCrop.bottom = mPreprocessedInfo.sourceCrop.top + in doPreProcess()
259 pixel_align_down(HEIGHT(mPreprocessedInfo.sourceCrop), srcCropHeightAlign); in doPreProcess()
260 mPreprocessedInfo.preProcessed = true; in doPreProcess()
276 mPreprocessedInfo.displayFrame.right = mDisplayFrame.left + in doPreProcess()
278 mPreprocessedInfo.displayFrame.bottom = mDisplayFrame.top + in doPreProcess()
281 if (mPreprocessedInfo.displayFrame.right > (int)(mDisplay->mXres)) { in doPreProcess()
282 mPreprocessedInfo.displayFrame.left = mDisplay->mXres - in doPreProcess()
283 pixel_align(WIDTH(mPreprocessedInfo.displayFrame), cropWidthAlign); in doPreProcess()
284 mPreprocessedInfo.displayFrame.right = mDisplay->mXres; in doPreProcess()
287 if (mPreprocessedInfo.displayFrame.bottom > (int)(mDisplay->mYres)) { in doPreProcess()
288 mPreprocessedInfo.displayFrame.top = mDisplay->mYres - in doPreProcess()
289 pixel_align_down(HEIGHT(mPreprocessedInfo.displayFrame), cropHeightAlign); in doPreProcess()
290 mPreprocessedInfo.displayFrame.bottom = mDisplay->mYres; in doPreProcess()
300 mPreprocessedInfo.displayFrame.right = mDisplayFrame.left + in doPreProcess()
303 if (mPreprocessedInfo.displayFrame.right > (int)(mDisplay->mXres)) { in doPreProcess()
304 mPreprocessedInfo.displayFrame.left = mDisplay->mXres - in doPreProcess()
305 pixel_align(WIDTH(mPreprocessedInfo.displayFrame), minDstWidth); in doPreProcess()
306 mPreprocessedInfo.displayFrame.right = mDisplay->mXres; in doPreProcess()
313 mPreprocessedInfo.displayFrame.bottom = mDisplayFrame.top + in doPreProcess()
316 if (mPreprocessedInfo.displayFrame.bottom > (int)(mDisplay->mYres)) { in doPreProcess()
317 mPreprocessedInfo.displayFrame.top = mDisplay->mYres - in doPreProcess()
318 pixel_align(HEIGHT(mPreprocessedInfo.displayFrame), minDstHeight); in doPreProcess()
319 mPreprocessedInfo.displayFrame.bottom = mDisplay->mYres; in doPreProcess()
322 mPreprocessedInfo.preProcessed = true; in doPreProcess()
754 if ((mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_TB) || in setSrcExynosImage()
755 (mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_BT)) in setSrcExynosImage()
763 if (!mPreprocessedInfo.mUsePrivateFormat) in setSrcExynosImage()
766 src_img->format = mPreprocessedInfo.mPrivateFormat; in setSrcExynosImage()
770 src_img->x = (int)mPreprocessedInfo.sourceCrop.left; in setSrcExynosImage()
771 src_img->y = (int)mPreprocessedInfo.sourceCrop.top; in setSrcExynosImage()
772 src_img->w = (int)mPreprocessedInfo.sourceCrop.right - (int)mPreprocessedInfo.sourceCrop.left; in setSrcExynosImage()
773 src_img->h = (int)mPreprocessedInfo.sourceCrop.bottom - (int)mPreprocessedInfo.sourceCrop.top; in setSrcExynosImage()
774 if ((mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_TB) || in setSrcExynosImage()
775 (mPreprocessedInfo.interlacedType == V4L2_FIELD_INTERLACED_BT)) in setSrcExynosImage()
826 dst_img->x = mPreprocessedInfo.displayFrame.left; in setDstExynosImage()
827 dst_img->y = mPreprocessedInfo.displayFrame.top; in setDstExynosImage()
828 dst_img->w = (mPreprocessedInfo.displayFrame.right - mPreprocessedInfo.displayFrame.left); in setDstExynosImage()
829 dst_img->h = (mPreprocessedInfo.displayFrame.bottom - mPreprocessedInfo.displayFrame.top); in setDstExynosImage()
966 std::vector<double>({mPreprocessedInfo.sourceCrop.left, in dump()
967 mPreprocessedInfo.sourceCrop.top, in dump()
968 mPreprocessedInfo.sourceCrop.right, in dump()
969 mPreprocessedInfo.sourceCrop.bottom})) in dump()
971 std::vector<int>({mPreprocessedInfo.displayFrame.left, in dump()
972 mPreprocessedInfo.displayFrame.top, in dump()
973 mPreprocessedInfo.displayFrame.right, in dump()
974 mPreprocessedInfo.displayFrame.bottom})) in dump()