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.h480 * native_window_set_crop(..., crop)
482 * A buffer's crop region is scaled to match the surface's size.
484 * The specified crop region applies to all buffers queued after it is called.
486 * if 'crop' is NULL, subsequently queued buffers won't be cropped.
488 * An error is returned if for instance the crop region is invalid,
493 android_native_rect_t const * crop)
495 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop);
536 * Calling this function will reset the window crop to a NULL value, which
491 native_window_set_crop( struct ANativeWindow* window, android_native_rect_t const * crop) argument

Completed in 170 milliseconds