• Home
  • Raw
  • Download

Lines Matching refs:config

71 	struct mdp_config *config = &ctx->vpu.vsi->src_config;  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()
82 config->x = 0; in mtk_mdp_hw_set_in_size()
83 config->y = 0; 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()
92 struct mdp_config *config = &ctx->vpu.vsi->src_config; in mtk_mdp_hw_set_in_image_format() local
96 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_in_image_format()
97 config->w_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_in_image_format()
98 config->h_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_in_image_format()
107 struct mdp_config *config = &ctx->vpu.vsi->dst_config; 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()
113 config->x = 0; in mtk_mdp_hw_set_out_size()
114 config->y = 0; 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()
123 struct mdp_config *config = &ctx->vpu.vsi->dst_config; in mtk_mdp_hw_set_out_image_format() local
127 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_out_image_format()
128 config->w_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_out_image_format()
129 config->h_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_out_image_format()