Lines Matching refs:fmt

158 	if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB565X)  in gsc_hw_set_in_image_rgb()
160 else if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB32) in gsc_hw_set_in_image_rgb()
179 if (is_rgb(frame->fmt->color)) { in gsc_hw_set_in_image_format()
183 for (i = 0; i < frame->fmt->num_planes; i++) in gsc_hw_set_in_image_format()
184 depth += frame->fmt->depth[i]; in gsc_hw_set_in_image_format()
186 switch (frame->fmt->num_comp) { in gsc_hw_set_in_image_format()
189 if (frame->fmt->yorder == GSC_LSB_Y) in gsc_hw_set_in_image_format()
193 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_in_image_format()
203 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_in_image_format()
216 if (is_tiled(frame->fmt)) in gsc_hw_set_in_image_format()
278 if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB565X) in gsc_hw_set_out_image_rgb()
280 else if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB32) in gsc_hw_set_out_image_rgb()
299 if (is_rgb(frame->fmt->color)) { in gsc_hw_set_out_image_format()
309 for (i = 0; i < frame->fmt->num_planes; i++) in gsc_hw_set_out_image_format()
310 depth += frame->fmt->depth[i]; in gsc_hw_set_out_image_format()
312 switch (frame->fmt->num_comp) { in gsc_hw_set_out_image_format()
315 if (frame->fmt->yorder == GSC_LSB_Y) in gsc_hw_set_out_image_format()
319 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_out_image_format()
329 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_out_image_format()
339 if (is_tiled(frame->fmt)) in gsc_hw_set_out_image_format()
410 if (!is_rgb(frame->fmt->color)) { in gsc_hw_set_global_alpha()