XvGetVideo

XvGetVideo(3X)                                                  XvGetVideo(3X)



åå
       XvGetVideo - ããã¦ã¢ãã«ããåç»ãåãè¾¼ã

æ¸å¼
       include Xvlib.h

       XvGetVideo(dpy, port, d, gc, vx, vy, vw, vh, dx, dy, dw, dh)

       register Display *dpy;
       XvPortID port;
       Drawable d;
       GC gc;
       int vx, vy, dx, dy;
       unsigned int vw, vh;
       unsigned int dw, dh;


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

       port           ãããªåºåãéããããã¼ããå®ç¾©ããã

       d              ãããªåºåãåãè¾¼ãããã¦ã¢ãã«(ã¦ã£ã³ãã¦)ãå®ç¾©ããã

       gc             ã°ã©ãã£ãã¯ã¹ã³ã³ãã¯ã¹ã(GC)ãå®ç¾©ãããGC ã®æ§æè¦ç´ ã¯
                      subwindow-mode, clip-x-origin, clip-y-origin, clip-mask
                      ã§ããã

       vx,vy,vw,vh    æ¸ãè¾¼ã¿ãè¡ããããããªé åã®ä½ç½®ã¨å¤§ãããå®ç¾©ããã vx 㨠vy
                      ã¯ãããªé åã®å·¦ä¸éã® x 座æ¨ã¨ y 座æ¨ãå®ç¾©ããã vw 㨠vh
                      ã¯ãããªé åã®é«ãã¨å¹ããã¯ã»ã«åä½ã§å®ç¾©ããã

       dx,dy,dw,dh    ãããªã¤ã¡ã¼ã¸ãåãè¾¼ãããã¦ã¢ãã«ã®ä½ç½®ã¨å¤§ãããå®ç¾©ããã dx
                      㨠dy ã¯ãããã¦ã¢ãã«é åã®å·¦ä¸éã® x 座æ¨ã¨ y
                      座æ¨ãå®ç¾©ããã dw 㨠dh ã¯ããã‐
                      ã¦ã¢ãã«é åã®å¹ã¨é«ãããã¯ã»ã«åä½ã§å®ç¾©ããã

説æ
       ã¯ããã¦ã¢ãã«ããåãè¾¼ãã åç»ãåºåãããåºååã®ç©å½¢é åã®ä½ç½®ã¨ 大ãã㯠vx, vy,
       vw, vh ã§æå®ããã å¥ååã®ç©å½¢é åã®ä½ç½®ã¨å¤§ãã㯠dx, dy, dw dh ã§æå®ããã

       ããã¦ã¢ãã«ãã¼ã¿ã¯ãããã¦ã¢ãã«ã®å¢çã§ã¯ãªããããã
       è¦æ±ããããããªé åã®å¤§ãã(ãããã¯ããµãã¼ãããã¦ãããã¡ã§ããã«
       æãè¿ã大ãã)ã«æ¡å¤§ã»ç¸®å°ããããããªã¨ã³ã³ã¼ãã£ã³ã°ã®å¢çã§ã¯ãªãããããã ãã‐
       ã¦ã¢ãã«ãã¼ã¿ã§æ´æ°ããªãã£ãé åã®å容ã¯æªå®ç¾©ã§ããã

       ãããªããã¾ãéå§ãããã詳細å容ã¨ã㦠XvStarted ãæ㤠XvVideoNotify
       ã¤ãã³ãããã®ããã¦ã¢ãã«ã«å¯¾ãã¦çæãããããã¼ããæ¢ ã«ä½¿ç¨ä¸‐
       ãªãã°ããã®ãããªå¦çã¯ç¡å¹ã«ãããããã«æ°ããããã¦ã¢ãã« ãå¤ããã‐
       ã¦ã¢ãã«ã¨ç°ãªãå ´åã«ã¯ã詳細å容ã¨ã㦠XvPreempted ãæ㤠XvVideoNotify
       ã¤ãã³ããå¤ãããã¦ã¢ãã«ã«å¯¾ãã¦çæããããä»ã®
       ã¯ã©ã¤ã¢ã³ãããã¼ããã°ã©ããã¦ããã¨ã詳細å容ã¨ã㦠XvBusy ãæ㤠XvVideoNotify
       ã¤ãã³ãããã®ããã¦ã¢ãã«ã«å¯¾ãã¦çæãããã

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

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

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

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

       [BadGC] è¦æ±ãããã°ã©ãã£ãã¯ã¹ã³ã³ãã¯ã¹ããåå¨ããªãå ´åã«çæãããã

       [BadDrawable]
               è¦æ±ãããããã¦ã¢ãã«ãåå¨ããªãå ´åã«çæãããã

       [BadAlloc]
               ãªã¯ã¨ã¹ããå¦çããããã®è³æºãä¸ååãªå ´åã«çæãããã

é¢é£é ç®
       XvGetStill(3X), XvPutVideo(3X), XvVideoNotify(3X)



XFree86                          Version 4.1.0                  XvGetVideo(3X)