Lines Matching refs:attr
79 const char *attr;
89 attr = XGetAtomName(dpy, attribute);
90 if (!attr)
93 if (strcmp(attr, XV_BRIGHTNESS) == 0)
95 else if (strcmp(attr, XV_CONTRAST) == 0)
97 else if (strcmp(attr, XV_SATURATION) == 0)
99 else if (strcmp(attr, XV_HUE) == 0)
101 else if (strcmp(attr, XV_COLORSPACE) == 0)
115 XVMC_MSG(XVMC_TRACE, "[XvMC] Set attribute %s to value %d.\n", attr, value);
124 const char *attr;
133 attr = XGetAtomName(dpy, attribute);
134 if (!attr)
137 if (strcmp(attr, XV_BRIGHTNESS) == 0)
139 else if (strcmp(attr, XV_CONTRAST) == 0)
141 else if (strcmp(attr, XV_SATURATION) == 0)
143 else if (strcmp(attr, XV_HUE) == 0)
145 else if (strcmp(attr, XV_COLORSPACE) == 0)
150 XVMC_MSG(XVMC_TRACE, "[XvMC] Got value %d for attribute %s.\n", *value, attr);