XvQueryBestSize

XvQueryBestSize(3X)                                        XvQueryBestSize(3X)



åå
       XvQueryBestSize - ããã¦ã¢ãã«é åã®æé©ãªå¤§ããã決ãã

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

       XvQueryBestSize(dpy, port, motion, vw, vh, dw, dh, p_dw, p_dh)

       Display *dpy;
       XvPortID port;
       Bool motion;
       unsigned int vw, vh;
       unsigned int dw, dh;
       unsigned int *p_dw, *p_dh;

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

       port           æé©ãµã¤ãºãè¨ç®ãããã£ã¹ãã¬ã¤ã¨ã¢ããã¿ã«å¯¾å¿ãããã¼ããå®ç¾©ããã

       motion         åºååã®ãµã¤ãºã§ãã«ã¢ã¼ã·ã§ã³ããµãã¼ãããå¿è¦ããããªãã° True
                      ãæå®ãããéæ¢ç»ãããµãã¼ãããå¿è¦ããªããã° False ãæå®ããã

       vw,vh          å¥ååã¨ãã¦ä½¿ããã¨ãã¦ãããããªé åã®ãµã¤ãºãæå®ããã

       dw,dh          åºååã¨ãã¦ä½¿ããã¨ãã¦ããããã¦ã¢ãã«é åã®ãµã¤ãºãæå®ããã

       p_dw,p_dh      ãµã¼ãããµãã¼ããã¦ããä¸ã§æãè¿ãåºååãµã¤ãºã¸ã®ãã¤ã³ã¿ãè¿ãããã

æ¸å¼
       ãã¼ãã«ãã£ã¦ã¯ãå¥åãããã¯åºåã®ãããªã®å¤§ãããå¤ãããã¨ãã§ãã ãããããªãã
       XvQueryBestSize(3X) ã¯ãã¢ããã¿ããµãã¼ããã¦ããä¸ã§æãè¿ãåºååé
       åãµã¤ãºãè¿ããããè¿ãããå¤ã¯ãè¦æ±ããããµã¤ãºãããå°ãããã¨ãä¿
       証ããã(ãã ãããã®å°ããå¤ããµãã¼ãããã¦ããå ´å)ã

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

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

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

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



XFree86                          Version 4.1.0             XvQueryBestSize(3X)