Searched refs:twopixsize (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-cap.c | 92 static void scale_line(const u8 *src, u8 *dst, unsigned srcw, unsigned dstw, unsigned twopixsize) in scale_line() argument 109 for (x = 0; x < dstw; x++, dst += twopixsize) { in scale_line() 110 memcpy(dst, src + src_x * twopixsize, twopixsize); in scale_line() 223 unsigned twopixsize = tpg_g_twopixelsize(tpg, p); in vivid_copy_buffer() local 280 vosdbuf += (dev->loop_fb_copy.left * twopixsize) / 2 + in vivid_copy_buffer() 340 twopixsize) / 2; in vivid_copy_buffer() 350 dev->loop_vid_overlay.width, twopixsize / 2); in vivid_copy_buffer() 353 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()
|
/openbmc/linux/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 1848 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local 1852 memcpy(pos, pix[p], twopixsize / hdiv); in tpg_precalculate_line() 1878 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local 1881 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line() 1882 memcpy(pos, pix[p], twopixsize); in tpg_precalculate_line() 1888 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local 1891 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line() 1892 memcpy(pos, pix[p], twopixsize); in tpg_precalculate_line() 1899 unsigned twopixsize = tpg->twopixelsize[p]; in tpg_precalculate_line() local 1900 u8 *pos = tpg->random_line[p] + x * twopixsize / 2; in tpg_precalculate_line() [all …]
|