| /xsrc/external/mit/xf86-video-mach64/dist/src/ |
| H A D | atidac.c | 166 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 D | atistruct.h | 93 CARD8 lut[256 * 3]; member in struct:_ATIHWRec
|
| /xsrc/external/mit/libdrm/dist/tests/util/ |
| H A D | pattern.h | 42 void util_smpte_fill_lut(unsigned int ncolors, struct drm_color_lut *lut);
|
| H A D | pattern.c | 1174 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 D | histogram.c | 72 ContextLut lut = BROTLI_CONTEXT_LUT(context_modes[context]); local in function:BrotliBuildHistogramsWithContext 74 BROTLI_CONTEXT(prev_byte, prev_byte2, lut);
|
| H A D | encode.c | 498 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 D | bi_opt_mod_props.c | 158 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 D | g80_display.c | 660 } *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 D | nvc0_state_validate.c | 77 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 D | nvc0_state_validate.c | 77 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 D | drmmode_display.c | 1749 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 D | gx_video.c | 136 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 D | d3d12_context.cpp | 580 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 D | sp_tex_sample.c | 2304 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 D | sp_tex_sample.c | 2318 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 D | sna_display.c | 7261 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 D | sna_display.c | 5470 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 D | nv50_ir_peephole.cpp | 801 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;
|