• Home
  • Raw
  • Download

Lines Matching refs:src

167                       const struct copybit_rect_t *src,  in set_rects()  argument
194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
195 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
197 e->src_rect.x = delta_x + src->l; in set_rects()
198 e->src_rect.y = delta_y + src->t; in set_rects()
202 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
204 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
210 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
212 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
256 l->req[i].src.width, in msm_copybit()
257 l->req[i].src.height, in msm_copybit()
258 l->req[i].src.format, in msm_copybit()
427 struct copybit_image_t const *src, in stretch_copybit() argument
441 switch (src->format) { in stretch_copybit()
448 src->format); in stretch_copybit()
453 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
454 src_rect->t < 0 || (uint32_t)src_rect->b > src->h) { in stretch_copybit()
462 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) { in stretch_copybit()
463 ALOGE ("%s : Invalid source dimensions w %d h %d", __FUNCTION__, src->w, src->h); in stretch_copybit()
472 if(src->format == HAL_PIXEL_FORMAT_YV12) { in stretch_copybit()
475 if (0 == alloc_buffer(&yv12_handle,src->w,src->h, in stretch_copybit()
476 src->format, usage)){ in stretch_copybit()
477 if(0 == convertYV12toYCrCb420SP(src,yv12_handle)){ in stretch_copybit()
478 (const_cast<copybit_image_t *>(src))->format = in stretch_copybit()
480 (const_cast<copybit_image_t *>(src))->handle = in stretch_copybit()
482 (const_cast<copybit_image_t *>(src))->base = in stretch_copybit()
507 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit()
522 set_image(&req->src, src); in stretch_copybit()
557 struct copybit_image_t const *src, in blit_copybit() argument
561 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit()
562 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
601 set_image(&req->src, buf); in clear_copybit()
661 set_image(&req->src, dst); in fill_color()