/cts/apps/CameraITS/tests/scene1/ |
test_3a.py | 28 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 30 print "AWB: gains", gains, "transform", xform 35 assert(len(xform) == 9)
|
test_auto_vs_manual.py | 40 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 41 xform_rat = its.objects.float_to_rational(xform) 44 print "AWB transform", xform 89 assert(all([abs(xform[i] - x[i]) < 0.05 for i in range(9)]))
|
/external/skia/gm/ |
drawatlas.cpp | 65 void apply(SkRSXform* xform) const { 67 xform->fSCos = fScale * SkScalarCos(rad); 68 xform->fSSin = fScale * SkScalarSin(rad); 69 xform->fTx = fTx; 70 xform->fTy = fTy; 80 SkRSXform xform[N]; variable 85 rec[i].apply(&xform[i]); 94 canvas->drawAtlas(fAtlas, xform, tex, N, nullptr, &paint); 96 canvas->drawAtlas(fAtlas, xform, tex, colors, N, SkXfermode::kSrcIn_Mode, nullptr, &paint);
|
imagefilters.cpp | 168 for (const auto& xform : xforms) { 170 canvas->translate(xform.fTx, xform.fTy); 171 canvas->scale(xform.fSx, xform.fSy);
|
/external/libjpeg-turbo/ |
tjexampletest.in | 107 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 109 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 16,16,70x60 110 runme cmp $OUTDIR/${basename}_${samp}_${xform}.jpg $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg 111 $EXEDIR/djpeg -rgb -bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg >$OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 112 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 16,16,70x60 113 runme cmp -i 54:54 $OUTDIR/${basename}_${samp}_${xform}.bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bm [all...] |
tjbenchtest.in | 186 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 188 runme $EXEDIR/djpeg -rgb $BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg 189 runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime 0.01 -warmup 0 $YUVARG $ALLOCARG 191 runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 196 runme cmp $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} 202 runme $EXEDIR/djpeg -nosmooth -rgb $BMPARG -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg 203 runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime 0.01 -warmup 0 -fastupsample $YUVARG $ALLOCARG 205 runme cmp $OUTDIR/${basename}_${samp}_Q95_full.${EXT} $OUTDIR/${basename}_${samp}_${xform}_jpegtran.${EXT [all...] |
tjbenchtest.java.in | 159 for xform in hflip vflip transpose transverse rot90 rot180 rot270; do 161 runme $EXEDIR/djpeg -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg 162 runme $JAVA TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtime 0.01 -warmup 0 $YUVARG 165 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 170 runme $EXEDIR/djpeg -nosmooth -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg 171 runme $JAVA TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtime 0.01 -warmup 0 -fastupsample $YUVARG 174 runme cmp -i 54:54 $i $OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 181 for xform in hflip vflip transpose transverse rot90 rot180 rot270; d [all...] |
/external/skia/experimental/GLFWTest/ |
glfw_main.cpp | 80 SkRSXform xform[kGrid*kGrid+1]; local 106 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f, 112 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f, 145 SkScalar c = xform[i].fSCos; 146 SkScalar s = xform[i].fSSin; 151 xform[i].fSCos = kCosDiff*c - kSinDiff*s; 152 xform[i].fSSin = kSinDiff*c + kCosDiff*s; 154 dx -= xform[i].fSCos*anchorX - xform[i].fSSin*anchorY; 155 dy -= xform[i].fSSin*anchorX + xform[i].fSCos*anchorY [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsxform.c | 183 p -> xform(p, InputBuffer, OutputBuffer, Size, Size); 196 p -> xform(p, InputBuffer, OutputBuffer, Size, Stride); 202 // Float xform converts floats. Since there are no performance issues, one routine does all job, including gamut check. 606 if (Plugin ->Factory(&p->xform, &p->UserData, &p ->FreeUserData, &p ->Lut, InputFormat, OutputFormat, dwFlags)) { 652 p ->xform = NullFloatXFORM; 656 p ->xform = FloatXFORM; 688 p ->xform = NullXFORM; 694 p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? else 695 p ->xform = PrecalculatedXFORM; // No cach? no gamut check 700 p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? els 812 _cmsTRANSFORM* xform; local 1078 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; local 1087 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; local 1095 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; local 1107 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; local [all...] |
cmsvirt.c | 930 cmsHPROFILE CreateNamedColorDevicelink(cmsHTRANSFORM xform) 932 _cmsTRANSFORM* v = (_cmsTRANSFORM*) xform; 949 Original = cmsGetNamedColorList(xform); 960 cmsChangeBuffersFormat(xform, TYPE_NAMED_COLOR_INDEX, 966 cmsDoTransform(xform, &i, nc2 ->List[i].DeviceColorant, 1); 1050 _cmsTRANSFORM* xform = (_cmsTRANSFORM*) hTransform; local 1061 mpe = cmsPipelineGetPtrToFirstStage(xform ->Lut); 1072 LUT = cmsPipelineDup(xform ->Lut); 1076 if ((xform ->EntryColorSpace == cmsSigLabData) && (Version < 4.0)) { [all...] |
cmsps2.c | 835 cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, Intent, cmsFLAGS_NOOPTIMIZE); local 844 cmsDoTransform(xform, &Gray, &XYZ, 1); 850 cmsDeleteTransform(xform); 864 cmsHTRANSFORM xform; local 886 xform = cmsCreateMultiprofileTransform(Profiles, 2, InputFormat, TYPE_Lab_DBL, Intent, 0); 889 if (xform == NULL) { 910 _cmsTRANSFORM* v = (_cmsTRANSFORM*) xform; 931 cmsDeleteTransform(xform); 997 cmsHTRANSFORM xform; local 1004 xform = cmsCreateTransform(hNamedColor, TYPE_NAMED_COLOR_INDEX, hLab, TYPE_Lab_DBL, Intent, 0) 1281 cmsHTRANSFORM xform; local 1413 cmsHTRANSFORM xform; local [all...] |
cmsgmt.c | 42 cmsHTRANSFORM xform; local 74 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList, 85 return xform; 103 cmsHTRANSFORM xform; local 108 xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, AdaptationStates, dwFlags); 109 if (xform == NULL) return NULL; 121 cmsDoTransform(xform, cmyk, &Lab, 1); 129 cmsDeleteTransform(xform); 435 // Evaluate the xform
|
cmssamp.c | 45 cmsHTRANSFORM xform; local 54 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents, 58 return xform; 70 cmsHTRANSFORM xform; local 112 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat, 116 if (xform == NULL) { 124 cmsDoTransform(xform, Black, &Lab, 1); 131 cmsDeleteTransform(xform);
|
/external/libjpeg-turbo/java/ |
TJExample.java | 104 TJTransform xform = new TJTransform(); local 174 xform.options |= TJTransform.OPT_GRAY; 176 xform.op = TJTransform.OP_HFLIP; 178 xform.op = TJTransform.OP_VFLIP; 180 xform.op = TJTransform.OP_TRANSPOSE; 182 xform.op = TJTransform.OP_TRANSVERSE; 184 xform.op = TJTransform.OP_ROT90; 186 xform.op = TJTransform.OP_ROT180; 188 xform.op = TJTransform.OP_ROT270; 190 xform.cf = new TJExample() [all...] |
/external/opencv3/modules/python/test/ |
tickets.py | 39 def xform(pt): function in function:TestTickets.test_2542670 48 cv.FillConvexPoly(vis, [xform(p) for p in d[:3]], cv.RGB(255,0,0)) 52 cv.Line(vis, xform(a), xform(b), cv.RGB(0,128,0), 3) 56 cv.Line(vis, xform(a), xform(b), (255,255,255))
|
/external/opencv3/3rdparty/libjasper/ |
jas_cm.c | 368 jas_cmxform_t *xform; local 380 if (!(xform = jas_malloc(sizeof(jas_cmxform_t)))) 382 if (!(xform->pxformseq = jas_cmpxformseq_create())) 391 if (jas_cmpxformseq_append(xform->pxformseq, inpxformseq) || 392 jas_cmpxformseq_appendcnvt(xform->pxformseq, 394 jas_cmpxformseq_append(xform->pxformseq, outpxformseq)) 396 xform->numinchans = jas_clrspc_numchans(inprof->clrspc); 397 xform->numoutchans = jas_clrspc_numchans(outprof->clrspc); 404 if (jas_cmpxformseq_append(xform->pxformseq, outpxformseq) || 405 jas_cmpxformseq_appendcnvt(xform->pxformseq [all...] |
/external/skia/include/core/ |
SkRSXform.h | 22 SkRSXform xform = { scos, ssin, tx, ty }; local 23 return xform; 27 * Initialize a new xform based on the scale, rotation (in radians), final tx,ty location
|
/cts/apps/CameraITS/tests/inprog/ |
test_param_edge_mode.py | 39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
|
/frameworks/native/libs/ui/ |
Rect.cpp | 93 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { 95 if (xform & HAL_TRANSFORM_FLIP_H) { 99 if (xform & HAL_TRANSFORM_FLIP_V) { 103 if (xform & HAL_TRANSFORM_ROT_90) {
|
/external/skia/samplecode/ |
SampleAtlas.cpp | 21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 24 canvas->drawAtlas(atlas, xform, tex, colors, count, SkXfermode::kModulate_Mode, cull, paint); 27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 32 matrix.setRSXform(xform[i]); 175 SkRSXform xform[N]; variable 180 xform[i] = fRec[i].asRSXform(); 190 fProc(canvas, fAtlas, xform, fTex, colorsPtr, N, &cull, &paint);
|
SampleShip.cpp | 26 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 29 canvas->drawAtlas(atlas, xform, tex, colors, count, SkXfermode::kModulate_Mode, cull, paint); 32 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 37 matrix.setRSXform(xform[i]);
|
/cts/apps/CameraITS/tests/ |
tutorial.py | 100 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 102 print "AWB: gains", gains, "transform", xform 116 xform_rat = its.objects.float_to_rational(xform)
|
/external/opencv3/3rdparty/libjasper/jasper/ |
jas_cm.h | 246 void jas_cmxform_destroy(jas_cmxform_t *xform); 249 int jas_cmxform_apply(jas_cmxform_t *xform, jas_cmpixmap_t *in, 252 int jas_cxform_optimize(jas_cmxform_t *xform, int optimize);
|
/cts/apps/CameraITS/pymodules/its/ |
target.py | 59 sens, exp_time, gains, xform, _ \ 63 xform_rat = [{"numerator":int(100*x),"denominator":100} for x in xform]
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/ |
btKinematicCharacterController.cpp | 601 btTransform xform; local 602 xform.setIdentity(); 603 xform.setOrigin (origin); 604 m_ghostObject->setWorldTransform (xform); 659 btTransform xform; local 660 xform = m_ghostObject->getWorldTransform (); 687 xform.setOrigin (m_currentPosition); 688 m_ghostObject->setWorldTransform (xform); 721 btTransform xform; 722 m_rigidBody->getMotionState()->getWorldTransform (xform); [all...] |