XvSetPortAttribute

XvSetPortAttribute(3X)                                  XvSetPortAttribute(3X)



åå
       XvSetPortAttribute - ãããªãã¼ãã®å±æ§ãè¨å®ãã

æ¸å¼
       #include <X11/extensions/Xvlib.h>

       XvSetPortAttribute(dpy, port, attribute, value)

       Display *dpy;
       XvPortID port;
       Atom attribute;
       int value;

å¼ãæ°
       dpy            Xv ãµã¼ãã Xv
                      ã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ããåãä»ãããã£ã¹ãã¬ã¤ç»é¢
                      ãæå®ããããã£ã¹ãã¬ã¤ãæå®ãããªãã·ã§ã³ãæå®ããã¦ããªããã°ãXv ã¯
                      DISPLAY ç°å¢å¤æ°ã§æå®ããã¦ãããã£ã¹ãã¬ã¤ã使ãããã£ã¹ãã¬ã¤
                      æå®ãªãã·ã§ã³ã¯ããã¹ãå:çªå·ãã¨ããå½¢å¼ã§ãããã³ãã³ 1
                      ã¤(:)ã§ãª ããã³ãã³ 2
                      ã¤(::)ã使ã£ãå ´åã«ã¯ããã©ã³ã¹ãã¼ã層㧠DECnet ã使ã
                      ãã¨ãæå®ãããã

       port           ãã¼ããæå®ããããã®ãã¼ãã«å¯¾ãã¦å±æ§ã使ç¨ãããã

       attribute      ãã®ãªã¯ã¨ã¹ãã«ãã£ã¦è¨å®ãããã¼ãå±æ§ã決ããã
                      å¾è¿°ã®è¡¨ã®ãå±æ§æååãã«ã©ã ã®é ç®ã®ããããã«ãªãã

       value          attribute ã«è¨å®ããå¤ã決ããã
                      å¾è¿°ã®è¡¨ã®ã種é¡ãã«ã©ã ã®é ç®ã®ããããã«ãªãã

説æ
       XvSetPortAttribute(3X) ã使ãã¨ãã¯ã©ã¤ã¢ã³ãã¯æå®ããå¤ããã¼ãã«è¨
       å®ãããã¨ãã§ããããã®ãªã¯ã¨ã¹ãã¯ä»¥ä¸ã«ç¤ºãå¤ããµãã¼ããã¦ãã:

       å±æ§æåå              ç¨®é¡               ããã©ã«ãå¤

       "XV_ENCODING"           XvEncodingID     ãµã¼ãä¾å
       "XV_HUE"                [-1000...1000]   0
       "XV_SATURATION"         [-1000...1000]   0
       "XV_BRIGHTNESS"         [-1000...1000]   0
       "XV_CONTRAST"           [-1000...1000]   0

       ä¸ããããã¨ã³ã³ã¼ãã£ã³ã°ã¯ãã¢ããã¿ã対å¿ãã¦ããã¨ã³ã³ã¼ãã£ã³ã°ã®
       ããããã§ãªããã°ãªãããããã§ãªãå ´åã«ã¯ Encoding ã¨ã©ã¼ã¨ãªãã

       ã¢ããã¿ããæå®ãããè²ç¸(hue), 彩度(saturation), æ度(brightness),
       ã³ã³ãã©ã¹ãå¤(contrast)ãæ£ç¢ºã«ãµãã¼ããã¦ããªãå ´åã«ã¯ããµãã¼ãã
       ãã¦ããä¸ã§æãè¿ãå¤ãæå®ããããã®ã¨ãããçµæã¨ãã¦è¨å®ãããå¤ã«
       ã¤ãã¦åãåãããã«ã¯ãXvGetPortAttribute(3X) ã使ããã¨ã

       XvSetPortAttribute(3X) ãªã¯ã¨ã¹ããå¦çãããæã
       XvSelectPortNotify(3X) ãç¨ãã¦ãã¼ãã®ç¶æå¤åã®éç¥ãè¦æ±ãã¦ããå¨
       ã¦ã®ã¯ã©ã¤ã¢ã³ãã«å¯¾ã㦠PortControlNotify(3X) ã¤ãã³ããçæãããã

è¿ãå¤
       [Success]
               XvSetPortAttribute(3X) ãæ£å¸¸çµäºããå ´åã«è¿ãããã

       [XvBadExtension]
               Xv æ©è½æ¡å¼µã使ããªãå ´åã«è¿ãããã

       [XvBadAlloc]
               XvSelectVideoNotify(3X) ããªã¯ã¨ã¹ããå¦çããããã®ã¡ã¢ãªã®å²ãå½ã¦ã«
               失æããå ´åã«è¿ãããã

診æ
       [XvBadPort]
               è¦æ±ããããã¼ããåå¨ããªãå ´åã«çæãããã

       [XvBadEncoding]
               åå¨ããªãã¨ã³ã³ã¼ãã£ã³ã°ãæå®ãããå ´åã«çæãããã

       [BadMatch]
               è¦æ±ãããå±æ§ã¢ãã ããã¢ããã¿ããµãã¼ããã¦ããå±æ§ãæå®ãã¦ããªã
               å ´åã«çæãããã

é¢é£é ç®
       XvGetPortAttribute(3X), XvSelectPortNotify(3X), XvPortNotify(3X)



XFree86                          Version 4.1.0          XvSetPortAttribute(3X)