/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/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));
|
/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/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;
|
/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/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...] |
cxmatmul.cpp | 1598 CvMat* lut = 0; local 1919 cvReleaseMat( &lut ); variable [all...] |
/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/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/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/pdfium/third_party/lcms/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 1314 cmsPipeline* lut = (cmsPipeline*) D; local 1340 cmsPipeline* lut = (cmsPipeline*) D; local [all...] |
/external/swiftshader/src/Renderer/ |
Surface.hpp | 398 dword lut; member in struct:sw::Surface::DXT1 407 dword lut; member in struct:sw::Surface::DXT3
|
/external/pdfium/core/fxge/dib/ |
cfx_dibsource.cpp | 50 uint32_t lut) { 51 uint32_t lut_1 = lut - 1; 324 int lut = palette.GetLutCount(); local 326 if (lut > 256) { 329 int lut_256 = lut - 256; 351 int32_t lut_1 = lut - 1; [all...] |
/external/skia/samplecode/ |
SampleFilterFuzz.cpp | 303 uint8_t* lut = lutMemory.get(); local 307 lut[i] = (i * 255) / maxIndex; 314 invR ? invLut[r] : lut[r], 315 invG ? invLut[g] : lut[g], 316 invB ? invLut[b] : lut[b]);
|
/external/skqp/samplecode/ |
SampleFilterFuzz.cpp | 303 uint8_t* lut = lutMemory.get(); local 307 lut[i] = (i * 255) / maxIndex; 314 invR ? invLut[r] : lut[r], 315 invG ? invLut[g] : lut[g], 316 invB ? invLut[b] : lut[b]);
|
/external/brotli/c/enc/ |
encode.c | 482 static const int lut[4] = { 0, 0, 1, 2 }; local 484 int prev = lut[input[start_pos & mask] >> 6] * 3; 488 ++bigram_prefix_histo[prev + lut[literal >> 6]]; 489 prev = lut[literal >> 6] * 3; [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 2183 float *lut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); local [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cShadingLanguage420PackTests.cpp | 14558 static const GLchar* lut[] = { "0", "1", "2", "3" }; local 14589 static const GLchar* lut[] = { local [all...] |
gl4cEnhancedLayoutsTests.cpp | 4754 static const GLchar* lut[Shader::STAGE_MAX][Variable::STORAGE_MAX] = { local [all...] |