Home
last modified time | relevance | path

Searched refs:xform (Results 1 – 25 of 53) sorted by relevance

123

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsxform.c183 p -> xform(p, InputBuffer, OutputBuffer, Size, Size); in cmsDoTransform()
196 p -> xform(p, InputBuffer, OutputBuffer, Size, Stride); in cmsDoTransformStride()
606 …if (Plugin ->Factory(&p->xform, &p->UserData, &p ->FreeUserData, &p ->Lut, InputFormat, OutputForm… in AllocEmptyTransform()
652 p ->xform = NullFloatXFORM; in AllocEmptyTransform()
656 p ->xform = FloatXFORM; in AllocEmptyTransform()
688 p ->xform = NullXFORM; in AllocEmptyTransform()
694 … p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? else in AllocEmptyTransform()
695 p ->xform = PrecalculatedXFORM; // No cach? no gamut check in AllocEmptyTransform()
700 p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? else in AllocEmptyTransform()
701 p ->xform = CachedXFORM; // No gamut check, cach? in AllocEmptyTransform()
[all …]
Dcmsps2.c835 …cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, … in ExtractGray2Y() local
844 cmsDoTransform(xform, &Gray, &XYZ, 1); in ExtractGray2Y()
850 cmsDeleteTransform(xform); in ExtractGray2Y()
864 cmsHTRANSFORM xform; in WriteInputLUT() local
886 xform = cmsCreateMultiprofileTransform(Profiles, 2, InputFormat, TYPE_Lab_DBL, Intent, 0); in WriteInputLUT()
889 if (xform == NULL) { in WriteInputLUT()
910 _cmsTRANSFORM* v = (_cmsTRANSFORM*) xform; in WriteInputLUT()
931 cmsDeleteTransform(xform); in WriteInputLUT()
997 cmsHTRANSFORM xform; in WriteNamedColorCSA() local
1004 xform = cmsCreateTransform(hNamedColor, TYPE_NAMED_COLOR_INDEX, hLab, TYPE_Lab_DBL, Intent, 0); in WriteNamedColorCSA()
[all …]
Dcmsvirt.c930 cmsHPROFILE CreateNamedColorDevicelink(cmsHTRANSFORM xform) in CreateNamedColorDevicelink() argument
932 _cmsTRANSFORM* v = (_cmsTRANSFORM*) xform; in CreateNamedColorDevicelink()
949 Original = cmsGetNamedColorList(xform); in CreateNamedColorDevicelink()
960 cmsChangeBuffersFormat(xform, TYPE_NAMED_COLOR_INDEX, in CreateNamedColorDevicelink()
966 cmsDoTransform(xform, &i, nc2 ->List[i].DeviceColorant, 1); in CreateNamedColorDevicelink()
1050 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; in cmsTransform2DeviceLink() local
1061 mpe = cmsPipelineGetPtrToFirstStage(xform ->Lut); in cmsTransform2DeviceLink()
1072 LUT = cmsPipelineDup(xform ->Lut); in cmsTransform2DeviceLink()
1076 if ((xform ->EntryColorSpace == cmsSigLabData) && (Version < 4.0)) { in cmsTransform2DeviceLink()
1083 if ((xform ->ExitColorSpace) == cmsSigLabData && (Version < 4.0)) { in cmsTransform2DeviceLink()
[all …]
Dcmsgmt.c42 cmsHTRANSFORM xform; in _cmsChain2Lab() local
74 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList, in _cmsChain2Lab()
85 return xform; in _cmsChain2Lab()
103 cmsHTRANSFORM xform; in ComputeKToLstar() local
108xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, … in ComputeKToLstar()
109 if (xform == NULL) return NULL; in ComputeKToLstar()
121 cmsDoTransform(xform, cmyk, &Lab, 1); in ComputeKToLstar()
129 cmsDeleteTransform(xform); in ComputeKToLstar()
Dcmssamp.c45 cmsHTRANSFORM xform; in CreateRoundtripXForm() local
54 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents, in CreateRoundtripXForm()
58 return xform; in CreateRoundtripXForm()
70 cmsHTRANSFORM xform; in BlackPointAsDarkerColorant() local
112 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat, in BlackPointAsDarkerColorant()
116 if (xform == NULL) { in BlackPointAsDarkerColorant()
124 cmsDoTransform(xform, Black, &Lab, 1); in BlackPointAsDarkerColorant()
131 cmsDeleteTransform(xform); in BlackPointAsDarkerColorant()
/external/chromium_org/printing/
Dprinted_document_win.cc20 XFORM xform = { 0 }; in SimpleModifyWorldTransform() local
21 xform.eDx = static_cast<float>(offset_x); in SimpleModifyWorldTransform()
22 xform.eDy = static_cast<float>(offset_y); in SimpleModifyWorldTransform()
23 xform.eM11 = xform.eM22 = static_cast<float>(1. / shrink_factor); in SimpleModifyWorldTransform()
24 BOOL res = ModifyWorldTransform(context, &xform, MWT_LEFTMULTIPLY); in SimpleModifyWorldTransform()
Demf_win.cc438 const XFORM* xform = reinterpret_cast<const XFORM*>(record()->dParm); in SafePlayback() local
442 ModifyWorldTransform(hdc, xform, MWT_LEFTMULTIPLY); in SafePlayback()
444 res = 0 != SetWorldTransform(hdc, xform); in SafePlayback()
451 const XFORM* xform = reinterpret_cast<const XFORM*>(record()->dParm); in SafePlayback() local
452 const DWORD* option = reinterpret_cast<const DWORD*>(xform + 1); in SafePlayback()
459 res = 0 != ModifyWorldTransform(hdc, xform, MWT_IDENTITY); in SafePlayback()
464 res = 0 != ModifyWorldTransform(hdc, xform, *option); in SafePlayback()
469 ModifyWorldTransform(hdc, xform, MWT_LEFTMULTIPLY); in SafePlayback()
471 res = 0 != SetWorldTransform(hdc, xform); in SafePlayback()
633 XFORM xform = { in RasterizeMetafile() local
[all …]
/external/chromium_org/ui/gfx/
Dtransform_unittest.cc230 Transform xform; in TEST() local
235 xform = translation * xform; in TEST()
238 xform.TransformPoint(&p1); in TEST()
259 Transform xform; in TEST() local
264 xform = scale * xform; in TEST()
267 xform.TransformPoint(&p1); in TEST()
290 Transform xform; in TEST() local
295 xform = rotation * xform; in TEST()
298 xform.TransformPoint(&p1); in TEST()
324 Transform xform; in TEST() local
[all …]
Dgdi_util.cc117 XFORM xform = {0}; in ScaleDC() local
118 xform.eM11 = xform.eM22 = scale_factor; in ScaleDC()
119 return !!ModifyWorldTransform(dc, &xform, MWT_LEFTMULTIPLY); in ScaleDC()
Dinterpolated_transform_unittest.cc63 gfx::Transform xform; in TEST() local
64 xform.Translate(i, i); in TEST()
66 CheckApproximatelyEqual(xform, interpolated); in TEST()
68 CheckApproximatelyEqual(xform, interpolated); in TEST()
Dtransform.cc496 void Transform::TransformPointInternal(const SkMatrix44& xform, in TransformPointInternal() argument
498 if (xform.isIdentity()) in TransformPointInternal()
504 xform.mapMScalars(p); in TransformPointInternal()
514 void Transform::TransformPointInternal(const SkMatrix44& xform, in TransformPointInternal() argument
516 if (xform.isIdentity()) in TransformPointInternal()
522 xform.mapMScalars(p); in TransformPointInternal()
Dtransform.h260 void TransformPointInternal(const SkMatrix44& xform,
263 void TransformPointInternal(const SkMatrix44& xform,
Dinterpolated_transform.cc317 InterpolatedTransform* xform) { in Init() argument
328 pre_transform->SetChild(xform); in Init()
329 xform->SetChild(post_transform.release()); in Init()
/external/pixman/test/
Dstress-test.c524 pixman_transform_t xform; in set_general_properties() local
529 memset (&xform, 0, sizeof xform); in set_general_properties()
530 xform.matrix[0][0] = pixman_fixed_1; in set_general_properties()
531 xform.matrix[1][1] = pixman_fixed_1; in set_general_properties()
532 xform.matrix[2][2] = pixman_fixed_1; in set_general_properties()
542 pixman_transform_rotate (&xform, NULL, c, s); in set_general_properties()
549 pixman_transform_translate (&xform, NULL, tx, ty); in set_general_properties()
556 pixman_transform_scale (&xform, NULL, sx, sy); in set_general_properties()
565 xform.matrix[i][j] = prng_rand(); in set_general_properties()
571 memset (&xform, 0, sizeof xform); in set_general_properties()
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
DPhiEliminate.ll6 ; RUN: opt < %s -simplifycfg -S > %t.xform
7 ; RUN: not grep phi %t.xform
8 ; RUN: grep ret %t.xform
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java324 public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs) in drawImage() argument
326 return graphics.drawImage(img, xform, obs); in drawImage()
364 public void drawRenderableImage(RenderableImage img, AffineTransform xform) in drawRenderableImage() argument
366 graphics.drawRenderableImage(img, xform); in drawRenderableImage()
369 public void drawRenderedImage(RenderedImage img, AffineTransform xform) in drawRenderedImage() argument
371 graphics.drawRenderedImage(img, xform); in drawRenderedImage()
/external/qemu/distrib/jpeg-6b/
Dltmain.sh279 xform='[cCFSfms]'
281 *.ada) xform=ada ;;
282 *.adb) xform=adb ;;
283 *.ads) xform=ads ;;
284 *.asm) xform=asm ;;
285 *.c++) xform=c++ ;;
286 *.cc) xform=cc ;;
287 *.cpp) xform=cpp ;;
288 *.cxx) xform=cxx ;;
289 *.f90) xform=f90 ;;
[all …]
/external/jpeg/
Dltmain.sh279 xform='[cCFSfms]'
281 *.ada) xform=ada ;;
282 *.adb) xform=adb ;;
283 *.ads) xform=ads ;;
284 *.asm) xform=asm ;;
285 *.c++) xform=c++ ;;
286 *.cc) xform=cc ;;
287 *.cpp) xform=cpp ;;
288 *.cxx) xform=cxx ;;
289 *.f90) xform=f90 ;;
[all …]
/external/skia/src/ports/
DSkFontHost_win.cpp449 void init(HFONT font, const XFORM& xform) { in init() argument
451 fXform = xform; in init()
527 XFORM xform = fXform; in draw() local
528 xform.eDx = (float)-glyph.fLeft; in draw()
529 xform.eDy = (float)-glyph.fTop; in draw()
530 SetWorldTransform(fDC, &xform); in draw()
701 XFORM xform; in SkScalerContext_GDI() local
721 xform.eM11 = SkScalarToFloat(sA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
722 xform.eM12 = SkScalarToFloat(sA.get(SkMatrix::kMSkewY)); in SkScalerContext_GDI()
723 xform.eM21 = SkScalarToFloat(sA.get(SkMatrix::kMSkewX)); in SkScalerContext_GDI()
[all …]
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_win.cpp449 void init(HFONT font, const XFORM& xform) { in init() argument
451 fXform = xform; in init()
527 XFORM xform = fXform; in draw() local
528 xform.eDx = (float)-glyph.fLeft; in draw()
529 xform.eDy = (float)-glyph.fTop; in draw()
530 SetWorldTransform(fDC, &xform); in draw()
701 XFORM xform; in SkScalerContext_GDI() local
721 xform.eM11 = SkScalarToFloat(sA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
722 xform.eM12 = SkScalarToFloat(sA.get(SkMatrix::kMSkewY)); in SkScalerContext_GDI()
723 xform.eM21 = SkScalarToFloat(sA.get(SkMatrix::kMSkewX)); in SkScalerContext_GDI()
[all …]
/external/chromium_org/chrome/service/cloud_print/
Dprint_system_win.cc332 XFORM xform = {0}; in PreparePageDCForPrinting() local
333 xform.eDx = static_cast<float>(-offset_x); in PreparePageDCForPrinting()
334 xform.eDy = static_cast<float>(-offset_y); in PreparePageDCForPrinting()
335 xform.eM11 = xform.eM22 = 1.0 / scale_factor; in PreparePageDCForPrinting()
336 SetWorldTransform(printer_dc_.Get(), &xform); in PreparePageDCForPrinting()
/external/chromium-trace/trace-viewer/src/ui/
Dquad_stack.css26 -webkit-transform: translateZ(0); /* actual xform for depth is set in rAF */
/external/libunwind/aux/
Dltmain.sh435 xform='[cCFSfmso]'
437 *.ada) xform=ada ;;
438 *.adb) xform=adb ;;
439 *.ads) xform=ads ;;
440 *.asm) xform=asm ;;
441 *.c++) xform=c++ ;;
442 *.cc) xform=cc ;;
443 *.cpp) xform=cpp ;;
444 *.cxx) xform=cxx ;;
445 *.f90) xform=f90 ;;
[all …]
/external/chromium_org/third_party/libevent/
Dltmain.sh781 xform='[cCFSifmso]'
783 *.ada) xform=ada ;;
784 *.adb) xform=adb ;;
785 *.ads) xform=ads ;;
786 *.asm) xform=asm ;;
787 *.c++) xform=c++ ;;
788 *.cc) xform=cc ;;
789 *.ii) xform=ii ;;
790 *.class) xform=class ;;
791 *.cpp) xform=cpp ;;
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dattrib.c1244 const struct gl_transform_attrib *xform; in _mesa_PopAttrib() local
1245 xform = (const struct gl_transform_attrib *) attr->data; in _mesa_PopAttrib()
1246 _mesa_MatrixMode(xform->MatrixMode); in _mesa_PopAttrib()
1253 const GLfloat *eyePlane = xform->EyeUserPlane[i]; in _mesa_PopAttrib()
1256 !!(xform->ClipPlanesEnabled & mask)); in _mesa_PopAttrib()
1262 if (xform->Normalize != ctx->Transform.Normalize) in _mesa_PopAttrib()
1264 if (xform->RescaleNormals != ctx->Transform.RescaleNormals) in _mesa_PopAttrib()
1267 if (xform->DepthClamp != ctx->Transform.DepthClamp) in _mesa_PopAttrib()

123