/hardware/samsung_slsi/exynos5/libhwc/ |
hwc.cpp | 219 hwc_rect_t *crop, size_t alignment) 226 if (crop) { 227 crop->left = (w - w_orig) / 2; 228 crop->top = (h - h_orig) / 2; 229 crop->right = crop->left + w_orig; 230 crop->bottom = crop->top + h_orig; 365 /* GSC's dst crop size should be aligned 128Bytes */ 1320 unsigned int crop = -displayFrame.left; local 1331 unsigned int crop = displayFrame.right - pdev->xres; local 1338 unsigned int crop = -displayFrame.top; local 1349 int crop = displayFrame.bottom - pdev->yres; local [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_mdpcomp.cpp | 271 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 276 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 279 int crop_w = crop.right - crop.left; 280 int crop_h = crop.bottom - crop.top; 548 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 549 batchPixelCount += (crop.right - crop.left) * 550 (crop.bottom - crop.top) [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 105 int crop[] = new int[] { 0, 0, 4, 4 }; local 108 GL11Ext.GL_TEXTURE_CROP_RECT_OES, crop, 0);
|
/external/qemu/android/camera/ |
camera-capture-linux.c | 293 struct v4l2_crop crop; local 311 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 312 crop.c = cropcap.defrect; /* reset to default */ 313 _xioctl (cd->handle, VIDIOC_S_CROP, &crop); 803 struct v4l2_crop crop; local 820 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 821 crop.c = cropcap.defrect; /* reset to default */ 822 _xioctl (cd->handle, VIDIOC_S_CROP, &crop); [all...] |
/frameworks/native/libs/gui/ |
SurfaceControl.cpp | 153 status_t SurfaceControl::setCrop(const Rect& crop) { 157 return client->setCrop(mHandle, crop);
|
/frameworks/native/opengl/tests/filter/ |
filter.cpp | 76 GLint crop[4] = { 0, 4, 4, -4 }; 78 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 116 __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ function 160 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorCrop.java | 108 view.setText(mContext.getString(R.string.crop)); 160 return R.string.crop;
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetConfigure.java | 38 import com.android.gallery3d.filtershow.crop.CropActivity; 39 import com.android.gallery3d.filtershow.crop.CropExtras; 143 // We try to crop a larger image (by scale factor), but there is still
|
/hardware/samsung_slsi/exynos5/libgscaler/ |
exynos_gscaler.c | 639 info->crop.type = info->buf_type; 640 info->crop.c.left = info->crop_left; 641 info->crop.c.top = info->crop_top; 642 info->crop.c.width = info->crop_width; 643 info->crop.c.height = info->crop_height; 645 if (exynos_v4l2_s_crop(fd, &info->crop) < 0) { 1386 struct v4l2_crop crop; local [all...] |
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 893 cam_rect_t crop; local 894 memset(&crop, 0, sizeof(cam_rect_t)); 896 //main_stream->getCropInfo(crop); 909 jpg_job.encode_job.main_dim.crop = crop; 920 memset(&crop, 0, sizeof(cam_rect_t)); 922 //thumb_stream->getCropInfo(crop); [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 899 cam_rect_t crop; local 900 memset(&crop, 0, sizeof(cam_rect_t)); 902 //main_stream->getCropInfo(crop); 915 jpg_job.encode_job.main_dim.crop = crop; [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
QCameraPostProc.cpp | 1043 cam_rect_t crop; local [all...] |
QCameraStream.cpp | 331 * @previewWindoe : preview window ops table to set preview crop window 332 * @crop_info : crop info 343 // get stream param for crop info 347 mCropInfo = crop_info.crop_info[i].crop; 350 // update preview window crop if it's preview/postview stream 790 * DESCRIPTION: query crop info of the stream 793 * @crop : reference to struct to store the queried crop info 799 int32_t QCameraStream::getCropInfo(cam_rect_t &crop) 802 crop = mCropInfo [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraPostProc.cpp | 1043 cam_rect_t crop; local [all...] |
QCameraStream.cpp | 331 * @previewWindoe : preview window ops table to set preview crop window 332 * @crop_info : crop info 343 // get stream param for crop info 347 mCropInfo = crop_info.crop_info[i].crop; 350 // update preview window crop if it's preview/postview stream 790 * DESCRIPTION: query crop info of the stream 793 * @crop : reference to struct to store the queried crop info 799 int32_t QCameraStream::getCropInfo(cam_rect_t &crop) 802 crop = mCropInfo [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 59 mm_camera_rect_t *crop); 877 mm_camera_rect_t *crop) 886 crop->left = crop_info.c.left; 887 crop->top = crop_info.c.top; 888 crop->width = crop_info.c.width; 889 crop->height = crop_info.c.height; 930 mm_camera_rect_t *crop = (mm_camera_rect_t *)out_value; local 931 rc = mm_stream_get_crop(my_obj, crop); 973 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local 974 rc = mm_stream_get_crop(my_obj, crop); 1016 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropView.java | 17 package com.android.camera.crop; 115 RectF crop = mCropObj.getInnerBounds(); local 117 if (crop != newCropBounds || containing != newPhotoBounds 188 Log.w(LOGTAG, "crop reset called"); 301 // If crop object doesn't exist, create it and update it from master 357 // Draw crop rect and markers
|
GeometryMathUtils.java | 17 package com.android.camera.crop;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropView.java | 17 package com.android.gallery3d.filtershow.crop; 116 RectF crop = mCropObj.getInnerBounds(); local 118 if (crop != newCropBounds || containing != newPhotoBounds 189 Log.w(LOGTAG, "crop reset called"); 302 // If crop object doesn't exist, create it and update it from master 358 // Draw crop rect and markers
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 119 GLint crop[4] = { 0, h, w, -h }; local 147 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 178 GLint crop[4] = { 0, h, w, -h }; local 212 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/native/include/gui/ |
GLConsumer.h | 276 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop); 323 // mCurrentCrop is the crop rectangle that applies to the current texture. 389 // mCropRect is the crop rectangle passed to EGL when mEglImage was
|
SurfaceComposerClient.h | 124 status_t setCrop(const sp<IBinder>& id, const Rect& crop);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 88 public boolean crop; field in class:CreateAssetSetWizardState
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
gl_yuvtex.cpp | 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local 152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
|