HomeSort by relevance Sort by last modified time
    Searched refs:lut (Results 1 - 25 of 59) sorted by null

1 2 3

  /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...]
_cxcore.h 304 int dststep, CvSize size, const uchar* lut );
306 int dststep, CvSize size, const ushort* lut );
308 int dststep, CvSize size, const int* lut );
310 int dststep, CvSize size, const double* lut );
313 int dststep, CvSize size, const uchar* lut );
315 int dststep, CvSize size, const uchar* lut );
317 int dststep, CvSize size, const uchar* lut );
320 int dststep, CvSize size, const void* lut );
324 int dststep, CvSize size, const schar* lut )
327 dststep, size, (const uchar*)lut );
    [all...]
cxconvert.cpp 966 uchar lut[256]; local
    [all...]
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSLUTTest.java 49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); local
51 lut.setRed(i, 255-i);
52 lut.setGreen(i, 255-i);
53 lut.setBlue(i, 255-i);
56 lut.forEach(rsInput, rsOutput);
RS3DLUTTest.java 64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); local
66 lut.setLUT(cube);
67 lut.forEach(rsInput, rsOutput);
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicLUT.cpp 36 ObjectBaseRef<Allocation> lut; member in class:android::renderscript::RsdCpuScriptIntrinsicLUT
46 lut.set(static_cast<Allocation *>(data));
60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
91 lut.clear();
  /external/pdfium/third_party/lcms/src/
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
1314 cmsPipeline* lut = (cmsPipeline*) D; local
1340 cmsPipeline* lut = (cmsPipeline*) D; local
    [all...]
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...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsic3DLUT.java 63 public void setLUT(Allocation lut) {
64 final Type t = lut.getType();
67 throw new RSIllegalArgumentException("LUT must be 3d.");
71 throw new RSIllegalArgumentException("LUT element type must match.");
74 mLUT = lut;
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsic3DLUT.java 74 public void setLUT(Allocation lut) {
75 final Type t = lut.getType();
78 throw new RSIllegalArgumentException("LUT must be 3d.");
82 throw new RSIllegalArgumentException("LUT element type must match.");
85 mLUT = lut;
  /external/libxcam/modules/soft/
soft_geo_tasks_priv.cpp 36 Float2Image *lut = args->lookup_table.ptr (); local
39 XCAM_ASSERT (lut);
47 Float2 lut_center ((lut->get_width () - 1.0f) / 2.0f, (lut->get_height () - 1.0f) / 2.0f);
77 lut->read_interpolate_array<Float2, 8> (lut_pos, in_pos);
102 lut->read_interpolate_array<Float2, 8> (lut_pos, in_pos);
  /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 84 float* lut = new float[len]; local
85 env->GetFloatArrayRegion(jlut, 0, len, lut);
86 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len));
  /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;
  /frameworks/native/libs/ui/tests/
colorspace_test.cpp 165 TEST_F(ColorSpaceTest, LUT) {
166 auto lut = ColorSpace::createLUT(17, ColorSpace::sRGB(), ColorSpace::AdobeRGB());
167 EXPECT_TRUE(lut != nullptr);
170 auto r = lut.get()[0 * 17 * 17 + 8 * 17 + 16];
174 r = lut.get()[8 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped
178 r = lut.get()[16 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped
  /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...]
  /cts/apps/CameraITS/tests/
tutorial.py 148 # Apply a lookup table to the image, and save the new version. The LUT
150 # In this case, the LUT is used to double the value of each pixel.
151 lut = numpy.array([2*i for i in xrange(65536)])
152 rgbimg_lut = its.image.apply_lut_to_image(rgbimg, 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/webp/src/utils/
quant_levels_dec_utils.c 160 static void InitCorrectionLUT(int16_t* const lut, int min_dist) {
177 lut[+i] = +c;
178 lut[-i] = -c;
180 lut[0] = 0;
  /prebuilts/go/darwin-x86/src/image/jpeg/
huffman.go 24 // lut is the look-up table for the next lutSize bits in the bit-stream.
28 lut [1 << lutSize]uint16
134 for i := range h.lut {
135 h.lut[i] = 0
149 h.lut[base|k] = lutValue
197 if v := h.lut[(d.bits.a>>uint32(d.bits.n-lutSize))&0xff]; v != 0 {
  /prebuilts/go/linux-x86/src/image/jpeg/
huffman.go 24 // lut is the look-up table for the next lutSize bits in the bit-stream.
28 lut [1 << lutSize]uint16
134 for i := range h.lut {
135 h.lut[i] = 0
149 h.lut[base|k] = lutValue
197 if v := h.lut[(d.bits.a>>uint32(d.bits.n-lutSize))&0xff]; v != 0 {
  /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)];
  /external/skia/src/core/
SkMaskGamma.h 218 * If APPLY_LUT is true, returns lut[component].
221 * @lut a look-up table which transforms the component.
226 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {
227 return lut[component];
  /external/skqp/src/core/
SkMaskGamma.h 218 * If APPLY_LUT is true, returns lut[component].
221 * @lut a look-up table which transforms the component.
226 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {
227 return lut[component];
  /frameworks/native/libs/ui/tools/
lutgen.cpp 37 cout << "lutgen -d SIZE -s SOURCE -t TARGET <lut file>" << endl;
39 cout << "Generate a 3D LUT to convert between two color spaces." << endl;
41 cout << "If <lut file> ends in .inc, data is generated without the array declaration." << endl;
47 cout << " the dimension of the 3D LUT. Example: 17 for a 17x17x17 LUT. 32 by default" << endl;
144 auto lut = ColorSpace::createLUT(gSize, gColorSpaceSrc, gColorSpaceDst); local
145 auto data = lut.get();
148 outputStream << "// 3D LUT stored as an RGB16F texture, in GL order" << endl;
183 outputStream << endl << "}; // end LUT" << endl;

Completed in 734 milliseconds

1 2 3