[Mplayer-cvslog] CVS: main dec_video.c,1.21,1.22 codec-cfg.c,1.28,1.29 codec-cfg.h,1.11,1.12
Arpi of Ize
arpi at mplayer.dev.hu
Sun Aug 12 01:11:19 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv13676
Modified Files:
dec_video.c codec-cfg.c codec-cfg.h
Log Message:
raw (uncompressed) video codec
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- dec_video.c 8 Aug 2001 19:36:54 -0000 1.21
+++ dec_video.c 11 Aug 2001 23:11:16 -0000 1.22
@@ -316,6 +316,9 @@
mpeg2_allocate_image_buffers (picture);
break;
}
+ case VFM_RAW: {
+ break;
+ }
}
return 1;
@@ -499,6 +502,10 @@
case VFM_MPEG:
mpeg2_decode_data(video_out, start, start+in_size,drop_frame);
if(!drop_frame) blit_frame=1;
+ break;
+ case VFM_RAW:
+ planes[0]=start;
+ blit_frame=2;
break;
} // switch
//------------------------ frame decoded. --------------------
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- codec-cfg.c 26 Jul 2001 00:30:01 -0000 1.28
+++ codec-cfg.c 11 Aug 2001 23:11:16 -0000 1.29
@@ -215,6 +215,7 @@
"ffmpeg",
"vfwex",
"divx4",
+ "raw",
NULL
};
char **drv=audioflag?audiodrv:videodrv;
Index: codec-cfg.h
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- codec-cfg.h 29 Jul 2001 02:08:27 -0000 1.11
+++ codec-cfg.h 11 Aug 2001 23:11:16 -0000 1.12
@@ -34,6 +34,7 @@
#define VFM_FFMPEG 5
#define VFM_VFWEX 6
#define VFM_DIVX4 7
+#define VFM_RAW 8
typedef struct {
unsigned long f1;
More information about the MPlayer-cvslog
mailing list