Searched refs:lut (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Datidac.c166 for (Index = 1; Index < (NumberOf(pATIHW->lut) / 3); Index++)
169 pATIHW->lut[Index2 + 0] =
170 pATIHW->lut[Index2 + 1] =
171 pATIHW->lut[Index2 + 2] = Index;
180 pATIHW->lut[3] = pATIHW->lut[4] = pATIHW->lut[5] = 0xFFU;
181 for (Index = 2; Index < (NumberOf(pATIHW->lut) / 3); Index++)
184 pATIHW->lut[Index2 + 0] = maxColour;
185 pATIHW->lut[Index
[all...]
H A Datistruct.h93 CARD8 lut[256 * 3]; member in struct:_ATIHWRec
/xsrc/external/mit/libdrm/dist/tests/util/
H A Dpattern.h42 void util_smpte_fill_lut(unsigned int ncolors, struct drm_color_lut *lut);
H A Dpattern.c1174 void util_smpte_fill_lut(unsigned int ncolors, struct drm_color_lut *lut) argument
1177 printf("Error: lut too small: %u < %zu\n", ncolors,
1181 memset(lut, 0, ncolors * sizeof(struct drm_color_lut));
1184 memcpy(lut, bw_color_lut, sizeof(bw_color_lut));
1186 memcpy(lut, pentile_color_lut, sizeof(pentile_color_lut));
1188 memcpy(lut, smpte_color_lut, sizeof(smpte_color_lut));
/xsrc/external/mit/brotli/dist/c/enc/
H A Dhistogram.c72 ContextLut lut = BROTLI_CONTEXT_LUT(context_modes[context]); local in function:BrotliBuildHistogramsWithContext
74 BROTLI_CONTEXT(prev_byte, prev_byte2, lut);
H A Dencode.c498 static const int lut[4] = { 0, 0, 1, 2 }; local in function:DecideOverLiteralContextModeling
500 int prev = lut[input[start_pos & mask] >> 6] * 3;
504 ++bigram_prefix_histo[prev + lut[literal >> 6]];
505 prev = lut[literal >> 6] * 3;
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_opt_mod_props.c158 bi_instr **lut = calloc(sizeof(bi_instr *), ((ctx->ssa_alloc + 1) << 2)); local in function:bi_opt_mod_prop_forward
162 lut[bi_word_node(I->dest[0])] = I;
168 bi_instr *mod = lut[bi_word_node(I->src[s])];
189 free(lut);
/xsrc/external/mit/xf86-video-nv/dist/src/
H A Dg80_display.c660 } *lut = (void*)&pNv->mem[pNv->videoRam * 1024 - 0x5000 - 0x1000 * pPriv->head]; local in function:G80CrtcGammaSet
665 pPriv->lut_r[i] = lut[i].red = red[i] >> 2;
666 pPriv->lut_g[i] = lut[i].green = green[i] >> 2;
667 pPriv->lut_b[i] = lut[i].blue = blue[i] >> 2;
670 lut[256] = lut[255];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_state_validate.c77 static const uint8_t lut[] = { local in function:gm200_encode_cb_sample_location
82 result |= lut[x] << 8 | lut[y] << 24;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_state_validate.c77 static const uint8_t lut[] = { local in function:gm200_encode_cb_sample_location
82 result |= lut[x] << 8 | lut[y] << 24;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddrmmode_display.c1749 struct drm_color_lut *lut = malloc(sizeof(*lut) * size); local in function:drmmode_set_gamma_lut
1751 if (lut == NULL) {
1760 lut[i].red = red[i];
1761 lut[i].green = green[i];
1762 lut[i].blue = blue[i];
1765 if (!drmModeCreatePropertyBlob(drmmode->fd, lut, sizeof(lut), &blob_id)) {
1772 free(lut);
2423 * default for lut size
[all...]
/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dgx_video.c136 get_gamma_ram(unsigned long *lut) argument
144 lut[i] = gfx_read_vid32(PALETTE_DATA);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_context.cpp580 static const D3D12_FILTER lut[16] = { local in function:get_filter
612 return lut[idx];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c2304 float *lut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); local in function:create_filter_table
2310 lut[i] = weight;
2312 weightLut = lut;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c2318 float *lut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); local in function:create_filter_table
2324 lut[i] = weight;
2326 weightLut = lut;
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_display.c7261 struct drm_mode_crtc_lut lut; local in function:crtc_init_gamma
7266 lut.crtc_id = __sna_crtc_id(sna_crtc);
7267 lut.gamma_size = 256;
7268 lut.red = (uintptr_t)(gamma);
7269 lut.green = (uintptr_t)(gamma + 256);
7270 lut.blue = (uintptr_t)(gamma + 2 * 256);
7271 if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETGAMMA, &lut) == 0) {
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_display.c5470 struct drm_mode_crtc_lut lut; local in function:crtc_init_gamma
5475 lut.crtc_id = sna_crtc->id;
5476 lut.gamma_size = 256;
5477 lut.red = (uintptr_t)(gamma);
5478 lut.green = (uintptr_t)(gamma + 256);
5479 lut.blue = (uintptr_t)(gamma + 2 * 256);
5480 if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETGAMMA, &lut) == 0) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_peephole.cpp801 uint8_t lut = ((a->data.u32 >> n) & 1) << 2 | local in function:nv50_ir::ConstantFolding::expr
804 res.data.u32 |= !!(i->subOp & (1 << lut)) << n;

Completed in 62 milliseconds