Skip to content

Commit

Permalink
Rename libhb to libmediafork
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/PixelRatioWorking@241 b64f7644-9d1e-0410-96f1-a4d463321fa5
  • Loading branch information
PhilippeRigaux committed Jan 28, 2007
1 parent cf8f143 commit 2e41fb8
Show file tree
Hide file tree
Showing 28 changed files with 38 additions and 38 deletions.
12 changes: 6 additions & 6 deletions libmediafork/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# Homepage: <http://handbrake.m0k.org/>.
# It may be used under the terms of the GNU General Public License.

SubDir TOP libhb ;
SubDir TOP libmediafork ;

LIBHB_SRC =
common.c hb.c ports.c scan.c work.c decmpeg2.c encavcodec.c update.c
LIBMEDIAFORK_SRC =
common.c mediafork.c ports.c scan.c work.c decmpeg2.c encavcodec.c update.c
demuxmpeg.c fifo.c render.c reader.c muxcommon.c muxmp4.c sync.c
decsub.c deca52.c encfaac.c declpcm.c encx264.c decavcodec.c encxvid.c
muxavi.c enclame.c muxogm.c encvorbis.c dvd.c ;

Library libhb : $(LIBHB_SRC) ;
Library libmediafork : $(LIBMEDIAFORK_SRC) ;

ObjectCcFlags $(LIBHB_SRC) : -I$(TOP)/contrib/include ;
ObjectDefines $(LIBHB_SRC) : __LIBHB__ ;
ObjectCcFlags $(LIBMEDIAFORK_SRC) : -I$(TOP)/contrib/include ;
ObjectDefines $(LIBMEDIAFORK_SRC) : __LIBMEDIAFORK__ ;
10 changes: 5 additions & 5 deletions libmediafork/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ typedef struct hb_fifo_s hb_fifo_t;
typedef struct hb_lock_s hb_lock_t;

#include "ports.h"
#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__
#include "internal.h"
#endif

Expand Down Expand Up @@ -176,7 +176,7 @@ struct hb_job_s
int mux;
char * file;

#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__
/* Internal data */
hb_handle_t * h;
hb_lock_t * pause;
Expand Down Expand Up @@ -210,7 +210,7 @@ struct hb_audio_s
int bitrate;
int channels;

#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__
/* Internal data */
hb_fifo_t * fifo_in; /* AC3/MPEG/LPCM ES */
hb_fifo_t * fifo_raw; /* Raw audio */
Expand Down Expand Up @@ -245,7 +245,7 @@ struct hb_subtitle_s
int id;
char lang[1024];

#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__
/* Internal data */
hb_fifo_t * fifo_in; /* SPU ES */
hb_fifo_t * fifo_raw; /* Decodec SPU */
Expand Down Expand Up @@ -346,7 +346,7 @@ struct hb_work_object_s
int id;
char * name;

#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__
int (* init) ( hb_work_object_t *, hb_job_t * );
int (* work) ( hb_work_object_t *, hb_buffer_t **,
hb_buffer_t ** );
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/deca52.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "a52dec/a52.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/decavcodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "ffmpeg/avcodec.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/declpcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

int declpcmInit( hb_work_object_t *, hb_job_t * );
int declpcmWork( hb_work_object_t *, hb_buffer_t **, hb_buffer_t ** );
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/decmpeg2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "mpeg2dec/mpeg2.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/decsub.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

struct hb_work_private_s
{
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/demuxmpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

/* Basic MPEG demuxer, only works with DVDs (2048 bytes packets) */

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/dvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"
#include "lang.h"

#include "dvdread/ifo_read.h"
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/encavcodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "ffmpeg/avcodec.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/encfaac.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "faac.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/enclame.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "lame/lame.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/encvorbis.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "vorbis/vorbisenc.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/encx264.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It may be used under the terms of the GNU General Public License. */

#include <stdarg.h>

#include "hb.h"
#include "mediafork.h"

#include "x264.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/encxvid.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "xvid.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#ifndef SYS_DARWIN
#include <malloc.h>
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/muxavi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#define AVIF_HASINDEX 0x10
#define AVIIF_KEYFRAME 0x10
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/muxcommon.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

struct hb_mux_object_s
{
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/muxmp4.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It may be used under the terms of the GNU General Public License. */

#include <ffmpeg/avformat.h>

#include "hb.h"
#include "mediafork.h"

int64_t ff_gcd(int64_t a, int64_t b);

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/muxogm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include <ogg/ogg.h>

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/ports.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <netinet/in.h>
//#endif

#include "hb.h"
#include "mediafork.h"

/************************************************************************
* hb_get_date()
Expand Down
4 changes: 2 additions & 2 deletions libmediafork/ports.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ uint64_t hb_get_date();
void hb_snooze( int delay );
int hb_get_cpu_count();

#ifdef __LIBHB__
#ifdef __LIBMEDIAFORK__

/* Everything from now is only used internally and hidden to the UI */

Expand Down Expand Up @@ -79,7 +79,7 @@ int hb_net_send( hb_net_t *, char * );
int hb_net_recv( hb_net_t *, char *, int );
void hb_net_close( hb_net_t ** );

#endif /* __LIBHB__ */
#endif /* __LIBMEDIAFORK__ */

#endif

2 changes: 1 addition & 1 deletion libmediafork/reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

typedef struct
{
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "ffmpeg/avcodec.h"

Expand Down
2 changes: 1 addition & 1 deletion libmediafork/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"
#include "a52dec/a52.h"

typedef struct
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#include "samplerate.h"
#include "ffmpeg/avcodec.h"
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/update.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

#define HB_URL "handbrake.m0k.org"
#define HB_QUERY "GET /LATEST HTTP/1.0\r\nHost: " HB_URL "\r\n\r\n"
Expand Down
2 changes: 1 addition & 1 deletion libmediafork/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Homepage: <http://handbrake.m0k.org/>.
It may be used under the terms of the GNU General Public License. */

#include "hb.h"
#include "mediafork.h"

typedef struct
{
Expand Down

0 comments on commit 2e41fb8

Please sign in to comment.