Home
last modified time | relevance | path

Searched refs:cgt (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstcirclegeometrictransform.c81 GstCircleGeometricTransform *cgt; in gst_circle_geometric_transform_set_property() local
86 cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (object); in gst_circle_geometric_transform_set_property()
88 GST_OBJECT_LOCK (cgt); in gst_circle_geometric_transform_set_property()
92 if (v != cgt->x_center) { in gst_circle_geometric_transform_set_property()
93 cgt->x_center = v; in gst_circle_geometric_transform_set_property()
99 if (v != cgt->y_center) { in gst_circle_geometric_transform_set_property()
100 cgt->y_center = v; in gst_circle_geometric_transform_set_property()
106 if (v != cgt->radius) { in gst_circle_geometric_transform_set_property()
107 cgt->radius = v; in gst_circle_geometric_transform_set_property()
115 GST_OBJECT_UNLOCK (cgt); in gst_circle_geometric_transform_set_property()
[all …]
Dgstpinch.c139 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in pinch_map() local
144 dx = x - cgt->precalc_x_center; in pinch_map()
145 dy = y - cgt->precalc_y_center; in pinch_map()
149 cgt->precalc_x_center, cgt->x_center, cgt->precalc_y_center, in pinch_map()
150 cgt->y_center); in pinch_map()
152 ", dy=%lf", x, y, distance, cgt->precalc_radius2, dx, dy); in pinch_map()
154 if (distance > cgt->precalc_radius2 || distance == 0) { in pinch_map()
158 gdouble d = sqrt (distance / cgt->precalc_radius2); in pinch_map()
166 *in_x = cgt->precalc_x_center + dx; in pinch_map()
167 *in_y = cgt->precalc_y_center + dy; in pinch_map()
Dgsttunnel.c82 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in tunnel_map() local
96 norm_x = 2.0 * (x - cgt->x_center * width) / MAX (width, height); in tunnel_map()
97 norm_y = 2.0 * (y - cgt->y_center * height) / MAX (width, height); in tunnel_map()
104 norm_x *= CLAMP (r, 0.0, cgt->radius) / r; in tunnel_map()
105 norm_y *= CLAMP (r, 0.0, cgt->radius) / r; in tunnel_map()
108 *in_x = 0.5 * (norm_x) * MAX (width, height) + cgt->x_center * width; in tunnel_map()
109 *in_y = 0.5 * (norm_y) * MAX (width, height) + cgt->y_center * height; in tunnel_map()
Dgstsphere.c140 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in sphere_map() local
145 dx = x - cgt->precalc_x_center; in sphere_map()
146 dy = y - cgt->precalc_y_center; in sphere_map()
151 (cgt->precalc_radius2 - in sphere_map()
152 (cgt->precalc_radius2 * dx2) / cgt->precalc_radius2)) { in sphere_map()
163 z = sqrt ((1.0 - dx2 / cgt->precalc_radius2 - in sphere_map()
164 dy2 / cgt->precalc_radius2) * (cgt->precalc_radius2)); in sphere_map()
Dgsttwirl.c139 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in twirl_map() local
144 dx = x - cgt->precalc_x_center; in twirl_map()
145 dy = y - cgt->precalc_y_center; in twirl_map()
148 if (distance > cgt->precalc_radius2) { in twirl_map()
154 dx) + twirl->angle * (cgt->precalc_radius - d) / cgt->precalc_radius; in twirl_map()
156 *in_x = cgt->precalc_x_center + d * cos (a); in twirl_map()
157 *in_y = cgt->precalc_y_center + d * sin (a); in twirl_map()
Dgststretch.c135 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in stretch_map() local
146 norm_x = 2.0 * (x / width - cgt->x_center); in stretch_map()
147 norm_y = 2.0 * (y / height - cgt->y_center); in stretch_map()
165 norm_x *= a - b * gst_gm_smoothstep (0.0, cgt->radius, r); in stretch_map()
166 norm_y *= a - b * gst_gm_smoothstep (0.0, cgt->radius, r); in stretch_map()
169 *in_x = (0.5 * norm_x + cgt->x_center) * width; in stretch_map()
170 *in_y = (0.5 * norm_y + cgt->y_center) * height; in stretch_map()
Dgstkaleidoscope.c168 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in kaleidoscope_map() local
174 dx = x - cgt->precalc_x_center; in kaleidoscope_map()
175 dy = y - cgt->precalc_y_center; in kaleidoscope_map()
181 if (cgt->precalc_radius != 0) { in kaleidoscope_map()
182 gdouble radiusc = cgt->precalc_radius / cos (theta); in kaleidoscope_map()
188 *in_x = cgt->precalc_x_center + distance * cos (theta); in kaleidoscope_map()
189 *in_y = cgt->precalc_y_center + distance * sin (theta); in kaleidoscope_map()
Dgstbulge.c135 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in bulge_map() local
146 norm_x = 2.0 * (x / width - cgt->x_center); in bulge_map()
147 norm_y = 2.0 * (y / height - cgt->y_center); in bulge_map()
162 cgt->radius, r))); in bulge_map()
168 *in_x = (0.5 * norm_x + cgt->x_center) * width; in bulge_map()
169 *in_y = (0.5 * norm_y + cgt->y_center) * height; in bulge_map()
Dgstwaterripple.c165 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in water_ripple_map() local
170 dx = x - cgt->precalc_x_center; in water_ripple_map()
171 dy = y - cgt->precalc_y_center; in water_ripple_map()
174 if (distance > cgt->precalc_radius2) { in water_ripple_map()
183 amount *= (cgt->precalc_radius - d) / cgt->precalc_radius; in water_ripple_map()
Dgstcircle.c167 GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt); in circle_map() local
173 dx = x - cgt->precalc_x_center; in circle_map()
174 dy = y - cgt->precalc_y_center; in circle_map()
182 gt->height * (1 - (distance - cgt->precalc_radius) / (circle->height + in circle_map()
/third_party/rust/crates/regex/examples/
Dregexdna-output.txt2 [cgt]gggtaaa|tttaccc[acg] 3
6 aggg[acg]aaa|ttt[cgt]ccct 3
7 agggt[cgt]aa|tt[acg]accct 4
8 agggta[cgt]a|t[acg]taccct 3
9 agggtaa[cgt]|[acg]ttaccct 5
/third_party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp618 TEST(vfloat4, cgt) in TEST() argument
2220 TEST(vfloat8, cgt) in TEST() argument
2936 TEST(vint8, cgt) in TEST() argument
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1735 struct ureg_dst cgt; in DECL_SPECIAL() local
1751 cgt = tx_scratch(tx); in DECL_SPECIAL()
1756 ureg_SGT(tx->ureg, cgt, cnd, ureg_imm1f(tx->ureg, 0.5f)); in DECL_SPECIAL()
1758 ureg_CMP(tx->ureg, dst, ureg_negate(ureg_src(cgt)), in DECL_SPECIAL()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md4652 jerry_char_t pattern_p = "[cgt]gggtaaa|tttaccc[acg]";
4692 jerry_char_t pattern_p = "[cgt]gggtaaa|tttaccc[acg]";
/third_party/chromium/patch/
D0001-cve.patch65172 zqTrYXJ(vnm@^6xzkkd)ng;+()K-q7K<Dx_Vv7;$@)y~VBPP|C57$cgt&9oL{gsRw(