XvGetPortAttribute

XvGetPortAttribute(3X)                                  XvGetPortAttribute(3X)



åå
       XvGetPortAttribute - ç¾å¨ã®ãã¼ãå±æ§å¤ãè¿ã

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

       XvGetPortAttribute(dpy, port, attribute, p_value)

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


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

       port    æå®ããããã£ã¹ãã¬ã¤ã«å¯¾å¿ãããã¼ããæå®ãããå±æ§å¤ã¯ãã®
               ãã£ã¹ãã¬ã¤ã«å¯¾ãã¦è¿ãããã

       attribute
               ãã®ãªã¯ã¨ã¹ãã«ããåãåãããè¡ãããå±æ§ã示ãã¢ãã ãå¶å¾¡ã¢ãã ã¯ã
               XInternAtom ã¢ãã ã¨å¾è¿°ã®è¡¨ããå¾ãæååãçµã¿åããã¦ç¨ãããã¨ã§å å¾ããã

       p_value 復帰ã®éã«å±æ§å¤ãæ¸ãè¾¼ã¾ããå ´æã¸ã®ãã¤ã³ã¿ã

説æ
       XvGetPortAttribute(3X) ã¯ããªã¯ã¨ã¹ãããããã¼ãå±æ§å¤ã®ç¾å¨å¤ã p_value
       ã§ç¤ºãããæ´æ°ã«è¿ãã å±æ§ã¯å±æ§ã®ååã¨ä¸è´ãã Atom ã使ã£ã¦èå¥ããã
       以ä¸ã®è¡¨ã«å«ã¾ããæååã®ãããããå¼ãæ°ã¨ãã XInternAtom ãªã¯ã¨ã¹
       ãã使ã£ã¦ãä¸è´ãã Atom ãåå¾ãããã¨ãã§ããã

       å±æ§æåå              å               ããã©ã«ãå¤

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

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

       [XvBadExtension]
               Xv æ©è½æ¡å¼µã使ç¨ä¸å¯è½ãªå ´åã«è¿ãããã

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

診æ
       [XvBadPort]
               ãªã¯ã¨ã¹ãããããã¼ããåå¨ããªãå ´åã«çæãããã

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

é¢é£é ç®
       XvSetPortAttribute(3X), XvPortNotify(3X)



XFree86                          Version 4.1.0          XvGetPortAttribute(3X)