Searched refs:gamma_size (Results 1 - 25 of 26) sorted by relevance

12

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
H A Dxf86RandR12.c1247 if (randr_crtc->gammaSize != crtc->gamma_size) {
1249 tmp_ptr = realloc(crtc->gamma_red, 3 * crtc->gamma_size * sizeof (CARD16));
1253 crtc->gamma_green = crtc->gamma_red + crtc->gamma_size;
1254 crtc->gamma_blue = crtc->gamma_green + crtc->gamma_size;
1257 crtc->gamma_size = randr_crtc->gammaSize;
1258 memcpy (crtc->gamma_red, randr_crtc->gammaRed, crtc->gamma_size * sizeof (CARD16));
1259 memcpy (crtc->gamma_green, randr_crtc->gammaGreen, crtc->gamma_size * sizeof (CARD16));
1260 memcpy (crtc->gamma_blue, randr_crtc->gammaBlue, crtc->gamma_size * sizeof (CARD16));
1267 crtc->gamma_blue, crtc->gamma_size);
1278 if (!crtc->gamma_size)
[all...]
H A Dxf86Crtc.c120 crtc->gamma_size = 256;
121 crtc->gamma_red = malloc(3 * crtc->gamma_size * sizeof (CARD16));
126 crtc->gamma_green = crtc->gamma_red + crtc->gamma_size;
127 crtc->gamma_blue = crtc->gamma_green + crtc->gamma_size;
357 crtc->gamma_blue, crtc->gamma_size);
2288 if (size != crtc->gamma_size) {
2293 crtc->gamma_size = size;
2294 memcpy (crtc->gamma_red, red, crtc->gamma_size * sizeof (CARD16));
2295 memcpy (crtc->gamma_green, green, crtc->gamma_size * sizeof (CARD16));
2296 memcpy (crtc->gamma_blue, blue, crtc->gamma_size * sizeo
[all...]
H A Dxf86Crtc.h351 int gamma_size; member in struct:_xf86Crtc
/xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
H A Dxf86RandR12.c1248 int gamma_size)
1255 for (shift = 0; (gamma_size << shift) < (1 << 16); shift++);
1257 if (crtc->gamma_size >= palette_red_size) {
1259 gamma_slots = crtc->gamma_size / palette_red_size;
1271 /* Replicate last value until end of crtc for gamma_size not a power of 2 */
1272 for (j = i * gamma_slots; j < crtc->gamma_size; j++)
1276 for (i = 0; i < crtc->gamma_size; i++) {
1277 value = palette[i * (palette_red_size - 1) / (crtc->gamma_size - 1)].red;
1287 if (crtc->gamma_size >= palette_green_size) {
1289 gamma_slots = crtc->gamma_size / palette_green_siz
1244 xf86RandR12CrtcComputeGamma(xf86CrtcPtr crtc,LOCO * palette,int palette_red_size,int palette_green_size,int palette_blue_size,CARD16 * gamma_red,CARD16 * gamma_green,CARD16 * gamma_blue,int gamma_size) argument
[all...]
H A Dxf86Crtc.h376 int gamma_size; member in struct:_xf86Crtc
H A Dxf86Crtc.c116 crtc->gamma_size = 256;
117 crtc->gamma_red = xallocarray(crtc->gamma_size, 3 * sizeof(CARD16));
122 crtc->gamma_green = crtc->gamma_red + crtc->gamma_size;
123 crtc->gamma_blue = crtc->gamma_green + crtc->gamma_size;
373 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/libdrm/dist/include/drm/
H A Ddrm_mode.h287 __u32 gamma_size; member in struct:drm_mode_crtc
348 /** @gamma_size: Never used. */
349 __u32 gamma_size; member in struct:drm_mode_get_plane
828 __u32 gamma_size; member in struct:drm_mode_crtc_lut
/xsrc/external/mit/MesaLib.old/dist/include/drm-uapi/
H A Ddrm_mode.h258 __u32 gamma_size; member in struct:drm_mode_crtc
293 __u32 gamma_size; member in struct:drm_mode_get_plane
607 __u32 gamma_size; member in struct:drm_mode_crtc_lut
/xsrc/external/mit/MesaLib/dist/include/drm-uapi/
H A Ddrm_mode.h287 __u32 gamma_size; member in struct:drm_mode_crtc
348 /** @gamma_size: Never used. */
349 __u32 gamma_size; member in struct:drm_mode_get_plane
793 __u32 gamma_size; member in struct:drm_mode_crtc_lut
/xsrc/external/mit/libdrm/dist/
H A Dxf86drmMode.h166 int gamma_size; /**< Number of gamma stops */ member in struct:_drmModeCrtc
253 uint32_t gamma_size; member in struct:_drmModePlane
H A Dxf86drmMode.c403 r->gamma_size = crtc.gamma_size;
1008 l.gamma_size = size;
1024 l.gamma_size = size;
1192 r->gamma_size = ovr.gamma_size;
/xsrc/external/mit/libdrm/dist/tests/modeprint/
H A Dmodeprint.c213 printf("\tgamma size : %d\n", crtc->gamma_size);
/xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
H A Dvmwgfx_crtc.c237 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Ddrmmode_display.c1153 blob_data, crtc->gamma_size,
1160 crtc->gamma_size,
3705 if (crtc->gamma_size == 1024)
3715 crtc->gamma_size = 1024;
3717 crtc->gamma_green = crtc->gamma_red + crtc->gamma_size;
3718 crtc->gamma_blue = crtc->gamma_green + crtc->gamma_size;
3734 crtc->gamma_size);
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_kms.c227 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_drmmode.c197 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_display.c155 uint32_t gamma_size; member in struct:local_mode_get_plane
3153 crtc->gamma_size,
7230 set_gamma(crtc->gamma_red, crtc->gamma_size,
7237 set_gamma(crtc->gamma_green, crtc->gamma_size,
7244 set_gamma(crtc->gamma_blue, crtc->gamma_size,
7254 if (crtc->gamma_size == 256)
7267 lut.gamma_size = 256;
7297 crtc->gamma_size = 256;
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Ddrmmode_display.c369 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddrmmode_display.c1582 crtc->gamma_blue, crtc->gamma_size);
3919 if (size != crtc->gamma_size) {
3926 crtc->gamma_size = size;
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_display.c2357 crtc->gamma_size,
2639 uint32_t gamma_size; member in struct:sna_crtc_find_planes::local_mode_get_plane
5439 set_gamma(crtc->gamma_red, crtc->gamma_size,
5446 set_gamma(crtc->gamma_green, crtc->gamma_size,
5453 set_gamma(crtc->gamma_blue, crtc->gamma_size,
5463 if (crtc->gamma_size == 256)
5476 lut.gamma_size = 256;
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Ddrmmode_display.c436 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/libdrm/dist/tests/modetest/
H A Dmodetest.c535 ovr->gamma_size, ovr->possible_crtcs);
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_display.c355 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_display.c356 crtc->gamma_blue, crtc->gamma_size);
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Ddrmmode_display.c402 crtc->gamma_blue, crtc->gamma_size);

Completed in 88 milliseconds

12