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