HomeSort by relevance Sort by last modified time
    Searched defs:lut (Results 26 - 50 of 68) sorted by null

12 3

  /frameworks/base/core/java/com/android/internal/view/animation/
FallbackLUTInterpolator.java 39 * Used to cache the float[] LUT for use across multiple native
68 * Used to create a one-shot float[] LUT & native interpolator
71 float[] lut = createLUT(interpolator, duration); local
72 return NativeInterpolatorFactoryHelper.createLutInterpolator(lut);
  /frameworks/base/core/jni/
com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp 70 float* lut = new float[len]; local
71 env->GetFloatArrayRegion(jlut, 0, len, lut);
72 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len));
  /external/opencv3/modules/core/src/
opencl_kernels_core.cpp 1628 const struct ProgramEntry lut={"lut", member in namespace:cv::ocl::core
    [all...]
  /external/opencv3/modules/cudaarithm/test/
test_core.cpp 301 // LUT
303 PARAM_TEST_CASE(LUT, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi)
321 CUDA_TEST_P(LUT, OneChannel)
324 cv::Mat lut = randomMat(cv::Size(256, 1), CV_8UC1); local
326 cv::Ptr<cv::cuda::LookUpTable> lutAlg = cv::cuda::createLookUpTable(lut);
328 cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()));
332 cv::LUT(src, lut, dst_gold);
337 CUDA_TEST_P(LUT, MultiChannel)
340 cv::Mat lut = randomMat(cv::Size(256, 1), CV_MAKE_TYPE(CV_8U, src.channels())) local
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicLUT.cpp 39 ObjectBaseRef<Allocation> lut; member in class:android::renderscript::RsdCpuScriptIntrinsicLUT
52 lut.set(static_cast<Allocation *>(data));
66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
97 lut.clear();
  /external/opencv/cxcore/src/
cxlut.cpp 45 * LUT Transform *
51 type t0 = lut[src[i]]; \
52 type t1 = lut[src[i+1]]; \
56 t0 = lut[src[i+2]]; \
57 t1 = lut[src[i+3]]; \
64 type t0 = lut[src[i]]; \
72 type t0 = lut[src[i]*2]; \
73 type t1 = lut[src[i+1]*2 + 1]; \
81 type t0 = lut[src[i]*3]; \
82 type t1 = lut[src[i+1]*3 + 1];
225 CvMat lutstub, *lut = (CvMat*)lutarr; local
    [all...]
cxconvert.cpp 966 uchar lut[256]; local
    [all...]
  /external/skia/gm/
colorcube.cpp 78 uint8_t* lut = lutMemory.get(); local
82 lut[i] = (i * 255) / maxIndex;
90 invR ? invLut[r] : lut[r],
91 invG ? invLut[g] : lut[g],
92 invB ? invLut[b] : lut[b]));
  /packages/apps/Gallery2/jni/filters/
fx.c 37 char* lut = 0; local
39 AndroidBitmap_lockPixels(env, lutbitmap, (void**) &lut);
41 unsigned char * lutrgb = (unsigned char * )lut;
  /cts/tests/tests/rscpp/librscpptest/
rs_jni.cpp 186 sp<ScriptIntrinsicLUT> lut = ScriptIntrinsicLUT::create(rs, e); local
193 lut->setRed(0, 256, lutValues);
194 lut->setGreen(0, 256, lutValues);
195 lut->setBlue(0, 256, lutValues);
197 lut->forEach(inputAlloc,outputAlloc);
236 sp<ScriptIntrinsic3DLUT> lut = ScriptIntrinsic3DLUT::create(rs, e); local
241 lut->setLUT(colorCube);
242 lut->forEach(inputAlloc,outputAlloc);
  /external/opencv3/3rdparty/openexr/IlmImf/
ImfPizCompressor.cpp 109 unsigned short lut[USHORT_RANGE])
116 lut[i] = k++;
118 lut[i] = 0;
121 return k - 1; // maximum value stored in lut[],
127 unsigned short lut[USHORT_RANGE])
134 lut[k++] = i;
140 lut[k++] = 0;
142 return n; // maximum k where lut[k] is non-zero,
147 applyLut (const unsigned short lut[USHORT_RANGE],
152 data[i] = lut[data[i]]
432 AutoArray <unsigned short, USHORT_RANGE> lut; local
565 AutoArray <unsigned short, USHORT_RANGE> lut; local
    [all...]
  /external/opencv3/modules/imgproc/src/
colormap.cpp 518 Mat lut, lut8; local
    [all...]
clahe.cpp 107 cv::UMat lut = _lut.getUMat(); local
115 idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(lut));
134 CLAHE_CalcLut_Body(const cv::Mat& src, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& clipLimit, const float& lutScale) :
135 src_(src), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), clipLimit_(clipLimit), lutScale_(lutScale)
219 // calc Lut
234 CLAHE_Interpolation_Body(const cv::Mat& src, const cv::Mat& dst, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& tilesY) :
235 src_(src), dst_(dst), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), tilesY_(tilesY)
distransform.cpp 609 uchar lut[256]; local
622 lut[x] = cv::saturate_cast<uchar>(x+1);
629 dbase[x] = (uchar)(sbase[x] == 0 ? 0 : lut[dbase[x-1]]);
637 a = sbase[0] == 0 ? 0 : lut[dbase[-dststep]];
642 a = sbase[x] == 0 ? 0 : lut[MIN(a, dbase[x - dststep])];
654 a = lut[a];
664 a = lut[dbase[width-1+dststep]];
670 a = lut[MIN(a, b)];
  /hardware/bsp/intel/peripheral/libupm/src/sm130/
