Home
last modified time | relevance | path

Searched refs:lut (Results 1 – 25 of 81) sorted by relevance

1234

/external/pdfium/third_party/lcms/src/
Dcmslut.c1275 cmsBool BlessLUT(cmsPipeline* lut) in BlessLUT() argument
1278 if (lut ->Elements != NULL) { in BlessLUT()
1285 First = cmsPipelineGetPtrToFirstStage(lut); in BlessLUT()
1286 Last = cmsPipelineGetPtrToLastStage(lut); in BlessLUT()
1290 lut->InputChannels = First->InputChannels; in BlessLUT()
1291 lut->OutputChannels = Last->OutputChannels; in BlessLUT()
1314 cmsPipeline* lut = (cmsPipeline*) D; in _LUTeval16() local
1319 From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels); in _LUTeval16()
1321 for (mpe = lut ->Elements; in _LUTeval16()
1331 FromFloatTo16(&Storage[Phase][0], Out, lut ->OutputChannels); in _LUTeval16()
[all …]
Dcmsps2.c1051 cmsPipeline* lut = NULL; in GenerateCSA() local
1076 lut = _cmsReadInputLUT(hProfile, Intent); in GenerateCSA()
1077 if (lut == NULL) goto Error; in GenerateCSA()
1081 …if (cmsPipelineCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shape… in GenerateCSA()
1097 if (lut != NULL) cmsPipelineFree(lut); in GenerateCSA()
1103 if (lut != NULL) cmsPipelineFree(lut); in GenerateCSA()
/external/libaom/libaom/test/
Dnoise_model_test.cc164 aom_noise_strength_lut_t lut; in TEST() local
165 EXPECT_EQ(1, aom_noise_strength_solver_fit_piecewise(&solver, 2, &lut)); in TEST()
167 ASSERT_EQ(2, lut.num_points); in TEST()
168 EXPECT_NEAR(0.0, lut.points[0][0], 1e-5); in TEST()
169 EXPECT_NEAR(0.0, lut.points[0][1], 0.5); in TEST()
170 EXPECT_NEAR(255.0, lut.points[1][0], 1e-5); in TEST()
171 EXPECT_NEAR(255.0, lut.points[1][1], 0.5); in TEST()
173 aom_noise_strength_lut_free(&lut); in TEST()
190 aom_noise_strength_lut_t lut; in TEST() local
191 EXPECT_EQ(1, aom_noise_strength_solver_fit_piecewise(&solver, -1, &lut)); in TEST()
[all …]
/external/pdfium/third_party/lcms/
D0022-check-LUT-and-MPE.patch11 -void BlessLUT(cmsPipeline* lut)
12 +cmsBool BlessLUT(cmsPipeline* lut)
15 if (lut ->Elements != NULL) {
23 First = cmsPipelineGetPtrToFirstStage(lut);
24 Last = cmsPipelineGetPtrToLastStage(lut);
26 - if (First != NULL)lut ->InputChannels = First ->InputChannels;
27 - if (Last != NULL) lut ->OutputChannels = Last ->OutputChannels;
30 + lut->InputChannels = First->InputChannels;
31 + lut->OutputChannels = Last->OutputChannels;
71 @@ -1454,7 +1477,12 @@ cmsPipeline* CMSEXPORT cmsPipelineDup(const cmsPipeline* lut)
[all …]
D0011-memory-leak-AllocEmptyTransform.patch5 @@ -761,7 +761,10 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
11 + cmsPipelineFree(lut);
16 p->Lut = lut;
17 @@ -819,7 +822,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
26 @@ -849,7 +852,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
D0004-old-uninitialized-in-LUTeval16.patch7 cmsPipeline* lut = (cmsPipeline*) D;
13 From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels);
D0003-old-uninitialized-in-LUTevalFloat.patch7 cmsPipeline* lut = (cmsPipeline*) D;
13 memmove(&Storage[Phase][0], In, lut ->InputChannels * sizeof(cmsFloat32Number));
/external/u-boot/drivers/spi/
Dfsl_qspi.c199 qspi_write32(priv->flags, &regs->lut[lut_base], OPRND0(QSPI_CMD_WREN) | in qspi_set_lut()
201 qspi_write32(priv->flags, &regs->lut[lut_base + 1], 0); in qspi_set_lut()
202 qspi_write32(priv->flags, &regs->lut[lut_base + 2], 0); in qspi_set_lut()
203 qspi_write32(priv->flags, &regs->lut[lut_base + 3], 0); in qspi_set_lut()
208 qspi_write32(priv->flags, &regs->lut[lut_base], in qspi_set_lut()
214 qspi_write32(priv->flags, &regs->lut[lut_base], in qspi_set_lut()
219 qspi_write32(priv->flags, &regs->lut[lut_base], in qspi_set_lut()
225 qspi_write32(priv->flags, &regs->lut[lut_base + 1], in qspi_set_lut()
229 qspi_write32(priv->flags, &regs->lut[lut_base + 2], 0); in qspi_set_lut()
230 qspi_write32(priv->flags, &regs->lut[lut_base + 3], 0); in qspi_set_lut()
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dpcan_gain_control.cc19 int16_t WideDynamicFunction(const uint32_t x, const int16_t* lut) { in WideDynamicFunction() argument
21 return lut[x]; in WideDynamicFunction()
25 lut += 4 * interval - 6; in WideDynamicFunction()
31 int32_t result = (static_cast<int32_t>(lut[2]) * frac) >> 5; in WideDynamicFunction()
32 result += (static_cast<int32_t>(lut[1])) << 5; in WideDynamicFunction()
35 result += lut[0]; in WideDynamicFunction()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dpcan_gain_control.c19 int16_t WideDynamicFunction(const uint32_t x, const int16_t* lut) { in WideDynamicFunction() argument
21 return lut[x]; in WideDynamicFunction()
25 lut += 4 * interval - 6; in WideDynamicFunction()
32 int32_t result = ((int32_t) lut[2] * frac) >> 5; in WideDynamicFunction()
33 result += ((int32_t) lut[1]) << 5; in WideDynamicFunction()
36 result += lut[0]; in WideDynamicFunction()
/external/libaom/libaom/aom_dsp/
Dnoise_model.c215 int aom_noise_strength_lut_init(aom_noise_strength_lut_t *lut, int num_points) { in aom_noise_strength_lut_init() argument
216 if (!lut) return 0; in aom_noise_strength_lut_init()
217 lut->points = (double(*)[2])aom_malloc(num_points * sizeof(*lut->points)); in aom_noise_strength_lut_init()
218 if (!lut->points) return 0; in aom_noise_strength_lut_init()
219 lut->num_points = num_points; in aom_noise_strength_lut_init()
220 memset(lut->points, 0, sizeof(*lut->points) * num_points); in aom_noise_strength_lut_init()
224 void aom_noise_strength_lut_free(aom_noise_strength_lut_t *lut) { in aom_noise_strength_lut_free() argument
225 if (!lut) return; in aom_noise_strength_lut_free()
226 aom_free(lut->points); in aom_noise_strength_lut_free()
227 memset(lut, 0, sizeof(*lut)); in aom_noise_strength_lut_free()
[all …]
Dnoise_model.h42 int aom_noise_strength_lut_init(aom_noise_strength_lut_t *lut, int num_points);
45 void aom_noise_strength_lut_free(aom_noise_strength_lut_t *lut);
52 double aom_noise_strength_lut_eval(const aom_noise_strength_lut_t *lut,
118 aom_noise_strength_lut_t *lut);
/external/libxcam/modules/soft/
Dsoft_geo_tasks_priv.cpp36 Float2Image *lut = args->lookup_table.ptr (); in work_range() local
39 XCAM_ASSERT (lut); in work_range()
47 Float2 lut_center ((lut->get_width () - 1.0f) / 2.0f, (lut->get_height () - 1.0f) / 2.0f); in work_range()
77 lut->read_interpolate_array<Float2, 8> (lut_pos, in_pos); in work_range()
102 lut->read_interpolate_array<Float2, 8> (lut_pos, in_pos); in work_range()
/external/dng_sdk/source/
Ddng_linearization_info.cpp316 uint16 *lut = NULL; in dng_linearize_plane() local
323 lut = info.fLinearizationTable->Buffer_uint16 (); in dng_linearize_plane()
346 if (lut) in dng_linearize_plane()
351 x = lut [x]; in dng_linearize_plane()
403 if (lut) in dng_linearize_plane()
408 x = lut [x]; in dng_linearize_plane()
574 const uint16 *lut = fScale_buffer->Buffer_uint16 (); in Process() local
586 *dstPtr = lut [*srcPtr]; in Process()
603 *dstPtr = lut [*srcPtr]; in Process()
617 const real32 *lut = fScale_buffer->Buffer_real32 (); in Process() local
[all …]
/external/u-boot/arch/arm/dts/
Dfsl-ls2080a.dtsi95 0x00 0x03480000 0x0 0x80000 /* lut registers */
97 reg-names = "dbi", "lut", "config";
110 0x00 0x03580000 0x0 0x80000 /* lut registers */
112 reg-names = "dbi", "lut", "config";
125 0x00 0x03680000 0x0 0x80000 /* lut registers */
127 reg-names = "dbi", "lut", "config";
140 0x00 0x03780000 0x0 0x80000 /* lut registers */
142 reg-names = "dbi", "lut", "config";
Dfsl-ls1088a.dtsi100 0x00 0x03480000 0x0 0x80000 /* lut registers */
103 reg-names = "dbi", "lut", "ctrl", "config";
116 0x00 0x03580000 0x0 0x80000 /* lut registers */
119 reg-names = "dbi", "lut", "ctrl", "config";
132 0x00 0x03680000 0x0 0x80000 /* lut registers */
135 reg-names = "dbi", "lut", "ctrl", "config";
Dfsl-ls1043a.dtsi240 0x00 0x03410000 0x0 0x10000 /* lut registers */
242 reg-names = "dbi", "lut", "config";
255 0x00 0x03510000 0x0 0x10000 /* lut registers */
257 reg-names = "dbi", "lut", "config";
271 0x00 0x03610000 0x0 0x10000 /* lut registers */
273 reg-names = "dbi", "lut", "config";
Dfsl-ls1046a.dtsi241 0x00 0x03480000 0x0 0x40000 /* lut registers */
244 reg-names = "dbi", "lut", "ctrl", "config";
257 0x00 0x03580000 0x0 0x40000 /* lut registers */
260 reg-names = "dbi", "lut", "ctrl", "config";
274 0x00 0x03680000 0x0 0x40000 /* lut registers */
277 reg-names = "dbi", "lut", "ctrl", "config";
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_perf_set_qos_luts/
Dformat11 field:u32 lut; offset:16; size:4; signed:0;
14 print fmt: "pnum=%d fmt=%d lut=0x%x lin:%d", REC->pnum, REC->fmt, REC->lut, REC->linear
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_perf_set_qos_luts/
Dformat14 field:u32 lut; offset:28; size:4; signed:0;
17 … "pnum=%d fmt=%d intf=%d rot=%d fl:%d lut=0x%x lin:%d", REC->pnum, REC->fmt, REC->intf, REC->rot, …
/external/libaom/libaom/av1/common/
Dblockd.h76 static PREDICTION_MODE lut[] = { in compound_ref0_mode() local
103 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref0_mode()
105 return lut[mode]; in compound_ref0_mode()
109 static PREDICTION_MODE lut[] = { in compound_ref1_mode() local
136 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref1_mode()
138 return lut[mode]; in compound_ref1_mode()
315 static const MV_REFERENCE_FRAME lut[] = { in comp_ref0() local
326 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref0()
327 return lut[ref_idx]; in comp_ref0()
331 static const MV_REFERENCE_FRAME lut[] = { in comp_ref1() local
[all …]
/external/webp/src/utils/
Dquant_levels_dec_utils.c160 static void InitCorrectionLUT(int16_t* const lut, int min_dist) { in InitCorrectionLUT() argument
177 lut[+i] = +c; in InitCorrectionLUT()
178 lut[-i] = -c; in InitCorrectionLUT()
180 lut[0] = 0; in InitCorrectionLUT()
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
D2008-07-12-UnneededSelect1.ll4 @lut = common global [256 x i8] zeroinitializer, align 32 ; <[256 x i8]*> [#uses=1]
19 getelementptr [256 x i8]* @lut, i32 0, i32 %2 ; <i8*>:4 [#uses=1]
/external/llvm/test/Analysis/ScalarEvolution/
D2008-07-12-UnneededSelect1.ll7 @lut = common global [256 x i8] zeroinitializer, align 32 ; <[256 x i8]*> [#uses=1]
22 getelementptr [256 x i8], [256 x i8]* @lut, i32 0, i32 %2 ; <i8*>:4 [#uses=1]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
D2008-07-12-UnneededSelect1.ll7 @lut = common global [256 x i8] zeroinitializer, align 32 ; <[256 x i8]*> [#uses=1]
22 getelementptr [256 x i8], [256 x i8]* @lut, i32 0, i32 %2 ; <i8*>:4 [#uses=1]

1234