Searched refs:src_rect (Results 1 – 7 of 7) sorted by relevance
765 struct v4l2_rect src_rect = src->crop; in bdisp_hw_build_node() local777 src_rect.left += src_x_offset; in bdisp_hw_build_node()778 src_rect.width -= src_x_offset; in bdisp_hw_build_node()779 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); in bdisp_hw_build_node()783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()856 src_rect.top /= 2; in bdisp_hw_build_node()857 src_rect.height /= 2; in bdisp_hw_build_node()870 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()871 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()876 src_rect.top /= 2; in bdisp_hw_build_node()[all …]
376 dev->src_rect.width == 720 && dev->src_rect.height <= 576) in vivid_get_pixel_aspect()377 return dev->src_rect.height == 480 ? in vivid_get_pixel_aspect()396 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()397 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()405 dev->src_rect.width = 720; in vivid_update_format_cap()407 dev->src_rect.height = 480; in vivid_update_format_cap()411 dev->src_rect.height = 576; in vivid_update_format_cap()418 dev->src_rect.width = bt->width; in vivid_update_format_cap()419 dev->src_rect.height = bt->height; in vivid_update_format_cap()458 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap()[all …]
571 if (dev->src_rect.width != dev->sink_rect.width || in vivid_vid_can_loop()572 dev->src_rect.height != dev->sink_rect.height) in vivid_vid_can_loop()
1024 dev->fb_cap.fmt.width = dev->src_rect.width; in vivid_create_instance()1025 dev->fb_cap.fmt.height = dev->src_rect.height; in vivid_create_instance()1027 dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; in vivid_create_instance()1028 dev->fb_cap.fmt.sizeimage = dev->src_rect.height * dev->fb_cap.fmt.bytesperline; in vivid_create_instance()
385 struct v4l2_rect src_rect; member
511 dev->src_rect.width, dev->src_rect.height, dev->input); in vivid_fillbuff()
602 struct vchiq_mmal_rect src_rect; member