/frameworks/native/libs/nativewindow/include/system/ |
window.h | 294 /* the window is clipped to the size of the buffer's crop rectangle; pixels 295 * outside the crop rectangle are treated as if they are completely 583 * native_window_set_crop(..., crop) 585 * Depending on the scaling mode, a buffer's crop region is scaled and/or 586 * cropped to match the surface's size. This function sets the crop in 589 * The specified crop region applies to all buffers queued after it is called. 591 * If 'crop' is NULL, subsequently queued buffers won't be cropped. 593 * An error is returned if for instance the crop region is invalid, out of the 598 android_native_rect_t const * crop) 600 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); [all...] |
/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);
|
/hardware/interfaces/graphics/bufferqueue/1.0/ |
IGraphicBufferProducer.hal | 124 /** A crop rectangle that's used as a hint to the consumer. */ 125 Rect crop; 425 * * crop rect is out of bounds of the buffer dimensions
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.h | 162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 189 //Trims a layer's source crop which is outside of screen boundary. 191 hwc_rect_t& crop, hwc_rect_t& dst);
|
hwc_mdpcomp.cpp | 277 hwc_rect_t crop = layer->sourceCrop; local 282 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 285 int crop_w = crop.right - crop.left; 286 int crop_h = crop.bottom - crop.top; [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceView.java | [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
AnnOverlayPlane.cpp | 690 int crop = (mSrcCrop.w - 4 * mPosition.w)/2 + 1; local 691 mSrcCrop.x += crop; 692 mSrcCrop.w -= 2 * crop; 696 int crop = (mSrcCrop.h - 4 * mPosition.h)/2 + 1; local 697 mSrcCrop.y += crop; 698 mSrcCrop.h -= 2 * crop;
|
/external/ImageMagick/coders/ |
wmf.c | 673 if (bmp_draw->crop.x || bmp_draw->crop.y || 674 (bmp_draw->crop.w != bmp_draw->bmp.width) || 675 (bmp_draw->crop.h != bmp_draw->bmp.height)) 684 crop_info.x = bmp_draw->crop.x; 685 crop_info.y = bmp_draw->crop.y; 686 crop_info.width = bmp_draw->crop.w; 687 crop_info.height = bmp_draw->crop.h; 712 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w); 713 height = fabs(bmp_draw->pixel_height * (double) bmp_draw->crop.h) [all...] |
/external/libjpeg-turbo/ |
CMakeLists.txt | 805 ${dir}djpeg${suffix} -dct int -crop 62x62+71+71 -ppm [all...] |
/frameworks/native/libs/gui/ |
SurfaceComposerClient.cpp | 348 const sp<SurfaceControl>& sc, const Rect& crop) { 355 s->crop = crop; 359 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setFinalCrop(const sp<SurfaceControl>& sc, const Rect& crop) { 366 s->finalCrop = crop;
|
/external/skia/src/effects/ |
SkArithmeticImageFilter.cpp | 451 const SkImageFilter::CropRect* crop) { 471 std::move(foreground), crop); 476 new ArithmeticImageFilterImpl(k1, k2, k3, k4, enforcePMColor, inputs, crop));
|
/external/skqp/src/effects/ |
SkArithmeticImageFilter.cpp | 449 const SkImageFilter::CropRect* crop) { 469 std::move(foreground), crop); 474 new ArithmeticImageFilterImpl(k1, k2, k3, k4, enforcePMColor, inputs, crop));
|
/frameworks/native/services/surfaceflinger/ |
BufferLayerConsumer.cpp | 283 bool BufferLayerConsumer::canUseImageCrop(const Rect& crop) const { 284 // If the crop rect is not at the origin, we can't set the crop on the 288 return mRE.supportsImageCrop() && crop.left == 0 && crop.top == 0;
|
Layer.h | 193 // Crop is expressed in layer space coordinate. 194 Rect crop; member in struct:android::Layer::State 273 bool setCrop(const Rect& crop, bool immediate); 275 bool setFinalCrop(const Rect& crop, bool immediate); 625 // Compute the initial crop as specified by parent layers and the 626 // SurfaceControl for this layer. Does not include buffer crop from the
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_copybit.cpp | 669 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 670 qhwc::calculate_crop_rects(crop, dispFrame, iRect, 674 copybit_rect_t srcRect = {crop.left, crop.top, crop.right, 675 crop.bottom}; [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_copybit.cpp | 722 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 723 qhwc::calculate_crop_rects(crop, dispFrame, iRect, 727 copybit_rect_t srcRect = {crop.left, crop.top, crop.right, 728 crop.bottom}; [all...] |
/device/google/marlin/camera/usbcamcore/src/ |
QualcommUsbCamera.cpp | 1294 struct v4l2_crop crop; local [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 186 Rect crop = Rect::EMPTY_RECT, float frameScale = 1.0) { 191 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale)); 196 Rect crop = Rect::EMPTY_RECT, float frameScale = 1.0) { 201 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale, true)); 2587 Rect crop = Rect(0, 0, 30, 30); local [all...] |
/frameworks/native/services/vr/hardware_composer/impl/ |
vr_hwc.h | 63 Rectf crop; member in struct:android::dvr::ComposerView::ComposerLayer 284 const hwc_frect_t& crop) override;
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
QualcommUsbCamera.cpp | 1294 struct v4l2_crop crop; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/ |
comp_manager.cpp | 412 DisplayError CompManager::ValidateScaling(const LayerRect &crop, const LayerRect &dst, 414 return resource_intf_->ValidateScaling(crop, dst, rotate90, Debug::IsUbwcTiledFrameBuffer(),
|
/device/google/marlin/camera/QCamera2/stack/common/ |
mm_jpeg_interface.h | 149 /* crop information */ 150 cam_rect_t crop; member in struct:__anon2425
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_imageop.py | 51 self.check_size("crop", 0, 0, 0, 0)
85 print 'crop'
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
|
/external/python/cpython2/Lib/test/ |
test_imageop.py | 49 self.check_size("crop", 0, 0, 0, 0) 85 print 'crop' 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
|
/external/v4l2_codec2/tests/ |
C2VDAComponent_test.cpp | 485 ASSERT_EQ(mTestVideoFile->mWidth, static_cast<int>(graphicBlock.crop().width)); 486 ASSERT_EQ(mTestVideoFile->mHeight, static_cast<int>(graphicBlock.crop().height)); 487 ASSERT_EQ(0u, graphicBlock.crop().left); 488 ASSERT_EQ(0u, graphicBlock.crop().top);
|