Searched defs:crop (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp548 android_native_rect_t crop; local
549 crop.left = 0;
550 crop.top = 0;
551 crop.right = 5;
552 crop.bottom = 5;
557 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &crop));
564 // transform matrix to avoid texturing outside the crop region.
/frameworks/base/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp427 bool SoftAVC::handleCropRectEvent(const CropParams *crop) { argument
428 if (mCropLeft != crop->cropLeftOffset ||
429 mCropTop != crop->cropTopOffset ||
430 mCropWidth != crop->cropOutWidth ||
431 mCropHeight != crop->cropOutHeight) {
432 mCropLeft = crop->cropLeftOffset;
433 mCropTop = crop->cropTopOffset;
434 mCropWidth = crop->cropOutWidth;
435 mCropHeight = crop->cropOutHeight;
/frameworks/base/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local
152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp113 GLint crop[4] = { 0, h, w, -h }; local
141 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
172 GLint crop[4] = { 0, h, w, -h }; local
206 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
/frameworks/base/libs/gui/
H A DSurfaceTexture.cpp637 status_t SurfaceTexture::setCrop(const Rect& crop) { argument
638 ST_LOGV("setCrop: crop=[%d,%d,%d,%d]", crop.left, crop.top, crop.right,
639 crop.bottom);
646 mNextCrop = crop;
909 // In order to prevent bilinear sampling at the of the crop rectangle we
920 // decoder, camera, etc.) would simply not use a crop rectangle (or at
951 float crop[1 local
[all...]
/frameworks/base/media/libstagefright/
H A DACodec.cpp1191 "crop",
1198 android_native_rect_t crop; local
1199 crop.left = rect.nLeft;
1200 crop.top = rect.nTop;
1201 crop.right = rect.nLeft + rect.nWidth;
1202 crop.bottom = rect.nTop + rect.nHeight;
1205 mNativeWindow.get(), &crop));
H A DOMXCodec.cpp4404 android_native_rect_t crop; local
4405 crop.left = left;
4406 crop.top = top;
4407 crop.right = right + 1;
4408 crop.bottom = bottom + 1;
4412 native_window_set_crop(mNativeWindow.get(), &crop);
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareInterface.h630 android_native_rect_t crop; local
631 crop.left = left;
632 crop.top = top;
633 crop.right = right;
634 crop.bottom = bottom;
635 return native_window_set_crop(a, &crop);

Completed in 342 milliseconds