Searched refs:src_rect (Results 1 – 6 of 6) sorted by relevance
470 struct v4l2_rect src_rect = src->crop; in bdisp_hw_build_node() local482 src_rect.left += src_x_offset; in bdisp_hw_build_node()483 src_rect.width -= src_x_offset; in bdisp_hw_build_node()484 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); in bdisp_hw_build_node()488 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()561 src_rect.top /= 2; in bdisp_hw_build_node()562 src_rect.height /= 2; in bdisp_hw_build_node()575 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()576 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()581 src_rect.top /= 2; in bdisp_hw_build_node()[all …]
393 dev->src_rect.width == 720 && dev->src_rect.height <= 576) in vivid_get_pixel_aspect()394 return dev->src_rect.height == 480 ? in vivid_get_pixel_aspect()412 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()413 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()421 dev->src_rect.width = 720; in vivid_update_format_cap()423 dev->src_rect.height = 480; in vivid_update_format_cap()427 dev->src_rect.height = 576; in vivid_update_format_cap()434 dev->src_rect.width = bt->width; in vivid_update_format_cap()435 dev->src_rect.height = bt->height; in vivid_update_format_cap()465 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap()[all …]
520 if (dev->src_rect.width != dev->sink_rect.width || in vivid_vid_can_loop()521 dev->src_rect.height != dev->sink_rect.height) in vivid_vid_can_loop()
1011 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance()1012 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance()1014 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance()1015 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
370 struct v4l2_rect src_rect; member
510 dev->src_rect.width, dev->src_rect.height, dev->input); in vivid_fillbuff()