/external/igt-gpu-tools/tests/amdgpu/ |
D | amd_color.c | 26 typedef struct lut { struct 54 static void lut_init(lut_t *lut, uint32_t size) in lut_init() argument 58 lut->size = size; in lut_init() 59 lut->data = malloc(size * sizeof(struct drm_color_lut)); in lut_init() 60 igt_assert(lut); in lut_init() 64 static void lut_gen_linear(lut_t *lut, uint16_t mask) in lut_gen_linear() argument 66 uint32_t n = lut->size - 1; in lut_gen_linear() 69 for (i = 0; i < lut->size; ++i) { in lut_gen_linear() 72 lut->data[i].red = v; in lut_gen_linear() 73 lut->data[i].blue = v; in lut_gen_linear() [all …]
|
/external/pdfium/third_party/lcms/src/ |
D | cmslut.c | 1282 cmsBool BlessLUT(cmsPipeline* lut) in BlessLUT() argument 1285 if (lut ->Elements != NULL) { in BlessLUT() 1292 First = cmsPipelineGetPtrToFirstStage(lut); in BlessLUT() 1293 Last = cmsPipelineGetPtrToLastStage(lut); in BlessLUT() 1297 lut->InputChannels = First->InputChannels; in BlessLUT() 1298 lut->OutputChannels = Last->OutputChannels; in BlessLUT() 1322 cmsPipeline* lut = (cmsPipeline*) D; in _LUTeval16() local 1327 From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels); in _LUTeval16() 1329 for (mpe = lut ->Elements; in _LUTeval16() 1339 FromFloatTo16(&Storage[Phase][0], Out, lut ->OutputChannels); in _LUTeval16() [all …]
|
/external/libaom/libaom/test/ |
D | noise_model_test.cc | 164 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/u-boot/drivers/spi/ |
D | fsl_qspi.c | 226 qspi_write32(priv->flags, ®s->lut[lut_base], OPRND0(QSPI_CMD_WREN) | in qspi_set_lut() 228 qspi_write32(priv->flags, ®s->lut[lut_base + 1], 0); in qspi_set_lut() 229 qspi_write32(priv->flags, ®s->lut[lut_base + 2], 0); in qspi_set_lut() 230 qspi_write32(priv->flags, ®s->lut[lut_base + 3], 0); in qspi_set_lut() 235 qspi_write32(priv->flags, ®s->lut[lut_base], in qspi_set_lut() 241 qspi_write32(priv->flags, ®s->lut[lut_base], in qspi_set_lut() 246 qspi_write32(priv->flags, ®s->lut[lut_base], in qspi_set_lut() 252 qspi_write32(priv->flags, ®s->lut[lut_base + 1], in qspi_set_lut() 256 qspi_write32(priv->flags, ®s->lut[lut_base + 2], 0); in qspi_set_lut() 257 qspi_write32(priv->flags, ®s->lut[lut_base + 3], 0); in qspi_set_lut() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | pcan_gain_control.c | 19 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 = ((int32_t)lut[2] * frac) >> 5; in WideDynamicFunction() 32 result += (int32_t)((uint32_t)lut[1] << 5); in WideDynamicFunction() 35 result += lut[0]; in WideDynamicFunction()
|
/external/igt-gpu-tools/tests/ |
D | kms_available_modes_crc.c | 360 } *lut = NULL; in test_available_modes() local 370 lut = calloc(sizeof(*lut), lut_size); in test_available_modes() 373 lut[i].red = (i * 0xffff / (lut_size - 1)) & 0xfc00; in test_available_modes() 374 lut[i].green = (i * 0xffff / (lut_size - 1)) & 0xfc00; in test_available_modes() 375 lut[i].blue = (i * 0xffff / (lut_size - 1)) & 0xfc00; in test_available_modes() 380 lut, sizeof(*lut) * lut_size); in test_available_modes() 384 lut[i].red = i * 0xffff / (lut_size - 1); in test_available_modes() 385 lut[i].green = i * 0xffff / (lut_size - 1); in test_available_modes() 386 lut[i].blue = i * 0xffff / (lut_size - 1); in test_available_modes() 422 if (lut != NULL) { in test_available_modes() [all …]
|
D | kms_color.c | 174 struct drm_color_lut *lut; in coeffs_to_lut() local 184 lut = malloc(sizeof(struct drm_color_lut) * lut_size); in coeffs_to_lut() 199 lut[i].red = v; in coeffs_to_lut() 200 lut[i].green = v; in coeffs_to_lut() 201 lut[i].blue = v; in coeffs_to_lut() 205 lut[lut_size].red = in coeffs_to_lut() 206 lut[lut_size].green = in coeffs_to_lut() 207 lut[lut_size].blue = lut[lut_size - 1].red; in coeffs_to_lut() 209 return lut; in coeffs_to_lut() 217 struct drm_color_lut *lut = coeffs_to_lut(data, gamma, in set_degamma() local [all …]
|
D | kms_big_fb.c | 212 struct drm_color_lut *lut; in set_c8_lut() local 215 lut = calloc(lut_size, sizeof(lut[0])); in set_c8_lut() 219 lut[i].red = ((i & 0xe0) >> 5) * 0xffff / 0x7; in set_c8_lut() 220 lut[i].green = ((i & 0x1c) >> 2) * 0xffff / 0x7; in set_c8_lut() 221 lut[i].blue = ((i & 0x03) >> 0) * 0xffff / 0x3; in set_c8_lut() 224 igt_pipe_obj_replace_prop_blob(pipe, IGT_CRTC_GAMMA_LUT, lut, in set_c8_lut() 225 lut_size * sizeof(lut[0])); in set_c8_lut() 227 free(lut); in set_c8_lut()
|
/external/libaom/libaom/aom_dsp/ |
D | noise_model.c | 215 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->num_points = 0; in aom_noise_strength_lut_init() 218 lut->points = (double(*)[2])aom_malloc(num_points * sizeof(*lut->points)); in aom_noise_strength_lut_init() 219 if (!lut->points) return 0; in aom_noise_strength_lut_init() 220 lut->num_points = num_points; in aom_noise_strength_lut_init() 221 memset(lut->points, 0, sizeof(*lut->points) * num_points); in aom_noise_strength_lut_init() 225 void aom_noise_strength_lut_free(aom_noise_strength_lut_t *lut) { in aom_noise_strength_lut_free() argument 226 if (!lut) return; in aom_noise_strength_lut_free() 227 aom_free(lut->points); in aom_noise_strength_lut_free() [all …]
|
D | noise_model.h | 42 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/dng_sdk/source/ |
D | dng_linearization_info.cpp | 316 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/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_perf_set_qos_luts/ |
D | format | 11 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/u-boot/arch/arm/dts/ |
D | fsl-ls2080a.dtsi | 139 0x00 0x03480000 0x0 0x80000 /* lut registers */ 141 reg-names = "dbi", "lut", "config"; 154 0x00 0x03580000 0x0 0x80000 /* lut registers */ 156 reg-names = "dbi", "lut", "config"; 169 0x00 0x03680000 0x0 0x80000 /* lut registers */ 171 reg-names = "dbi", "lut", "config"; 184 0x00 0x03780000 0x0 0x80000 /* lut registers */ 186 reg-names = "dbi", "lut", "config";
|
D | fsl-ls1088a.dtsi | 141 0x00 0x03480000 0x0 0x80000 /* lut registers */ 144 reg-names = "dbi", "lut", "ctrl", "config"; 157 0x00 0x03580000 0x0 0x80000 /* lut registers */ 160 reg-names = "dbi", "lut", "ctrl", "config"; 173 0x00 0x03680000 0x0 0x80000 /* lut registers */ 176 reg-names = "dbi", "lut", "ctrl", "config";
|
D | fsl-ls1043a.dtsi | 248 0x00 0x03410000 0x0 0x10000 /* lut registers */ 250 reg-names = "dbi", "lut", "config"; 263 0x00 0x03510000 0x0 0x10000 /* lut registers */ 265 reg-names = "dbi", "lut", "config"; 279 0x00 0x03610000 0x0 0x10000 /* lut registers */ 281 reg-names = "dbi", "lut", "config";
|
D | fsl-ls1046a.dtsi | 249 0x00 0x03480000 0x0 0x40000 /* lut registers */ 252 reg-names = "dbi", "lut", "ctrl", "config"; 265 0x00 0x03580000 0x0 0x40000 /* lut registers */ 268 reg-names = "dbi", "lut", "ctrl", "config"; 282 0x00 0x03680000 0x0 0x40000 /* lut registers */ 285 reg-names = "dbi", "lut", "ctrl", "config";
|
D | fsl-lx2160a.dtsi | 271 reg-names = "ccsr", "lut", "pf_ctrl", "config"; 285 reg-names = "ccsr", "lut", "pf_ctrl", "config"; 300 reg-names = "ccsr", "lut", "pf_ctrl", "config"; 314 reg-names = "ccsr", "lut", "pf_ctrl", "config"; 328 reg-names = "ccsr", "lut", "pf_ctrl", "config"; 342 reg-names = "ccsr", "lut", "pf_ctrl", "config";
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_perf_set_qos_luts/ |
D | format | 14 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/u-boot/drivers/pci/ |
D | pcie_layerscape_gen4.h | 184 void __iomem *lut; member 201 out_be32(pcie->lut + offset, value); in lut_writel() 203 out_le32(pcie->lut + offset, value); in lut_writel() 209 return in_be32(pcie->lut + offset); in lut_readl() 211 return in_le32(pcie->lut + offset); in lut_readl()
|
/external/skia/modules/skottie/src/effects/ |
D | LevelsEffect.cpp | 152 std::array<uint8_t, 256> lut; in onSync() local 153 if (channel < kRGB_Channel || channel > kA_Channel || !fMapper.build_lut(lut, fClip)) { in onSync() 159 channel == kA_Channel ? lut.data() : nullptr, in onSync() 160 channel == kR_Channel || channel == kRGB_Channel ? lut.data() : nullptr, in onSync() 161 channel == kG_Channel || channel == kRGB_Channel ? lut.data() : nullptr, in onSync() 162 channel == kB_Channel || channel == kRGB_Channel ? lut.data() : nullptr in onSync()
|
/external/pdfium/third_party/lcms/ |
D | 0003-old-uninitialized-in-LUTevalFloat.patch | 7 cmsPipeline* lut = (cmsPipeline*) D; 13 memmove(&Storage[Phase][0], In, lut ->InputChannels * sizeof(cmsFloat32Number));
|
D | 0004-old-uninitialized-in-LUTeval16.patch | 7 cmsPipeline* lut = (cmsPipeline*) D; 13 From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels);
|
/external/libaom/libaom/av1/common/ |
D | blockd.h | 78 static const PREDICTION_MODE lut[] = { in compound_ref0_mode() local 105 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref0_mode() 107 return lut[mode]; in compound_ref0_mode() 111 static const PREDICTION_MODE lut[] = { in compound_ref1_mode() local 138 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref1_mode() 140 return lut[mode]; in compound_ref1_mode() 314 static const MV_REFERENCE_FRAME lut[] = { in comp_ref0() local 325 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref0() 326 return lut[ref_idx]; in comp_ref0() 330 static const MV_REFERENCE_FRAME lut[] = { in comp_ref1() local [all …]
|
/external/webp/src/utils/ |
D | quant_levels_dec_utils.c | 160 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-7.0/llvm/test/Analysis/ScalarEvolution/ |
D | 2008-07-12-UnneededSelect1.ll | 7 @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]
|