Lines Matching refs:src_format
103 CSC_FORMAT src_format;
125 handle->src_format.width,
126 handle->src_format.height);
134 handle->src_format.width,
135 handle->src_format.height);
157 handle->src_format.width,
158 handle->src_format.height);
163 handle->src_format.width,
164 handle->src_format.height / 2);
171 handle->src_format.width,
172 handle->src_format.height);
176 handle->src_format.width,
177 handle->src_format.height / 2);
198 handle->src_format.width * handle->src_format.height);
201 (handle->src_format.width * handle->src_format.height) >> 2);
204 (handle->src_format.width * handle->src_format.height) >> 2);
210 handle->src_format.width * handle->src_format.height);
215 (handle->src_format.width * handle->src_format.height) >> 2);
236 handle->src_format.width * handle->src_format.height);
241 handle->src_format.width * handle->src_format.height >> 1);
247 handle->src_format.width * handle->src_format.height);
250 handle->src_format.width * handle->src_format.height >> 1);
266 switch (handle->src_format.color_format) {
304 src_omx_format = hal_2_omx_pixel_format(handle->src_format.color_format);
436 ALIGN(csc_handle->src_format.width, GSCALER_IMG_ALIGN),
437 ALIGN(csc_handle->src_format.height, GSCALER_IMG_ALIGN),
438 csc_handle->src_format.crop_left,
439 csc_handle->src_format.crop_top,
440 csc_handle->src_format.crop_width,
441 csc_handle->src_format.crop_height,
442 HAL_PIXEL_FORMAT_2_V4L2_PIX(csc_handle->src_format.color_format),
443 csc_handle->src_format.cacheable,
465 g2d->src.width = ALIGN(csc_handle->src_format.width,
467 g2d->src.height = csc_handle->src_format.height;
469 hal_2_g2d_bpp(csc_handle->src_format.color_format) >> 3;
470 g2d->src.order = hal_2_g2d_pixel_order(csc_handle->src_format.color_format);
471 g2d->src.fmt = hal_2_g2d_color_format(csc_handle->src_format.color_format);
472 g2d->src.rect.x1 = csc_handle->src_format.crop_left;
473 g2d->src.rect.y1 = csc_handle->src_format.crop_top;
474 g2d->src.rect.x2 = csc_handle->src_format.crop_left +
475 csc_handle->src_format.crop_width;
476 g2d->src.rect.y2 = csc_handle->src_format.crop_top +
477 csc_handle->src_format.crop_height;
694 *width = csc_handle->src_format.width;
695 *height = csc_handle->src_format.height;
696 *crop_left = csc_handle->src_format.crop_left;
697 *crop_top = csc_handle->src_format.crop_top;
698 *crop_width = csc_handle->src_format.crop_width;
699 *crop_height = csc_handle->src_format.crop_height;
700 *color_format = csc_handle->src_format.color_format;
701 *cacheable = csc_handle->src_format.cacheable;
724 csc_handle->src_format.width = width;
725 csc_handle->src_format.height = height;
726 csc_handle->src_format.crop_left = crop_left;
727 csc_handle->src_format.crop_top = crop_top;
728 csc_handle->src_format.crop_width = crop_width;
729 csc_handle->src_format.crop_height = crop_height;
730 csc_handle->src_format.color_format = color_format;
731 csc_handle->src_format.cacheable = cacheable;