Home
last modified time | relevance | path

Searched refs:bytes_per_line (Results 1 – 9 of 9) sorted by relevance

/drivers/media/usb/pwc/
Dpwc-dec23.c361 static void copy_image_block_Y(const int *src, unsigned char *dst, unsigned int bytes_per_line, uns… in copy_image_block_Y() argument
373 d = dst + bytes_per_line; in copy_image_block_Y()
379 d = dst + bytes_per_line*2; in copy_image_block_Y()
385 d = dst + bytes_per_line*3; in copy_image_block_Y()
397 d = dst + bytes_per_line; in copy_image_block_Y()
401 d = dst + bytes_per_line*2; in copy_image_block_Y()
405 d = dst + bytes_per_line*3; in copy_image_block_Y()
415 static void copy_image_block_CrCb(const int *src, unsigned char *dst, unsigned int bytes_per_line, … in copy_image_block_CrCb() argument
432 d = dst + bytes_per_line; in copy_image_block_CrCb()
452 d = dst + bytes_per_line; in copy_image_block_CrCb()
/drivers/media/platform/soc_camera/
Dsoc_mediabus.c443 u32 bytes_per_line, u32 height) in soc_mbus_image_size() argument
446 return bytes_per_line * height; in soc_mbus_image_size()
451 return bytes_per_line * height * 2; in soc_mbus_image_size()
453 return bytes_per_line * height * 3 / 2; in soc_mbus_image_size()
/drivers/media/platform/blackfin/
Dppi.c206 int dma_config, bytes_per_line; in ppi_set_params() local
225 bytes_per_line = params->width * params->bpp / 8; in ppi_set_params()
306 set_dma_x_count(info->dma_ch, bytes_per_line >> 2); in ppi_set_params()
311 set_dma_x_count(info->dma_ch, bytes_per_line >> 1); in ppi_set_params()
/drivers/dma/
Dtimb_dma.c89 unsigned int bytes_per_line; member
210 iowrite32(td_chan->bytes_per_line, td_chan->membase + in __td_start_dma()
712 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe()
/drivers/media/platform/
Dsh_vou.c251 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_queue_setup() local
256 return sizes[0] < pix->height * bytes_per_line ? -EINVAL : 0; in sh_vou_queue_setup()
258 sizes[0] = pix->height * bytes_per_line; in sh_vou_queue_setup()
266 unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_buf_prepare() local
267 unsigned size = pix->height * bytes_per_line; in sh_vou_buf_prepare()
Dpxa_camera.c556 u32 bytes_per_line, u32 height) in pxa_mbus_image_size() argument
560 return bytes_per_line * height * 2; in pxa_mbus_image_size()
/drivers/media/platform/ti-vpe/
Dvpe.c822 int bytes_per_line; in set_srcdst_params() local
833 bytes_per_line = ALIGN((s_q_data->width * mv->depth) >> 3, in set_srcdst_params()
835 mv_buf_size = bytes_per_line * s_q_data->height; in set_srcdst_params()
Dcal.c80 #define bytes_per_line(pixel, bpp) (ALIGN(pixel * bpp, 16)) macro
1002 f->fmt.pix.bytesperline = bytes_per_line(f->fmt.pix.width, in cal_calc_format_size()
/drivers/mfd/
Dtimberdale.c335 .bytes_per_line = 1440,