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

/system/core/libpixelflinger/
H A Draster.cpp146 GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4]) argument
168 const GGLint Wcr = crop[2];
169 const GGLint Hcr = crop[3];
173 const GGLint Ucr = crop[0];
174 const GGLint Vcr = crop[1];
190 const GGLint Ucr = crop[0] << 16;
191 const GGLint Vcr = crop[1] << 16;
192 const GGLint Wcr = crop[2] << 16;
193 const GGLint Hcr = crop[3] << 16;
/system/core/include/system/
H A Dwindow.h313 /* the window is clipped to the size of the buffer's crop rectangle; pixels
314 * outside the crop rectangle are treated as if they are completely
610 * native_window_set_crop(..., crop)
612 * Depending on the scaling mode, a buffer's crop region is scaled and/or
613 * cropped to match the surface's size. This function sets the crop in
616 * The specified crop region applies to all buffers queued after it is called.
618 * If 'crop' is NULL, subsequently queued buffers won't be cropped.
620 * An error is returned if for instance the crop region is invalid, out of the
625 android_native_rect_t const * crop)
627 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop);
623 native_window_set_crop( struct ANativeWindow* window, android_native_rect_t const * crop) argument
644 native_window_set_post_transform_crop( struct ANativeWindow* window, android_native_rect_t const * crop) argument
[all...]

Completed in 28 milliseconds