Lines Matching defs:attribute
137 * sets the attribute "attribute" of port "data" to value "value"
141 * @param attribute attribute to set
142 * @param value value to which attribute is to be set
143 * @param data port from which the attribute is to be set
146 * BadValue/BadMatch, if value/attribute are invalid
150 NV10SetOverlayPortAttribute(ScrnInfoPtr pScrn, Atom attribute,
155 if (attribute == xvBrightness) {
160 if (attribute == xvDoubleBuffer) {
165 if (attribute == xvContrast) {
170 if (attribute == xvHue) {
176 if (attribute == xvSaturation) {
181 if (attribute == xvColorKey) {
185 if (attribute == xvAutopaintColorKey) {
190 if (attribute == xvITURBT709) {
195 if (attribute == xvSetDefaults) {
199 if ( attribute == xvOnCRTCNb) {
222 * @param attribute attribute to be read
223 * @param value value of attribute will be stored in this pointer
224 * @param data port from which attribute will be read
225 * @return Success, if queried attribute exists
228 NV10GetOverlayPortAttribute(ScrnInfoPtr pScrn, Atom attribute,
233 if (attribute == xvBrightness)
235 else if (attribute == xvDoubleBuffer)
237 else if (attribute == xvContrast)
239 else if (attribute == xvSaturation)
241 else if (attribute == xvHue)
243 else if (attribute == xvColorKey)
245 else if (attribute == xvAutopaintColorKey)
247 else if (attribute == xvITURBT709)
249 else if (attribute == xvOnCRTCNb)