• Home
  • Raw
  • Download

Lines Matching refs:frame

108 	struct fimc_frame *frame = &ctx->d_frame;  in fimc_hw_set_target_format()  local
110 dbg("w= %d, h= %d color: %d", frame->width, in fimc_hw_set_target_format()
111 frame->height, frame->fmt->color); in fimc_hw_set_target_format()
117 switch (frame->fmt->color) { in fimc_hw_set_target_format()
125 if (frame->fmt->colplanes == 1) in fimc_hw_set_target_format()
135 cfg |= (frame->height << 16) | frame->width; in fimc_hw_set_target_format()
137 cfg |= (frame->width << 16) | frame->height; in fimc_hw_set_target_format()
143 cfg |= (frame->width * frame->height); in fimc_hw_set_target_format()
150 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma_size() local
153 cfg = (frame->f_height << 16) | frame->f_width; in fimc_hw_set_out_dma_size()
158 if (frame->f_width >= 1280) /* HD */ in fimc_hw_set_out_dma_size()
169 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma() local
170 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_out_dma()
171 struct fimc_fmt *fmt = frame->fmt; in fimc_hw_set_out_dma()
391 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_rgb_alpha() local
394 if (!(frame->fmt->flags & FMT_HAS_ALPHA)) in fimc_hw_set_rgb_alpha()
399 cfg |= (frame->alpha << 4); in fimc_hw_set_rgb_alpha()
406 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma_size() local
413 cfg_o |= (frame->f_height << 16) | frame->f_width; in fimc_hw_set_in_dma_size()
414 cfg_r |= (frame->height << 16) | frame->width; in fimc_hw_set_in_dma_size()
423 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma() local
424 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_in_dma()
456 switch (frame->fmt->color) { in fimc_hw_set_in_dma()
463 if (frame->fmt->colplanes == 2) in fimc_hw_set_in_dma()
470 if (frame->fmt->colplanes == 1) { in fimc_hw_set_in_dma()
476 if (frame->fmt->colplanes == 2) in fimc_hw_set_in_dma()