[xiph-cvs] cvs commit: vorbis/mac/compat/sys types.h

Monty xiphmont at xiph.org
Tue Nov 21 22:15:21 PST 2000



xiphmont    00/11/21 22:15:20

  Modified:    mac      libvorbis.mcp.exp
               mac/compat strdup.c
  Added:       mac      libvorbisenc.mcp libvorbisenc.mcp.exp
                        libvorbisfile.mcp libvorbisfile.mcp.exp
  Removed:     mac      decoder_example.mcp encoder_example.mcp
                        libvorbis.mcp
               mac/compat/sys types.h
  Log:
  Mac compatability update from Chris Hanson.  Hopefully I got the
  binary checkin of .mcp files correct.
  
  Monty

Revision  Changes    Path
1.2       +52 -1     vorbis/mac/libvorbis.mcp.exp

Index: libvorbis.mcp.exp
===================================================================
RCS file: /usr/local/cvsroot/vorbis/mac/libvorbis.mcp.exp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libvorbis.mcp.exp	2000/08/14 22:33:50	1.1
+++ libvorbis.mcp.exp	2000/11/22 06:15:19	1.2
@@ -1 +1,52 @@
-### From "vorbis/codec.h"
ogg_stream_packetin
ogg_stream_pageout
ogg_sync_init
ogg_sync_clear
#ogg_sync_destroy
ogg_sync_reset
ogg_sync_buffer
ogg_sync_wrote
ogg_sync_pageseek
ogg_sync_pageout
ogg_stream_pagein
ogg_stream_packetout
ogg_stream_init
ogg_stream_clear
ogg_stream_reset
ogg_stream_destroy
ogg_stream_eof
ogg_page_version
ogg_page_continued
ogg_page_bos
ogg_page_eos
ogg_page_frameno
ogg_page_serialno
ogg_page_pageno
vorbis_info_init
vorbis_info_clear
vorbis_comment_init
vorbis_comment_add 
vorbis_comment_clear
vorbis_block_init
vorbis_block_clear
vorbis_dsp_clear
vorbis_analysis_init
vorbis_analysis_headerout
vorbis_analysis_buffer
vorbis_analysis_wrote
vorbis_analysis_blockout
vorbis_analysis
vorbis_synthesis_headerin
vorbis_synthesis_init
vorbis_synthesis
vorbis_synthesis_blockin
vorbis_synthesis_pcmout
vorbis_synthesis_read
strdup
\ No newline at end of file
+### From "vorbis/codec.h"
+
+# Vorbis PRIMITIVES: general
+
+vorbis_info_init
+vorbis_info_clear
+vorbis_comment_init
+vorbis_comment_add
+vorbis_comment_add_tag
+vorbis_comment_query
+vorbis_comment_query_count
+vorbis_comment_clear
+
+vorbis_block_init
+vorbis_block_clear
+vorbis_dsp_clear
+
+# Vorbis PRIMITIVES: analysis/DSP layer
+
+vorbis_analysis_init
+vorbis_analysis_headerout
+vorbis_analysis_buffer
+vorbis_analysis_wrote
+vorbis_analysis_blockout
+vorbis_analysis
+
+# Vorbis PRIMITIVES: synthesis layer
+
+vorbis_synthesis_headerin
+vorbis_synthesis_init
+vorbis_synthesis
+vorbis_synthesis_blockin
+vorbis_synthesis_pcmout
+vorbis_synthesis_read
+
+### From "psy.h" (for VorbisEncLib)
+
+_vp_psy_init
+_vp_psy_clear
+#_vi_psy_dup
+
+_vi_psy_free
+_vi_psy_copy
+
+_vp_compute_mask
+_vp_apply_floor
+
+### From "xxx.h" (for VorbisEncLib)
+_time_P
+_floor_P
+_residue_P
+_mapping_P

1.1                  vorbis/mac/libvorbisenc.mcp

Index: libvorbisenc.mcp
===================================================================
cool

 
F
l
Š
«
Ô
ù

NONAME.EXE
NONAME.EXE

rbisEncLib Debug:PPC Global Optimizer
    .au

NONAME.EXE
NONAME.EXE
    .au

pref
~
pref

2
:
T
h
pref
r

pref


1.1                  vorbis/mac/libvorbisenc.mcp.exp

Index: libvorbisenc.mcp.exp
===================================================================
### From "vorbis/vorbisenc.h"

vorbis_encode_init

vorbis_encode_ctl

1.1                  vorbis/mac/libvorbisfile.mcp

Index: libvorbisfile.mcp
===================================================================
cool

 
F
l
Š
«
Ô
ù

ug:PPCAsm Panel

    .au

    .au

NONAME.EXE
NONAME.EXE

†
Ž
¨
Œ
¼
pref
Æ
Ò
à
Î
pref

2
:
T
h
pref
r
pref
y

1.1                  vorbis/mac/libvorbisfile.mcp.exp

Index: libvorbisfile.mcp.exp
===================================================================
### From "vorbis/vorbisfile.h"

ov_clear
ov_open
ov_open_callbacks

ov_bitrate
ov_bitrate_instant
ov_streams
ov_seekable
ov_serialnumber

ov_raw_total
ov_pcm_total
ov_time_total

ov_raw_seek
ov_pcm_seek
ov_pcm_seek_page
ov_time_seek
ov_time_seek_page

ov_raw_tell
ov_pcm_tell
ov_time_tell

ov_info
ov_comment

ov_read

1.3       +21 -1     vorbis/mac/compat/strdup.c

Index: strdup.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/mac/compat/strdup.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- strdup.c	2000/11/06 00:07:25	1.2
+++ strdup.c	2000/11/22 06:15:20	1.3
@@ -1 +1,21 @@
-#include <sys/types.h>
#include <string.h>
#include <stdlib.h>

char *strdup(const char *inStr)
{
	char *outStr = NULL;
	
	if (inStr == NULL) {
		return NULL;
	}
	
	outStr = _ogg_malloc(strlen(inStr) + 1);
	
	if (outStr != NULL) {
		strcpy(outStr, inStr);
	}
	
	return outStr;
}
\ No newline at end of file
+#include <ogg/os_types.h>
+#include <sys/types.h>
+#include <string.h>
+#include <stdlib.h>
+
+char *strdup(const char *inStr)
+{
+	char *outStr = NULL;
+	
+	if (inStr == NULL) {
+		return NULL;
+	}
+	
+	outStr = _ogg_malloc(strlen(inStr) + 1);
+	
+	if (outStr != NULL) {
+		strcpy(outStr, inStr);
+	}
+	
+	return outStr;
+}

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list