• Home
  • Raw
  • Download

Lines Matching refs:frame

70 	struct mtk_mdp_frame *frame = &ctx->s_frame;  in mtk_mdp_hw_set_in_size()  local
74 config->crop_x = frame->crop.left; in mtk_mdp_hw_set_in_size()
75 config->crop_y = frame->crop.top; in mtk_mdp_hw_set_in_size()
78 config->crop_w = frame->crop.width; in mtk_mdp_hw_set_in_size()
79 config->crop_h = frame->crop.height; in mtk_mdp_hw_set_in_size()
84 config->w = frame->width; in mtk_mdp_hw_set_in_size()
85 config->h = frame->height; in mtk_mdp_hw_set_in_size()
91 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_image_format() local
95 src_buf->plane_num = frame->fmt->num_comp; in mtk_mdp_hw_set_in_image_format()
96 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_in_image_format()
101 src_buf->plane_size[i] = frame->payload[i]; in mtk_mdp_hw_set_in_image_format()
106 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_size() local
109 config->crop_x = frame->crop.left; in mtk_mdp_hw_set_out_size()
110 config->crop_y = frame->crop.top; in mtk_mdp_hw_set_out_size()
111 config->crop_w = frame->crop.width; in mtk_mdp_hw_set_out_size()
112 config->crop_h = frame->crop.height; in mtk_mdp_hw_set_out_size()
115 config->w = frame->width; in mtk_mdp_hw_set_out_size()
116 config->h = frame->height; in mtk_mdp_hw_set_out_size()
122 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_image_format() local
126 dst_buf->plane_num = frame->fmt->num_comp; in mtk_mdp_hw_set_out_image_format()
127 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_out_image_format()
131 dst_buf->plane_size[i] = frame->payload[i]; in mtk_mdp_hw_set_out_image_format()