sm130.cxx 790 static const char* const lut = "0123456789abcdef"; local
798 output.push_back(lut[c >> 4]);
799 output.push_back(lut[c & 15]);
  /external/dng_sdk/source/
dng_linearization_info.cpp 316 uint16 *lut = NULL; local
323 lut = info.fLinearizationTable->Buffer_uint16 ();
330 // the entire process can be a single LUT.
346 if (lut)
351 x = lut [x];
403 if (lut)
408 x = lut [x];
565 // Simple LUT case.
574 const uint16 *lut = fScale_buffer->Buffer_uint16 (); local
586 *dstPtr = lut [*srcPtr]
617 const real32 *lut = fScale_buffer->Buffer_real32 (); local
664 const int32 *lut = fScale_buffer->Buffer_int32 (); local
792 const real32 *lut = fScale_buffer->Buffer_real32 (); local
    [all...]
  /external/opencv3/modules/flann/include/opencv2/flann/
dist.h 466 HammingLUT lut; local
467 result = lut(reinterpret_cast<const unsigned char*> (a),
  /external/opencv3/modules/videostab/src/
inpainting.cpp 429 static const int lut[8][2] = {{-1,-1}, {-1,0}, {-1,1}, {0,-1}, {0,1}, {1,-1}, {1,0}, {1,1}}; local
433 int qx = x + lut[i][0];
434 int qy = y + lut[i][1];
  /external/opencv/cv/src/
cvdistransform.cpp 629 uchar lut[256]; local
642 lut[x] = CV_CAST_8U(x+1);
649 dbase[x] = (uchar)(sbase[x] == 0 ? 0 : lut[dbase[x-1]]);
657 a = sbase[0] == 0 ? 0 : lut[dbase[-dststep]];
662 a = sbase[x] == 0 ? 0 : lut[MIN(a, dbase[x - dststep])];
674 a = lut[a];
684 a = lut[dbase[width-1+dststep]];
690 a = lut[MIN(a, b)];
cvhistogram.cpp 2314 CvMat* lut = 0; local
    [all...]
  /external/opencv3/3rdparty/libjasper/
jas_cm.c 81 static jas_cmreal_t jas_cmshapmatlut_lookup(jas_cmshapmatlut_t *lut, jas_cmreal_t x);
134 static void jas_cmshapmatlut_init(jas_cmshapmatlut_t *lut);
135 static int jas_cmshapmatlut_set(jas_cmshapmatlut_t *lut, jas_icccurv_t *curv);
280 lut(prof->iccprof, 0, PER, &pxformseq);
282 lut(prof->iccprof, 1, PER, &pxformseq);
284 lut(prof->iccprof, 0, CLR, &pxformseq);
286 lut(prof->iccprof, 1, CLR, &pxformseq);
288 lut(prof->iccprof, 0, SAT, &pxformseq);
290 lut(prof->iccprof, 1, SAT, &pxformseq);
860 static void jas_cmshapmatlut_init(jas_cmshapmatlut_t *lut)
1074 jas_cmshapmatlut_t lut; local
1130 jas_cmshapmatlut_t lut; local
    [all...]
  /external/pdfium/core/src/fxge/dib/
fx_dib_convert.cpp 158 FX_DWORD lut) {
160 FX_DWORD lut_1 = lut - 1;
566 int lut = palette.Getlut(); local
568 if (lut > 256) {
570 int lut_256 = lut - 256;
590 int32_t lut_1 = lut - 1;
    [all...]
  /external/pdfium/third_party/lcms2-2.6/src/
cmsps2.c 569 // Following code dumps a LUT onto memory stream
912 DeviceLink = cmsPipelineDup(v ->Lut);
1051 cmsPipeline* lut = NULL; local
1075 // Read the lut with all necessary conversion stages
1076 lut = _cmsReadInputLUT(hProfile, Intent);
1077 if (lut == NULL) goto Error;
1080 // Tone curves + matrix can be implemented without any LUT
1081 if (cmsPipelineCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shaper, &Matrix)) {
1087 // We need a LUT for the rest
1096 // Get rid of LUT
    [all...]
cmslut.c 104 // This function is quite useful to analyze the structure of a LUT and retrieve the MPE elements
105 // that conform the LUT. It should be called with the LUT, the number of expected elements and
110 cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
119 if (cmsPipelineStageCount(Lut) != n) return FALSE;
124 mpe = Lut ->Elements;
138 mpe = Lut ->Elements;
619 // Our resulting LUT would be same gridpoints on all dimensions
636 // Our resulting LUT would be same gridpoints on all dimensions
1280 cmsPipeline* lut = (cmsPipeline*) D; local
1306 cmsPipeline* lut = (cmsPipeline*) D; local
    [all...]
  /external/skia/samplecode/
SampleFilterFuzz.cpp 308 uint8_t* lut = lutMemory.get(); local
312 lut[i] = (i * 255) / maxIndex;
319 invR ? invLut[r] : lut[r],
320 invG ? invLut[g] : lut[g],
321 invB ? invLut[b] : lut[b]);

Completed in 2381 milliseconds

12 3