vrshoot

annotate libs/vorbis/misc.h @ 2:334d17aed7de

visual studio project files
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 18:36:38 +0200
parents
children
rev   line source
nuclear@0 1 /********************************************************************
nuclear@0 2 * *
nuclear@0 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
nuclear@0 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
nuclear@0 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
nuclear@0 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
nuclear@0 7 * *
nuclear@0 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
nuclear@0 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
nuclear@0 10 * *
nuclear@0 11 ********************************************************************
nuclear@0 12
nuclear@0 13 function: miscellaneous prototypes
nuclear@0 14 last mod: $Id: misc.h 16227 2009-07-08 06:58:46Z xiphmont $
nuclear@0 15
nuclear@0 16 ********************************************************************/
nuclear@0 17
nuclear@0 18 #ifndef _V_RANDOM_H_
nuclear@0 19 #define _V_RANDOM_H_
nuclear@0 20 #include "vorbis/codec.h"
nuclear@0 21
nuclear@0 22 extern void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
nuclear@0 23 extern void _vorbis_block_ripcord(vorbis_block *vb);
nuclear@0 24
nuclear@0 25 #ifdef ANALYSIS
nuclear@0 26 extern int analysis_noisy;
nuclear@0 27 extern void _analysis_output(char *base,int i,float *v,int n,int bark,int dB,
nuclear@0 28 ogg_int64_t off);
nuclear@0 29 extern void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,
nuclear@0 30 ogg_int64_t off);
nuclear@0 31 #endif
nuclear@0 32
nuclear@0 33 #ifdef DEBUG_MALLOC
nuclear@0 34
nuclear@0 35 #define _VDBG_GRAPHFILE "malloc.m"
nuclear@0 36 #undef _VDBG_GRAPHFILE
nuclear@0 37 extern void *_VDBG_malloc(void *ptr,long bytes,char *file,long line);
nuclear@0 38 extern void _VDBG_free(void *ptr,char *file,long line);
nuclear@0 39
nuclear@0 40 #ifndef MISC_C
nuclear@0 41 #undef _ogg_malloc
nuclear@0 42 #undef _ogg_calloc
nuclear@0 43 #undef _ogg_realloc
nuclear@0 44 #undef _ogg_free
nuclear@0 45
nuclear@0 46 #define _ogg_malloc(x) _VDBG_malloc(NULL,(x),__FILE__,__LINE__)
nuclear@0 47 #define _ogg_calloc(x,y) _VDBG_malloc(NULL,(x)*(y),__FILE__,__LINE__)
nuclear@0 48 #define _ogg_realloc(x,y) _VDBG_malloc((x),(y),__FILE__,__LINE__)
nuclear@0 49 #define _ogg_free(x) _VDBG_free((x),__FILE__,__LINE__)
nuclear@0 50 #endif
nuclear@0 51 #endif
nuclear@0 52
nuclear@0 53 #endif
nuclear@0 54
nuclear@0 55
nuclear@0 56
nuclear@0 57