Searched refs:line_size (Results 1 - 15 of 15) sorted by relevance

/drivers/media/video/cx18/
H A Dcx18-vbi.c111 u32 line_size = vbi_active_samples; local
121 p = buf + i * line_size;
130 memcpy(q, p + 4, line_size - 4 - hdr_size);
131 q += line_size - 4 - hdr_size;
132 p += line_size - hdr_size - 1;
135 memcpy(q, p + 4, line_size - 4);
136 q += line_size - 4;
139 return lines * (line_size - 4);
148 u32 line_size = cx->is_60hz ? vbi_hblank_samples_60Hz local
165 if (size < line_size)
[all...]
/drivers/media/video/cx25821/
H A Dcx25821-video-upstream-ch2.c263 int line_size = (dev->_pixel_format_ch2 == PIXEL_FRMT_411) ? local
268 char mybuf[line_size];
277 frame_size = (line_size == Y411_LINE_SZ) ?
280 frame_size = (line_size == Y411_LINE_SZ) ?
315 vfs_read_retval = vfs_read(myfile, mybuf, line_size,
318 if (vfs_read_retval > 0 && vfs_read_retval == line_size
328 if (vfs_read_retval < line_size) {
338 dev->_file_status_ch2 = (vfs_read_retval == line_size) ?
367 int line_size = (dev->_pixel_format_ch2 == PIXEL_FRMT_411) ? local
370 char mybuf[line_size];
[all...]
H A Dcx25821-audio-upstream.c265 int line_size = AUDIO_LINE_SIZE; local
269 char mybuf[line_size];
306 vfs_read_retval = vfs_read(myfile, mybuf, line_size,
309 if (vfs_read_retval > 0 && vfs_read_retval == line_size
319 if (vfs_read_retval < line_size) {
329 dev->_audiofile_status = (vfs_read_retval == line_size) ?
359 int line_size = AUDIO_LINE_SIZE; local
361 char mybuf[line_size];
397 line_size, &pos);
400 vfs_read_retval == line_size
[all...]
H A Dcx25821-video-upstream.c308 int line_size = (dev->_pixel_format == PIXEL_FRMT_411) ? local
313 char mybuf[line_size];
322 frame_size = (line_size == Y411_LINE_SZ) ?
325 frame_size = (line_size == Y411_LINE_SZ) ?
360 vfs_read_retval = vfs_read(myfile, mybuf, line_size,
363 if (vfs_read_retval > 0 && vfs_read_retval == line_size
373 if (vfs_read_retval < line_size) {
383 dev->_file_status = (vfs_read_retval == line_size) ?
412 int line_size = (dev->_pixel_format == PIXEL_FRMT_411) ? local
415 char mybuf[line_size];
[all...]
/drivers/video/
H A Dsh_mobile_lcdcfb.h87 unsigned int line_size; member in struct:sh_mobile_lcdc_chan
H A Dmxsfb.c380 int line_size, fb_size; local
383 line_size = fb_info->var.xres * (fb_info->var.bits_per_pixel >> 3);
384 fb_size = fb_info->var.yres_virtual * line_size;
389 fb_info->fix.line_length = line_size;
H A Dsh_mobile_lcdcfb.c761 lcdc_write_chan(ch, LDMLSR, ch->line_size);
850 ch->line_size = ch->pitch;
886 &ch->line_size);
/drivers/media/video/ivtv/
H A Divtv-vbi.c313 u32 line_size = itv->vbi.raw_decoder_line_size; local
322 p = buf + i * line_size;
328 memcpy(q, p + 4, line_size - 4);
329 q += line_size - 4;
331 return lines * (line_size - 4);
339 u32 line_size = itv->vbi.sliced_decoder_line_size; local
351 if (size < line_size) {
354 for (i = 0; i < size / line_size; i++) {
355 u8 *p = buf + i * line_size;
/drivers/media/video/
H A Dvino.h39 volatile u32 line_size; member in struct:sgi_vino_channel
H A Dvino.c278 unsigned int line_size; member in struct:vino_channel_settings
1420 "line_size = %d\n", w, d, vcs->line_size);
1427 vcs->line_size = lsize;
1430 "line_size = %d\n", w, d, vcs->line_size);
1480 vcs->clipping.bottom, vcs->decimation, vcs->line_size);
1517 vcs->decimation, vcs->line_size);
1806 ch->line_size = vcs->line_size
[all...]
/drivers/video/omap/
H A Domapfb_main.c493 unsigned long line_size; local
548 line_size = var->xres_virtual * bpp / 8;
549 if (line_size * var->yres_virtual > max_frame_size) {
551 line_size = max_frame_size / var->yres_virtual;
552 var->xres_virtual = line_size * 8 / bpp;
556 line_size = var->xres * bpp / 8;
557 var->yres_virtual = max_frame_size / line_size;
/drivers/gpu/drm/exynos/
H A Dexynos_drm_vidi.c44 unsigned int line_size; /* bytes */ member in struct:vidi_win_data
306 win_data->line_size = overlay->crtc_width * (overlay->bpp >> 3);
H A Dexynos_drm_fimd.c71 unsigned int line_size; /* bytes */ member in struct:fimd_win_data
337 win_data->line_size = overlay->crtc_width * (overlay->bpp >> 3);
478 VIDW_BUF_SIZE_PAGEWIDTH(win_data->line_size);
/drivers/video/omap2/omapfb/
H A Domapfb-main.c459 unsigned long line_size = var->xres_virtual * bytespp; local
466 line_size, var);
476 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size);
478 if (line_size * var->yres_virtual > max_frame_size)
481 if (line_size * var->yres_virtual > max_frame_size) {
483 line_size = var->xres_virtual * bytespp;
486 if (line_size * var->yres_virtual > max_frame_size) {
/drivers/gpu/drm/i915/
H A Dintel_display.c4125 int line_count, line_size; local
4142 line_size = hdisplay * pixel_size;
4146 large = line_count * line_size;
4475 int line_count, line_size; local
4492 line_size = hdisplay * pixel_size;
4496 large = line_count * line_size;
4505 *fbc_wm = DIV_ROUND_UP(*display_wm * 64, line_size) + 2;
4759 int line_count, line_size; local
4782 line_size = sprite_width * pixel_size;
4786 large = line_count * line_size;
[all...]

Completed in 304 milliseconds