Searched refs:affine (Results 1 - 25 of 52) sorted by relevance

123

/external/ImageMagick/Magick++/lib/
H A DOptions.cpp787 affine, local
788 current=_drawInfo->affine;
790 affine.sx=1.0;
791 affine.rx=0.0;
792 affine.ry=0.0;
793 affine.sy=1.0;
794 affine.tx=0.0;
795 affine.ty=0.0;
797 affine.tx=tx_;
798 affine
821 affine, local
847 affine, local
871 affine, local
896 affine, local
[all...]
H A DImage.cpp1889 oaffine=drawInfo->affine;
1893 affine, local
1896 affine.sx=1.0;
1897 affine.rx=0.0;
1898 affine.ry=0.0;
1899 affine.sy=1.0;
1900 affine.tx=0.0;
1901 affine.ty=0.0;
1903 current=drawInfo->affine;
1904 affine
[all...]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
H A Daffine_linear_operator_test.py32 affine = AffineLinearOperator(
38 self.assertEqual(affine.name, "affine_linear_operator")
39 self.assertAllClose(y, affine.forward(x).eval())
40 self.assertAllClose(x, affine.inverse(y).eval())
41 self.assertAllClose(ildj, affine.inverse_log_det_jacobian(y).eval())
42 self.assertAllClose(-affine.inverse_log_det_jacobian(y).eval(),
43 affine.forward_log_det_jacobian(x).eval())
51 affine = AffineLinearOperator(
58 self.assertEqual(affine.name, "affine_linear_operator")
59 self.assertAllClose(y, affine
[all...]
/external/ImageMagick/MagickCore/
H A Dannotate.c351 annotate_info->affine.tx=geometry_info.xi-image->page.x;
352 annotate_info->affine.ty=geometry_info.psi-image->page.y;
362 offset.x=annotate_info->affine.tx+i*annotate_info->affine.ry*height;
363 offset.y=annotate_info->affine.ty+i*annotate_info->affine.sy*height;
368 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+i*
369 annotate_info->affine.ry*height+annotate_info->affine.ry*
371 offset.y=(geometry.height == 0 ? -1.0 : 1.0)*annotate_info->affine
1162 affine; local
1178 affine; local
1193 affine; local
1209 affine; local
1270 affine; local
[all...]
H A Ddraw.c270 clone_info->affine=draw_info->affine;
962 % dictated by the affine transform.
967 % const AffineMatrix *affine,ExceptionInfo *exception)
975 % o affine: the affine transform.
981 static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine,
1001 z=affine->ry*y+affine->tx;
1002 if (affine
969 AffineEdge(const Image *image,const AffineMatrix *affine, const double y,const SegmentInfo *edge) argument
1055 InverseAffineMatrix(const AffineMatrix *affine) argument
1076 DrawAffineImage(Image *image, const Image *source,const AffineMatrix *affine,ExceptionInfo *exception) argument
1677 affine, local
4573 affine; local
[all...]
H A Ddraw.h210 affine; member in struct:_DrawInfo
H A Dgem.c1424 % ExpandAffine() computes the affine's expansion factor, i.e. the square root
1425 % of the factor by which the affine transform affects area. In an affine
1431 % double ExpandAffine(const AffineMatrix *affine)
1435 % o expansion: ExpandAffine returns the affine's expansion factor.
1437 % o affine: A pointer the affine transform of type AffineMatrix.
1440 MagickExport double ExpandAffine(const AffineMatrix *affine)
1442 assert(affine != (const AffineMatrix *) NULL);
1443 return(sqrt(fabs(affine
1420 ExpandAffine(const AffineMatrix *affine) argument
[all...]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
H A Dvector_student_t.py184 # relationship between df.batch_shape and affine.batch_shape. In
187 # if affine.batch_shape is not scalar:
189 # # it has affine.batch_shape.
190 # self.batch_shape = affine.batch_shape
192 # if affine.batch_shape is scalar:
193 # # let affine broadcasting do its thing.
196 # Here we really only need to collect the affine.batch_shape and decide
199 affine = bijectors.Affine(
209 loc=array_ops.zeros([], dtype=affine.dtype),
210 scale=array_ops.ones([], dtype=affine
[all...]
H A Dsinh_arcsinh.py179 affine = bijectors.Affine(
185 bijector = bijectors.Chain([affine, f])
H A Dvector_sinh_arcsinh_diag.py229 affine = bijectors.Affine(
232 bijector = bijectors.Chain([affine, f])
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
H A Dautoregressive_test.py24 from tensorflow.contrib.distributions.python.ops.bijectors.affine import Affine
59 affine = Affine(scale_tril=self._random_scale_tril(event_size))
61 self._normal_fn(affine), sample0, validate_args=True)
73 affine = Affine(scale_tril=self._random_scale_tril(event_size))
75 self._normal_fn(affine), sample0, validate_args=True)
78 shift_and_log_scale_fn=lambda x: [None, affine.forward(x)],
/external/ImageMagick/coders/
H A Dmvg.c190 draw_info->affine.sx=image->resolution.x == 0.0 ? 1.0 : image->resolution.x/
192 draw_info->affine.sy=image->resolution.y == 0.0 ? 1.0 : image->resolution.y/
194 image->columns=(size_t) (draw_info->affine.sx*image->columns);
195 image->rows=(size_t) (draw_info->affine.sy*image->rows);
H A Dfpx.c411 Read FPX image tile (with or without viewing affine)..
992 affine;
1048 affine.a11=1.0;
1049 affine.a12=0.0;
1050 affine.a13=0.0;
1051 affine.a14=0.0;
1052 affine.a21=0.0;
1053 affine.a22=1.0;
1054 affine.a23=0.0;
1055 affine
986 affine; local
[all...]
H A Dsvg.c142 affine;
273 GetAffineMatrix(&svg_info->affine);
274 svg_info->scale[0]=ExpandAffine(&svg_info->affine);
1318 affine,
1336 GetAffineMatrix(&affine);
1346 affine.sx=StringToDouble(value,(char **) NULL);
1350 affine.rx=StringToDouble(token,&next_token);
1354 affine.ry=StringToDouble(token,&next_token);
1358 affine.sy=StringToDouble(token,&next_token);
1362 affine
140 affine; member in struct:_SVGInfo
1314 affine, local
1932 affine, local
3393 AffineToTransform(Image *image,AffineMatrix *affine) argument
3623 affine; local
[all...]
H A Dmsl.c612 affine,
781 current=draw_info->affine;
782 GetAffineMatrix(&affine);
796 if (LocaleCompare(keyword,"affine") == 0)
802 draw_info->affine.sx=StringToDouble(p,&p);
805 draw_info->affine.rx=StringToDouble(p,&p);
808 draw_info->affine.ry=StringToDouble(p,&p);
811 draw_info->affine.sy=StringToDouble(p,&p);
814 draw_info->affine.tx=StringToDouble(p,&p);
817 draw_info->affine
606 affine, local
[all...]
/external/skia/tools/lua/
H A Dbitmap_statistics.lua34 elseif matrixType.affine then
55 ", affine = ", num_affine_bitmaps,
/external/skqp/tools/lua/
H A Dbitmap_statistics.lua34 elseif matrixType.affine then
55 ", affine = ", num_affine_bitmaps,
/external/ImageMagick/PerlMagick/
H A DMagick.xs289 {"encoding", StringReference}, {"affine", ArrayReference},
320 {"linewidth", RealReference}, {"affine", ArrayReference},
411 { "AffineTransform", { {"affine", ArrayReference},
7614 affine,
8425 "affine matrix must have 4 or 6 elements",PackageName);
8428 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0)));
8429 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0)));
8430 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0)));
8431 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0)));
8432 if (fabs(draw_info->affine
[all...]
/external/ImageMagick/PerlMagick/quantum/
H A Dquantum.xs.in289 {"encoding", StringReference}, {"affine", ArrayReference},
320 {"linewidth", RealReference}, {"affine", ArrayReference},
411 { "AffineTransform", { {"affine", ArrayReference},
7614 affine,
8425 "affine matrix must have 4 or 6 elements",PackageName);
8428 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0)));
8429 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0)));
8430 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0)));
8431 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0)));
8432 if (fabs(draw_info->affine
[all...]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
H A D__init__.py53 from tensorflow.contrib.distributions.python.ops.bijectors.affine import *
/external/ImageMagick/MagickWand/
H A Ddrawing-wand.c327 static void AdjustAffine(DrawingWand *wand,const AffineMatrix *affine)
333 if ((affine->sx != 1.0) || (affine->rx != 0.0) || (affine->ry != 0.0) ||
334 (affine->sy != 1.0) || (affine->tx != 0.0) || (affine->ty != 0.0))
339 current=CurrentContext->affine;
340 CurrentContext->affine.sx=affine
323 AdjustAffine(DrawingWand *wand,const AffineMatrix *affine) argument
613 DrawAffine(DrawingWand *wand,const AffineMatrix *affine) argument
4631 affine; local
[all...]
/external/boringssl/src/crypto/fipsmodule/ec/
H A Dp256-x86_64_test.cc200 P256_POINT_AFFINE affine; local
201 if (!PointToAffine(&affine, actual)) {
203 << "Could not convert " << actual_expr << " to affine: ("
209 if (OPENSSL_memcmp(expected, &affine, sizeof(P256_POINT_AFFINE)) != 0) {
213 << "; affine)\n"
214 << "Actual: (" << FieldElementToString(affine.X) << ", "
215 << FieldElementToString(affine.Y) << ") (" << actual_expr << ")";
/external/ImageMagick/www/api/
H A Ddraw.php118 <p>DrawAffineImage() composites the source over the destination image as dictated by the affine transform.</p>
124 const AffineMatrix *affine,ExceptionInfo *exception)
142 <dt>affine</dt>
143 <dd>the affine transform. </dd>
340 <dd>the affine matrix. </dd>
/external/skia/src/core/
H A DSkMatrix.cpp140 // along with affine.
145 // For rectStaysRect, in the affine case, we only need check that
158 // Only test for scale explicitly if not affine, since affine sets the
164 // Not affine, therefore we already know secondary diagonal is
375 // TODO: The persp/affine preconditions are in place to keep the mask consistent with
774 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
775 affine[kAScaleX] = 1;
776 affine[kASkewY] = 0;
777 affine[kASkew
[all...]
/external/skqp/src/core/
H A DSkMatrix.cpp139 // along with affine.
144 // For rectStaysRect, in the affine case, we only need check that
157 // Only test for scale explicitly if not affine, since affine sets the
163 // Not affine, therefore we already know secondary diagonal is
374 // TODO: The persp/affine preconditions are in place to keep the mask consistent with
773 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
774 affine[kAScaleX] = 1;
775 affine[kASkewY] = 0;
776 affine[kASkew
[all...]

Completed in 1022 milliseconds

123