Home
last modified time | relevance | path

Searched refs:twopixsize (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1813 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local
1817 memcpy(pos, pix[p], twopixsize / hdiv); in tpg_precalculate_line()
1843 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local
1846 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1847 memcpy(pos, pix[p], twopixsize); in tpg_precalculate_line()
1853 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local
1856 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1857 memcpy(pos, pix[p], twopixsize); in tpg_precalculate_line()
1864 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local
1865 u8 *pos = tpg->random_line[p] + x * twopixsize / 2; in tpg_precalculate_line()
[all …]
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c113 static void scale_line(const u8 *src, u8 *dst, unsigned srcw, unsigned dstw, unsigned twopixsize) in scale_line() argument
130 for (x = 0; x < dstw; x++, dst += twopixsize) { in scale_line()
131 memcpy(dst, src + src_x * twopixsize, twopixsize); in scale_line()
244 unsigned twopixsize = tpg_g_twopixelsize(tpg, p); in vivid_copy_buffer() local
301 vosdbuf += (dev->loop_fb_copy.left * twopixsize) / 2 + in vivid_copy_buffer()
361 twopixsize) / 2; in vivid_copy_buffer()
371 dev->loop_vid_overlay.width, twopixsize / 2); in vivid_copy_buffer()
374 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()