HomeSort by: relevance | last modified time | path
    Searched refs:gamma_size (Results 1 - 25 of 26) sorted by relevancy

1 2

  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
xf86RandR12.c 1247 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...]
xf86Crtc.c 120 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 * sizeof (CARD16))
    [all...]
xf86Crtc.h 351 int gamma_size; member in struct:_xf86Crtc
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
xf86RandR12.c 1248 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_size
    [all...]
xf86Crtc.h 376 int gamma_size; member in struct:_xf86Crtc
xf86Crtc.c 116 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/MesaLib/dist/include/drm-uapi/
drm_mode.h 287 __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/MesaLib.old/dist/include/drm-uapi/
drm_mode.h 258 __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/libdrm/dist/include/drm/
drm_mode.h 287 __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
829 __u32 gamma_size; member in struct:drm_mode_crtc_lut
  /xsrc/external/mit/libdrm/dist/
xf86drmMode.h 166 int gamma_size; /**< Number of gamma stops */ member in struct:_drmModeCrtc
253 uint32_t gamma_size; member in struct:_drmModePlane
xf86drmMode.c 403 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/
modeprint.c 213 printf("\tgamma size : %d\n", crtc->gamma_size);
  /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
vmwgfx_crtc.c 237 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
drmmode_display.c 1153 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/
via_kms.c 227 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-qxl/dist/src/
qxl_drmmode.c 197 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
sna_display.c 155 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/
drmmode_display.c 369 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
drmmode_display.c 1582 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/
sna_display.c 2357 crtc->gamma_size,
2639 uint32_t gamma_size; member in struct: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/
drmmode_display.c 436 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-ati/dist/src/
drmmode_display.c 402 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-intel/dist/src/uxa/
intel_display.c 355 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
intel_display.c 356 crtc->gamma_blue, crtc->gamma_size);
  /xsrc/external/mit/libdrm/dist/tests/modetest/
modetest.c 536 ovr->gamma_size, ovr->possible_crtcs);

Completed in 65 milliseconds

1 2