[Mplayer-cvslog] CVS: main/libvo vo_mpegpes.c,NONE,1.1 video_out.c,1.20,1.21 Makefile,1.13,1.14

Arpi of Ize arpi at mplayer.dev.hu
Sat Sep 8 22:48:05 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv24317

Modified Files:
	video_out.c Makefile 
Added Files:
	vo_mpegpes.c 
Log Message:
Mpeg PES added

--- NEW FILE ---

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "config.h"
#include "video_out.h"
#include "video_out_internal.h"

LIBVO_EXTERN (mpegpes)

static vo_info_t vo_info = 
{
	"Mpeg-PES file",
	"mpgpes",
	"A'rpi",
	""
};

static uint32_t
init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format)
{

    return 0;
}

static const vo_info_t*
get_info(void)
{
    return &vo_info;
}

static void draw_osd(void)
{
}

static void flip_page (void)
{
}

static uint32_t draw_slice(uint8_t *srcimg[], int stride[], int w,int h,int x,int y)
{
    return 0;
}


static uint32_t draw_frame(uint8_t * src[])
{


    return 0;
}

static uint32_t
query_format(uint32_t format)
{
    if(format==IMGFMT_MPEGPES) return 1;
    return 0;
}

static void
uninit(void)
{
}


static void check_events(void)
{
}


Index: video_out.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/video_out.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- video_out.c	14 Aug 2001 12:30:56 -0000	1.20
+++ video_out.c	8 Sep 2001 20:48:02 -0000	1.21
@@ -67,6 +67,7 @@
 extern vo_functions_t video_out_png;
 extern vo_functions_t video_out_ggi;
 extern vo_functions_t video_out_aa;
+extern vo_functions_t video_out_mpegpes;
 
 vo_functions_t* video_out_drivers[] =
 {
@@ -118,6 +119,7 @@
         &video_out_odivx,
         &video_out_pgm,
         &video_out_md5,
+	&video_out_mpegpes,
         NULL
 };
 
@@ -160,6 +162,7 @@
 	case IMGFMT_CLJR: return("Packed CLJR");
 	case IMGFMT_YUVP: return("Packed YUVP");
 	case IMGFMT_UYVP: return("Packed UYVP");
+	case IMGFMT_MPEGPES: return("Mpeg PES");
     }
     return("Unknown");
 }

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile	24 Aug 2001 16:20:04 -0000	1.13
+++ Makefile	8 Sep 2001 20:48:02 -0000	1.14
@@ -3,7 +3,7 @@
 
 LIBNAME = libvo.a
 
-SRCS=aclib.c osd.c font_load.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c x11_common.c $(OPTIONAL_SRCS)
+SRCS=aclib.c osd.c font_load.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c vo_odivx.c x11_common.c $(OPTIONAL_SRCS)
 OBJS=$(SRCS:.c=.o)
 
 ifeq ($(TARGET_ARCH_X86),yes)




More information about the MPlayer-cvslog mailing list