Home
last modified time | relevance | path

Searched refs:tpg (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/dports/multimedia/libv4l/linux-5.13-rc2/include/media/tpg/
H A Dv4l2-tpg.h268 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
270 tpg->qual = qual; in tpg_s_quality()
331 tpg->hue = hue; in tpg_s_hue()
425 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
441 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
453 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
473 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
476 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
517 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/media/tpg/
H A Dv4l2-tpg.h268 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
270 tpg->qual = qual; in tpg_s_quality()
331 tpg->hue = hue; in tpg_s_hue()
425 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
441 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
453 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
473 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
476 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
517 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/media/tpg/
H A Dv4l2-tpg.h268 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
270 tpg->qual = qual; in tpg_s_quality()
331 tpg->hue = hue; in tpg_s_hue()
425 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
441 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
453 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
473 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
476 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
517 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/common/
H A Dv4l2-tpg.h311 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
313 tpg->qual = qual; in tpg_s_quality()
373 tpg->hue = hue; in tpg_s_hue()
467 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
483 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
489 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
495 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
515 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
518 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
559 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/common/
H A Dv4l2-tpg.h311 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
313 tpg->qual = qual; in tpg_s_quality()
373 tpg->hue = hue; in tpg_s_hue()
467 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
483 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
489 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
495 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
515 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
518 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
559 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/common/
H A Dv4l2-tpg.h311 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality()
313 tpg->qual = qual; in tpg_s_quality()
373 tpg->hue = hue; in tpg_s_hue()
467 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
483 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
489 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
495 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
515 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
518 tpg->bytesperline[1] = tpg->bytesperline[0]; in tpg_s_bytesperline()
559 return tpg_g_bytesperline(tpg, plane) * tpg->buf_height / in tpg_calc_plane_size()
[all …]
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_tpg.c30 if (!tpg) { in iscsit_alloc_portal_group()
45 return tpg; in iscsit_alloc_portal_group()
57 if (!tpg) { in iscsit_load_discovery_tpg()
68 kfree(tpg); in iscsit_load_discovery_tpg()
105 kfree(tpg); in iscsit_load_discovery_tpg()
113 if (!tpg) in iscsit_release_discovery_tpg()
119 kfree(tpg); in iscsit_release_discovery_tpg()
240 tpg->tpg_attrib.tpg = tpg; in iscsit_tpg_add_portal_group()
491 tpg_np->tpg = tpg; in iscsit_tpg_add_network_portal()
509 tpg->tpg_tiqn->tiqn, &np->np_sockaddr, tpg->tpgt, in iscsit_tpg_add_network_portal()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_tpg.c30 if (!tpg) { in iscsit_alloc_portal_group()
45 return tpg; in iscsit_alloc_portal_group()
57 if (!tpg) { in iscsit_load_discovery_tpg()
68 kfree(tpg); in iscsit_load_discovery_tpg()
105 kfree(tpg); in iscsit_load_discovery_tpg()
113 if (!tpg) in iscsit_release_discovery_tpg()
119 kfree(tpg); in iscsit_release_discovery_tpg()
240 tpg->tpg_attrib.tpg = tpg; in iscsit_tpg_add_portal_group()
491 tpg_np->tpg = tpg; in iscsit_tpg_add_network_portal()
509 tpg->tpg_tiqn->tiqn, &np->np_sockaddr, tpg->tpgt, in iscsit_tpg_add_network_portal()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_tpg.c30 if (!tpg) { in iscsit_alloc_portal_group()
45 return tpg; in iscsit_alloc_portal_group()
57 if (!tpg) { in iscsit_load_discovery_tpg()
68 kfree(tpg); in iscsit_load_discovery_tpg()
105 kfree(tpg); in iscsit_load_discovery_tpg()
113 if (!tpg) in iscsit_release_discovery_tpg()
119 kfree(tpg); in iscsit_release_discovery_tpg()
240 tpg->tpg_attrib.tpg = tpg; in iscsit_tpg_add_portal_group()
491 tpg_np->tpg = tpg; in iscsit_tpg_add_network_portal()
509 tpg->tpg_tiqn->tiqn, &np->np_sockaddr, tpg->tpgt, in iscsit_tpg_add_network_portal()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c91 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
93 tpg->src_height = tpg->buf_height = h; in tpg_init()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
499 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2059 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2080 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2261 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2263 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2267 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c91 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
93 tpg->src_height = tpg->buf_height = h; in tpg_init()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
499 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2059 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2080 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2261 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2263 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2267 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c91 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
93 tpg->src_height = tpg->buf_height = h; in tpg_init()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
499 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2059 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2080 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2261 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2263 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2267 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/qv4l2/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/qvidcap/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/qvidcap/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/qv4l2/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/qvidcap/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/qv4l2/
H A Dv4l2-tpg-core.c87 memset(tpg, 0, sizeof(*tpg)); in tpg_init()
88 tpg->scaled_width = tpg->src_width = w; in tpg_init()
89 tpg->src_height = tpg->buf_height = h; in tpg_init()
468 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
490 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
2021 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2042 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2220 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2222 tpg_hscale_div(tpg, p, (tpg->mv_hor_count + tpg->mv_hor_step) % in tpg_fill_params_pattern()
2226 (tpg->mv_vert_count + tpg->mv_vert_step) % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/
H A Dtarget_core_tpg.c123 if (!tpg->se_tpg_tfo->tpg_check_demo_mode_write_protect(tpg)) { in core_tpg_add_node_to_devs()
139 tpg->se_tpg_tfo->tpg_get_tag(tpg), lun->unpacked_lun, in core_tpg_add_node_to_devs()
190 queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in target_alloc_node_acl()
196 acl->se_tpg = tpg; in target_alloc_node_acl()
215 tpg->se_tpg_tfo->tpg_get_tag(tpg), in target_add_node_acl()
251 if (!tpg->se_tpg_tfo->tpg_check_demo_mode(tpg)) in core_tpg_check_initiator_node_acl()
274 (tpg->se_tpg_tfo->tpg_check_demo_mode_login_only(tpg) != 1)) in core_tpg_check_initiator_node_acl()
301 tpg->se_tpg_tfo->tpg_get_tag(tpg), initiatorname); in core_tpg_add_initiator_node_acl()
309 initiatorname, tpg->se_tpg_tfo->tpg_get_tag(tpg)); in core_tpg_add_initiator_node_acl()
368 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
[all …]

12345678910>>...23