亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mpegvga.patch

?? MPEG2 PLAYER in linux
?? PATCH
?? 第 1 頁 / 共 2 頁
字號:
*** gray.c	Tue Feb  2 23:58:35 1993--- mpegvga/gray.c	Sun Oct 17 17:19:39 1993****************** 53,58 ****--- 53,59 ----    int i, max = w*h/16;      for (i=0; i<max; i++) {+ /*      out[0] = pixel[lum[0]];      out[1] = pixel[lum[1]];      out[2] = pixel[lum[2]];****************** 69,74 ****--- 70,81 ----      out[13] = pixel[lum[13]];      out[14] = pixel[lum[14]];      out[15] = pixel[lum[15]];+   */+   /* For VGA, pixel[i] = i */+     *(unsigned *)(&out[0]) = *(unsigned *)(&lum[0]);+     *(unsigned *)(&out[4]) = *(unsigned *)(&lum[4]);+     *(unsigned *)(&out[8]) = *(unsigned *)(&lum[8]);+     *(unsigned *)(&out[12]) = *(unsigned *)(&lum[12]);      out += 16;      lum += 16;    }*** proto.h	Wed Feb  3 16:02:59 1993--- mpegvga/proto.h	Sun Oct 17 16:57:16 1993****************** 49,55 ****--- 49,57 ----    /* gdith.c */  void InitColor P((void ));+ /*  int HandleXError P((Display *dpy , XErrorEvent *event ));+ */  void InstallXErrorHandler P((void ));  void DeInstallXErrorHandler P((void ));  void ResizeDisplay P((int w , int h ));****************** 102,109 ****--- 104,113 ----  void ColorDitherImage P((unsigned char *lum , unsigned char *cr , unsigned char *cb , unsigned char *out , int rows , int cols ));    /* util32.c */+ /*  Visual *FindFullColorVisual P((Display *dpy , int *depth ));  Window CreateFullColorWindow P((Display *dpy , int x , int y , int w , int h ));+ */    /* ordered.c */  void InitOrderedDither P((void ));*** util.c	Tue Feb  2 23:58:38 1993--- mpegvga/util.c	Sun Oct 17 16:48:04 1993****************** 20,25 ****--- 20,26 ----   */    #include <stdlib.h>+ #include <vga.h>  #include "video.h"  #include "proto.h"  #include "util.h"****************** 104,109 ****--- 105,111 ----        fprintf (stderr, "\n");        perror("Unexpected read error.");      }+     vga_setmode(TEXT);      exit(1);    }    else if ((status == 0) && (bufLength < 1)) {****************** 119,124 ****--- 121,127 ----        if (loopFlag) longjmp(env, 1);      DestroyVidStream(curVidStream);+     vga_setmode(TEXT);      exit(0);    }  #ifdef UTIL2*** video.c	Tue Feb  2 23:58:41 1993--- mpegvga/video.c	Sat Oct 23 14:04:06 1993****************** 24,30 ****    #include <stdio.h>  #include <stdlib.h>! #include <assert.h>    #ifndef MIPS  #include <sys/time.h>--- 24,31 ----    #include <stdio.h>  #include <stdlib.h>! /* #include <assert.h> */! #define assert(c)    #ifndef MIPS  #include <sys/time.h>****************** 32,37 ****--- 33,39 ----  #include <sys/types.h>  #include <sys/system.h>  #endif+ #include <vga.h>    #include "decoders.h"  #include "video.h"****************** 985,990 ****--- 987,993 ----      if (data != SEQ_START_CODE) {        fprintf(stderr, "This is not an MPEG stream.");        DestroyVidStream(curVidStream);+       vga_setmode(TEXT);        exit(1);      }      first = 0;****************** 1024,1029 ****--- 1027,1033 ----        longjmp(env, 1);        DestroyVidStream(curVidStream);+     vga_setmode(TEXT);      exit(0);      break;  ****************** 1579,1584 ****--- 1583,1589 ----    while (vid_stream->ring[i]->locked != 0) {      if (++i >= RING_BUF_SIZE) {        perror("Fatal error. Ring buffer full.");+       vga_setmode(TEXT);        exit(1);      }    }*** video.h	Tue Feb  2 23:58:41 1993--- mpegvga/video.h	Sun Oct 17 16:56:44 1993****************** 21,28 ****--- 21,30 ----  #include <stdio.h>  #include <setjmp.h>  + /*  #include <X11/Xlib.h>  #include <X11/Xutil.h>+ */    #ifdef SH_MEM  #include <sys/ipc.h>****************** 244,250 ****  extern VidStream *curVidStream;    /* Declarataion of global display pointer. */! extern Display *display;    /* Shared memory flag. */  extern int shmemFlag;--- 246,252 ----  extern VidStream *curVidStream;    /* Declarataion of global display pointer. */! /* extern Display *display; */    /* Shared memory flag. */  extern int shmemFlag;*** README.linux	Sun Jan 15 16:44:10 1995--- mpegvga/README.linux	Sun Jan 15 16:06:09 1995****************** 0 ****--- 1,49 ----+ + This is a port of the Berkeley MPEG Video Software Decoder v2.0 to Linux.+ + Two binaries are provided. They require the ld.so shared library loader.+ + mpeg_play+ + A binary compiled from the stock sources, using the XFree86-2.0 libraries.+ It was compiled with the flags: -O2 -fomit-frame-pointer -m486 (implicit)+ using gcc 2.5.4, with some debugging code left out. Uses the X shared memory+ extension that XFree86 v2.0 provides, which is a big win. The stock sources+ compile cleanly and trivially.+ + mpeg_vga+ + A non-X version that uses svgalib. It is slightly faster than the X version+ with shared memory and can use low resolution graphics modes. Also, with+ truecolor graphics cards that svgalib supports (Cirrus, ET4000), full color+ dithering can be used, which is very pretty. The graphics mode to be used can+ be set with the GSVGAMODE environment variable. Requires svgalib 0.91 or+ later installed.+ + For full color dithering (-dither color), 320x200x16M graphics mode is used+ if it is available and the picture is small enough; if not, 640x480x16M is+ used if available. 32K mode probed similarly.+ + For most other dithering methods, 320x200x256 standard VGA graphics mode is+ used if the picture is small enough; 640x480x256 otherwise.+ + For mono dithering, 640x480x2 VGA graphics mode is used.+ + [NOTE: The previously uploaded version contained patches for some hacked+ version of the stock sources; sorry for that.]+ Patches for the stock sources are included (mpegvga.patch). It removes X+ references, and uses svgalib instead. Also, the speed of gray dithering and+ full-color dithering has been improved. svgalib v0.91 or later is required to+ compile; it can be found on sunsite.unc.edu, directory /pub/Linux/libs.+ [Speed hack have been incorporated into the main source]+ + mpeg_play -h (or any other invalid flag) displays dithering and other options.+ + Note that with gray dithering, very little time is spent converting from the+ raw uncompressed data to a screen bitmap suitable for display, making it+ significantly faster than the other methods.+ + The v2.0 source is available on sunsite.unc.edu. For sample MPEG data,+ mm-ftp.cs.berkeley.edu, /pub/multimedia is one place to look.+ + hhanemaa@cs.ruu.nl*** gdith.c	Sun Jan 29 22:17:25 1995--- mpegvga/gdith.c	Sun Jan 29 22:44:59 1995****************** 28,33 ****--- 28,35 ----   */    #include <math.h>+ #include <vga.h>+ #include <vgagl.h>  #include "video.h"  #include "proto.h"  #include "dither.h"****************** 52,65 ****    extern int ditherType;  ! /* Structures used by the X server. */! ! Display *display;! ! static XImage *ximage = NULL;! static Colormap cmap;! static Window window;! static GC gc;    /* Frame Rate Info */  extern int framerate;--- 54,60 ----    extern int ditherType;  ! int vgamode = -1;    /* Frame Rate Info */  extern int framerate;****************** 155,351 ****    }  - #ifdef SH_MEM- - int gXErrorFlag = 0;- - int HandleXError(dpy, event)-      Display *dpy;-      XErrorEvent *event;- {-   gXErrorFlag = 1;- -   return 0;- }- - void InstallXErrorHandler()- {-   int HandleXError();- -   XSetErrorHandler(HandleXError);-   XFlush(display);- }  - void DeInstallXErrorHandler()- {-   XSetErrorHandler(NULL);-   XFlush(display);- }- #endif  - - /*-  *---------------------------------------------------------------  *-  * ResizeDisplay ---  *-  *	Resizes display window.-  *-  * Results:-  *	None.-  *-  * Side effects:-  *      None.-  *-  *---------------------------------------------------------------  */    void ResizeDisplay(w, h)       int w, h;  {! !   if (ditherType == NO_DITHER || ditherType == PPM_DITHER) return;! !   XResizeWindow(display, window, w, h);!   XFlush(display);  }  - - /*-  *---------------------------------------------------------------  *-  * MakeWindow ---  *-  *	Create X Window-  *-  * Results:-  *	Read the code.-  *-  * Side effects:-  *      None.-  *-  *---------------------------------------------------------------  */  ! #ifdef SH_MEM! int CompletionType = -1;! #endif    static void   MakeWindow(name)   char *name;  {    !   XSizeHints hint;!   unsigned int fg, bg;!   char *hello = "MPEG Play";!   int screen;!   Screen *screen_ptr;!   Window CreateFullColorWindow();!   !   if (ditherType == NO_DITHER || ditherType == PPM_DITHER) return;! !   display = XOpenDisplay(name);!   if (display == NULL) {!     fprintf(stderr, "Can not open display\n");!     exit(-2);!   }  ! #ifdef SH_MEM!   if(shmemFlag)!     CompletionType = XShmGetEventBase(display) + ShmCompletion;! #endif  !   screen = DefaultScreen (display);!   screen_ptr = XDefaultScreenOfDisplay(display);!   !   /* Fill in hint structure */  !   hint.x = 200;!   hint.y = 300;!   hint.width = 150;!   hint.height = 150;!   hint.flags = PPosition | PSize;!   !   /* Get some colors */!   !   bg = WhitePixel (display, screen);!   fg = BlackPixel (display, screen);!   !   /* Make the window */    !   if (ditherType == FULL_COLOR_DITHER || ditherType==FULL_COLOR2_DITHER) {!     window = CreateFullColorWindow (display, hint.x, hint.y, hint.width, hint.height);!     if (window == 0) {!       fprintf (stderr, "-color option only valid on full color display\n");!       exit (-1);!     }    } else if (ditherType == MONO_DITHER || ditherType == MONO_THRESHOLD) {!     window = XCreateSimpleWindow (display,! 				  DefaultRootWindow (display),! 				  hint.x, hint.y,! 				  hint.width, hint.height,! 				  4, fg, bg);    } else {!     XVisualInfo vinfo, *vinfo_ptr;!     Visual *vis;!     XSetWindowAttributes attrib;!     unsigned long attrib_flags=0;!     !     if (!XMatchVisualInfo (display, screen, 8, PseudoColor, ! 			   &vinfo)) {!       if (!XMatchVisualInfo(display, screen, 8, GrayScale, ! 			    &vinfo)) {!         fprintf(stderr, "-requires 8 bit display\n");!         exit(-1);!       }!     }! !     vis=vinfo.visual;!     if (XDefaultDepthOfScreen(screen_ptr) != 8) {!       attrib_flags |= CWColormap;!       attrib.colormap = XCreateColormap(display, DefaultRootWindow(display),! 					vis, AllocNone);!       owncmFlag = TRUE; !     }! !     attrib.background_pixel = bg;!     attrib.border_pixel = fg;!     attrib.backing_store = NotUseful;!     attrib.save_under = False;!     attrib.background_pixel = bg;!     attrib.border_pixel = bg;!     attrib_flags |= CWBackPixel | CWBorderPixel | CWBackingStore | CWSaveUnder;!     window = XCreateWindow (display,! 			    DefaultRootWindow (display),! 			    hint.x, hint.y,! 			    hint.width, hint.height, 4,! 			    8, InputOutput, vis,! 			    attrib_flags, &attrib);!   }!   !   XSelectInput(display, window, StructureNotifyMask);! !   /* Tell other applications about this window */!   !   XSetStandardProperties (display, window, hello, hello, None, NULL, 0, &hint);!   !   /* Map window. */! !   XMapWindow(display, window);! !   /* Wait for map. */!   while(1) {!     XEvent	xev;! !     XNextEvent(display, &xev);!     if(xev.type == MapNotify && xev.xmap.event == window)!       break;!   }! !   XSelectInput(display, window, NoEventMask);  }!       /*   *----------------------------------------------------------------- 150,286 ----    }          void ResizeDisplay(w, h)       int w, h;  {!   vga_modeinfo *modeinfo;!   /* Check if current VGA mode is big enough. */!   modeinfo = vga_getmodeinfo(vgamode);!   if (w > modeinfo->width || h > modeinfo->height) {!     int fail = 0;!     if (w > 640 || h > 480)!       fail = 1;!     else!       if (modeinfo->width == 320) {!         fail = 1;!         switch (modeinfo->bytesperpixel) {!         case 1 :!   	  if (vga_hasmode(G640x480x256)) {!   	    Palette pal;!   	    gl_getpalette(&pal);!   	    vgamode = G640x480x256;! 	    vga_setmode(vgamode);! 	    gl_setpalette(&pal);! 	    gl_setcontextvga(vgamode);! 	    if (ditherType != GRAY_DITHER)! 		    gl_clearscreen(255);! 	    gl_enableclipping();! 	    fail = 0;! 	  }! 	  break;! 	case 2 :!   	  if (vga_hasmode(G640x480x32K)) {!   	    vgamode = G640x480x32K;! 	    vga_setmode(vgamode);! 	    gl_setcontextvga(vgamode);! 	    gl_enableclipping();! 	    fail = 0;! 	  }! 	  break;! 	case 3 :!   	  if (vga_hasmode(G640x480x16M)) {!   	    vgamode = G640x480x16M;! 	    vga_setmode(vgamode);! 	    gl_setcontextvga(vgamode);! 	    gl_enableclipping();! 	    fail = 0;! 	  }! 	  break;!         }!       }!       else!         fail = 1;!     if (fail) {!     	printf("MPEG screen size too big.\n");!     	vga_setmode(TEXT);!     	exit(-1);!     }!   }  }    ! void! restoretextmode() {!   vga_setmode(TEXT);! }    static void   MakeWindow(name)   char *name;  {    !   if (ditherType == NO_DITHER) return;  !   /* Make the window */  !   vga_disabledriverreport();!   vga_init();  !   #define FIRSTRES(c) G320x200x##c!   #define SECONDRES(c) G640x480x##c    !   if (ditherType == FULL_COLOR_DITHER) {!     /* Look for hicolor/truecolor mode. */!     /* 640x480 resolution makes most animations very small. */!     /* 320x200 is more full-screen, but the distortions are very visible. */!     /* Check default svgalib mode. */!     vgamode = vga_getdefaultmode();!     if (vgamode != -1) {!        if (vga_getmodeinfo(vgamode)->bytesperpixel == 3)!          /* Default mode is a truecolor mode. */!          goto gotvgamode;!        if (vga_getmodeinfo(vgamode)->colors == 32768)!          goto gotvgamode;!     }!     if (vga_hasmode(FIRSTRES(16M)))!       vgamode = FIRSTRES(16M);!     else if (vga_hasmode(SECONDRES(16M)))!       vgamode = SECONDRES(16M);!     else if (vga_hasmode(FIRSTRES(32K)))!       vgamode = FIRSTRES(32K);!     else if (vga_hasmode(SECONDRES(32K)))!       vgamode = SECONDRES(32K);    } else if (ditherType == MONO_DITHER || ditherType == MONO_THRESHOLD) {!     /* set mode suitable for mono display if available */!     if (vga_hasmode(G640x480x2))!       vgamode = G640x480x2;    } else {!     /* set 256-color mode */!     /* Check default svgalib mode. */!     vgamode = vga_getdefaultmode();!     if (vgamode != -1)!        if (vga_getmodeinfo(vgamode)->bytesperpixel == 1)!          /* Default mode is a 256 color mode. */!          goto gotvgamode;!     if (vga_hasmode(FIRSTRES(256)))!       vgamode = FIRSTRES(256);!     else if (vga_hasmode(SECONDRES(256)))!       vgamode = SECONDRES(256);!   }!   if (vgamode == -1) {!   	printf("Cannot find suitable SVGA graphics mode for selected dithering.\n");!   	exit(-1);!   }! gotvgamode:!   printf("Using mode %s.\n", vga_getmodename(vgamode));!   vga_setmode(vgamode);!   gl_setcontextvga(vgamode);!   gl_enableclipping();  }!   

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区在线观看| 亚洲美女在线国产| 99re66热这里只有精品3直播 | 亚洲人xxxx| 日韩欧美激情在线| 一本大道综合伊人精品热热| 国产在线播放一区| 亚洲va在线va天堂| 亚洲天堂av老司机| 久久久一区二区| 日韩一区二区不卡| 欧美日韩亚洲综合一区| 国产91丝袜在线播放| 日本欧美大码aⅴ在线播放| 亚洲女同ⅹxx女同tv| 久久精品亚洲国产奇米99| 69堂成人精品免费视频| 色哟哟一区二区三区| 丰满白嫩尤物一区二区| 精品在线视频一区| 午夜精品一区二区三区免费视频 | 欧美第一区第二区| 欧美做爰猛烈大尺度电影无法无天| 国产成人免费在线视频| 毛片av中文字幕一区二区| 亚洲一区二区中文在线| 亚洲乱码国产乱码精品精小说| 国产肉丝袜一区二区| 精品少妇一区二区| 欧美日本国产一区| 欧美日韩国产在线观看| 91看片淫黄大片一级在线观看| 粉嫩av一区二区三区在线播放| 国产一区欧美日韩| 国产综合色在线| 国内偷窥港台综合视频在线播放| 天堂精品中文字幕在线| 亚洲香蕉伊在人在线观| 一区二区三区在线视频免费观看 | 美女任你摸久久| 日产国产欧美视频一区精品 | 丝袜亚洲另类欧美| 亚洲成人av一区二区| 亚洲国产精品久久不卡毛片| 亚洲日本一区二区| 亚洲激情网站免费观看| 亚洲一区成人在线| 亚洲va天堂va国产va久| 天堂在线亚洲视频| 蜜臀av国产精品久久久久| 久久精品国产999大香线蕉| 国产麻豆一精品一av一免费| 国产成人精品免费一区二区| 成人在线综合网| 色综合天天狠狠| 精品视频在线免费| 日韩一级视频免费观看在线| 久久伊99综合婷婷久久伊| 国产欧美综合色| 亚洲视频图片小说| 亚洲成人精品一区| 轻轻草成人在线| 国产在线精品国自产拍免费| 国产aⅴ综合色| 色视频一区二区| 亚洲成a人v欧美综合天堂下载| 秋霞影院一区二区| 国产精品一区二区91| gogogo免费视频观看亚洲一| 在线观看国产日韩| 日韩免费一区二区三区在线播放| 久久精品在线观看| 亚洲精品中文在线| 麻豆久久久久久| 成人app网站| 欧美一区二区女人| 国产视频一区不卡| 亚洲午夜在线视频| 国产激情偷乱视频一区二区三区| 97久久精品人人爽人人爽蜜臀| 91精品欧美久久久久久动漫| 国产精品久久久久久久久免费丝袜 | 亚洲精品国产无套在线观| 丝袜美腿亚洲一区| 色综合久久久久综合99| 欧美日韩国产精选| 国产日韩欧美不卡| 日韩激情中文字幕| 成人在线综合网站| 欧美成人video| 一区二区在线电影| 国产精品一二三四五| 欧美日精品一区视频| 久久久久久久综合日本| 香蕉乱码成人久久天堂爱免费| 国产高清不卡二三区| 欧美日韩国产精品成人| 亚洲欧洲av在线| 另类调教123区 | 91精品国产高清一区二区三区 | 亚洲男人的天堂网| 国产一区二区视频在线播放| 欧美日本韩国一区二区三区视频| 国产精品免费久久| 精品一区二区免费看| 欧美日韩一区二区三区视频| 国产精品视频一区二区三区不卡| 秋霞电影网一区二区| 欧美午夜不卡在线观看免费| 日本一区二区视频在线观看| 免费观看日韩电影| 精品视频免费在线| 亚洲精品久久久蜜桃| 成人免费黄色在线| 久久免费偷拍视频| 麻豆精品国产91久久久久久| 欧美性生活一区| 亚洲免费观看高清在线观看| 成人一区二区三区视频在线观看 | 一区二区三区不卡在线观看| www.99精品| 国产欧美日韩亚州综合 | 美日韩一区二区三区| 欧美三级视频在线观看| 亚洲精品成人精品456| 99精品欧美一区二区蜜桃免费| 国产日本一区二区| 国产自产v一区二区三区c| 欧美videos大乳护士334| 日韩和的一区二区| 欧美日韩国产不卡| 香港成人在线视频| 在线看不卡av| 亚洲综合色噜噜狠狠| 日本乱码高清不卡字幕| 亚洲另类色综合网站| 日本久久电影网| 亚洲色图视频网站| 色婷婷香蕉在线一区二区| 亚洲精品中文字幕在线观看| 在线观看亚洲一区| 亚洲国产成人91porn| 欧美三级韩国三级日本一级| 亚洲成在人线在线播放| 欧美日韩国产一级| 日韩av高清在线观看| 欧美tickling网站挠脚心| 国产在线观看一区二区| 亚洲精品视频在线观看免费| 91在线视频播放地址| 亚洲免费观看高清完整版在线 | 亚洲一区免费观看| 欧美男人的天堂一二区| 亚洲成人一区在线| 日韩视频一区二区在线观看| 国产一区二区三区最好精华液| 国产精品视频线看| 欧美在线视频你懂得| 蜜臀av性久久久久蜜臀aⅴ| 2020国产成人综合网| 99精品欧美一区二区三区综合在线| 一区二区三区四区视频精品免费| 欧美日韩一区 二区 三区 久久精品| 日日骚欧美日韩| 久久综合久久综合亚洲| 成人精品高清在线| 一区二区三区在线免费观看 | 最近日韩中文字幕| 欧美综合一区二区| 玖玖九九国产精品| 国产欧美一区二区在线| 日本高清不卡视频| 伦理电影国产精品| 综合久久综合久久| 91精品国产综合久久香蕉的特点 | 欧美色视频在线观看| 久久99精品久久久| 亚洲女人的天堂| 91麻豆精品国产91久久久久| 国产91在线观看| 五月激情综合网| 亚洲视频你懂的| 久久狠狠亚洲综合| 国精产品一区一区三区mba视频| 色综合久久88色综合天天| 中文字幕一区二区三区不卡| 欧美日韩成人综合在线一区二区| 国产一区激情在线| 亚洲自拍另类综合| 久久久久久久久久久久久夜| 欧美亚洲一区二区三区四区| 国产裸体歌舞团一区二区| 成人aaaa免费全部观看| 麻豆视频观看网址久久| 亚洲一二三区不卡| 国产欧美视频一区二区| 日韩欧美一区中文| 欧美午夜精品久久久久久孕妇| 国产丶欧美丶日本不卡视频| 视频一区视频二区中文字幕|