diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-05-14 23:06:03 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-05-14 23:06:03 +0000 |
commit | a70cacaa1dc3096e4b1d5eb188fe40ea7ac49631 (patch) | |
tree | 72a4f79f61db3b079e268f556308b9112b814cc8 /graphics/mpeg_encode/patches | |
parent | d35a59d1beff3f04df9d89a7a2b593b41d62fb23 (diff) | |
download | pkgsrc-a70cacaa1dc3096e4b1d5eb188fe40ea7ac49631.tar.gz |
Add mpeg_encode-1.5b: The Parallel Berkeley MPEG Encoder
The primary focus of MPEG encoding algorithms is 1) To create fast
and efficient motion vector search techniques and 2) To find "good"
encoding parameters that provide a balance of encoding speed,
compression and quality.
The Berkeley encoder accelerates the process by parallelizing in
the temporal direction. The overall organization of the encoder is
shown in Figure 2. The Master server is the overall coordinator.
It allocates groups of frames to the Slave servers for encoding.
The sharing of the files is achieved best, if the directories
containing the video files are NFS mounted and accessible uniformly
to all processors (alternatively they can be sent out though sockets
by the Master). The various activities are managed by inter process
communication through sockets.
Diffstat (limited to 'graphics/mpeg_encode/patches')
-rw-r--r-- | graphics/mpeg_encode/patches/patch-aa | 17 | ||||
-rw-r--r-- | graphics/mpeg_encode/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/mpeg_encode/patches/patch-ac | 25 |
3 files changed, 55 insertions, 0 deletions
diff --git a/graphics/mpeg_encode/patches/patch-aa b/graphics/mpeg_encode/patches/patch-aa new file mode 100644 index 00000000000..5227b1878a5 --- /dev/null +++ b/graphics/mpeg_encode/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 23:06:03 hubertf Exp $ + +--- Makefile.orig Thu Aug 17 00:16:56 1995 ++++ Makefile +@@ -36,9 +36,9 @@ + ############## + # JPEG STUFF # + ############## +-JPEG_LIB = jpeg/libjpeg.a +-JPEG_DIR = -Ijpeg +-JPEG_LIB_DIR = -Ljpeg ++JPEG_LIB = -ljpeg ++JPEG_DIR = -I${LOCALBASE}/include ++JPEG_LIB_DIR = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib + MP_JPEG_OBJS = jpeg.o + MP_JPEG_SRCS = jpeg.c + diff --git a/graphics/mpeg_encode/patches/patch-ab b/graphics/mpeg_encode/patches/patch-ab new file mode 100644 index 00000000000..d06921f9b40 --- /dev/null +++ b/graphics/mpeg_encode/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/05/14 23:06:03 hubertf Exp $ + +--- jpeg.c.orig Sat Aug 5 01:35:07 1995 ++++ jpeg.c +@@ -77,7 +77,7 @@ + + /* make it happier.... */ + #undef DCTSIZE2 +-#include "jpeg/jpeglib.h" ++#include "jpeglib.h" /* Use system header! */ + + + #define HEADER_SIZE 607 /*JFIF header size used on output images*/ diff --git a/graphics/mpeg_encode/patches/patch-ac b/graphics/mpeg_encode/patches/patch-ac new file mode 100644 index 00000000000..92eee593f00 --- /dev/null +++ b/graphics/mpeg_encode/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/05/14 23:06:03 hubertf Exp $ + +--- libpnmrw.c.orig Thu Aug 17 00:24:26 1995 ++++ libpnmrw.c +@@ -28,6 +28,9 @@ + #endif + + #include <stdio.h> ++#ifdef __NetBSD__ ++# include <errno.h> ++#endif + #include "libpnmrw.h" + + /* if don't have string.h, try strings.h */ +@@ -126,8 +129,10 @@ + pm_perror( reason ) + char* reason; + { ++#ifndef __NetBSD__ + extern char* sys_errlist[]; + extern int errno; ++#endif + char* e; + + e = sys_errlist[errno]; |