Lines Matching refs:frame
111 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_target_format() local
113 dbg("w= %d, h= %d color: %d", frame->width, in fimc_hw_set_target_format()
114 frame->height, frame->fmt->color); in fimc_hw_set_target_format()
120 switch (frame->fmt->color) { in fimc_hw_set_target_format()
128 if (frame->fmt->colplanes == 1) in fimc_hw_set_target_format()
138 cfg |= (frame->height << 16) | frame->width; in fimc_hw_set_target_format()
140 cfg |= (frame->width << 16) | frame->height; in fimc_hw_set_target_format()
146 cfg |= (frame->width * frame->height); in fimc_hw_set_target_format()
153 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma_size() local
156 cfg = (frame->f_height << 16) | frame->f_width; in fimc_hw_set_out_dma_size()
161 if (frame->f_width >= 1280) /* HD */ in fimc_hw_set_out_dma_size()
172 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma() local
173 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_out_dma()
174 struct fimc_fmt *fmt = frame->fmt; in fimc_hw_set_out_dma()
394 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_rgb_alpha() local
397 if (!(frame->fmt->flags & FMT_HAS_ALPHA)) in fimc_hw_set_rgb_alpha()
402 cfg |= (frame->alpha << 4); in fimc_hw_set_rgb_alpha()
409 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma_size() local
416 cfg_o |= (frame->f_height << 16) | frame->f_width; in fimc_hw_set_in_dma_size()
417 cfg_r |= (frame->height << 16) | frame->width; in fimc_hw_set_in_dma_size()
426 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma() local
427 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_in_dma()
459 switch (frame->fmt->color) { in fimc_hw_set_in_dma()
466 if (frame->fmt->colplanes == 2) in fimc_hw_set_in_dma()
473 if (frame->fmt->colplanes == 1) { in fimc_hw_set_in_dma()
479 if (frame->fmt->colplanes == 2) in fimc_hw_set_in_dma()