Bug 4940 - Xvlib: How about adding default value to XvAttribute ?
Summary: Xvlib: How about adding default value to XvAttribute ?
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-01 12:59 UTC by Zbigniew Luszpinski
Modified: 2011-10-05 21:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Zbigniew Luszpinski 2005-11-01 12:59:53 UTC
Xvlib.h:

typedef struct {
  int flags;	/* XvGettable, XvSettable */
  int min_value;

  int default_value; /* <--- How about adding default value? */

  int max_value;
  char *name;
} XvAttribute;

How about adding default_value parameter to Xv attributes which refers to
hardware default value of given Xv attribute? Many apps that have button "Reset
to defaults" could make use of default_value instead of assuming that default
value is in the middle of scale (which is not always true, like in HUE parameter
in nvidia driver).

greetings,
Zbigniew 'zbiggy' Luszpinski
Comment 1 Daniel Stone 2007-02-27 01:28:37 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Jeremy Huddleston Sequoia 2011-10-05 21:18:33 UTC
Probably a good idea, but this would break ABI.  XvAttribute is public and we 
can't expand it without breaking existing builds.  I'm not sure it's worth it, 
but feel free to raise the issue on xorg-devel for discussion...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.