search for: codec_setup_info

Displaying 6 results from an estimated 6 matches for "codec_setup_info".

2005 Aug 05
1
debugging question.
...debug and can single step through the program. However i am facing the following problem (which I think is more of C than vorbis) 1. after single steppig I finally arrive at the function shown below (in file lib/info.c) static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ 196 codec_setup_info *ci=vi->codec_setup; 197 if(!ci)return(OV_EFAULT); 198 199 vi->version=oggpack_read(opb,32); 200 if(vi->version!=0)return(OV_EVERSION); 201 202 vi->channels=oggpack_read(opb,8); 203 vi->rate=oggpack_read(opb,32); 204 205 vi->bitrate_upper=oggpack_read(opb,32); 206...
2001 Sep 04
1
Problems trying to run the examples in windows vorbis sdk
...CRT.lib(MSVCRT.dll) : error LNK2005: _calloc already defined in LIBCMTD.lib(dbgheap.obj) etc... Then I have downloaded the source and I got the same problem, but now I know in which exact line the error is. Inside the vorbisenc.c, we have the following function: static void codec_setup_partialcopy(codec_setup_info *ci, codec_setup_info *cs){ int i; memcpy(ci,cs,sizeof(codec_setup_info)); /* to get the flat numbers */ /* codebooks */ for(i=0;i<ci->books;i++){ ci->book_param[i]=cs->book_param[i]; } /* time backend settings */ for(i=0;i<ci->times;i++){ ci->time_param[i]=_time_P[ci->time_...
2001 Sep 03
0
FW: Problems trying to run the examples in windows vorbis sdk
More information about the error below: I have downloaded the source and I got the same problem, but now I know in which exact line the error is. Inside the vorbisenc.c, we have the following function: tatic void codec_setup_partialcopy(codec_setup_info *ci, codec_setup_info *cs){ int i; memcpy(ci,cs,sizeof(codec_setup_info)); /* to get the flat numbers */ /* codebooks */ for(i=0;i<ci->books;i++){ ci->book_param[i]=cs->book_param[i]; } /* time backend settings */ for(i=0;i<ci->times;i++){ ci->time...
2001 Sep 05
4
Problems trying to run the examples in windows v orbis sdk
...have tried with static link >library and dynamic but nothing to do. > >Then I have downloaded the source and I got the same problem, but now I >know >in which exact line the error is. >Inside the vorbisenc.c, we have the following function: >static void codec_setup_partialcopy(codec_setup_info *ci, >codec_setup_info *cs){ >int i; >memcpy(ci,cs,sizeof(codec_setup_info)); /* to get the flat numbers */ >/* codebooks */ >for(i=0;i<ci->books;i++){ >ci->book_param[i]=cs->book_param[i]; >} >/* time backend settings */ >for(i=0;i<ci->times;i++){ >c...
2003 Oct 09
0
Vorbis plugin for RealOne Player
...an access violation. I did some debugging and narrowed it down to the following function in the Vorbis source.. int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){ vorbis_dsp_state *vd=vb->vd; backend_lookup_state *b=vd->backend_state; vorbis_info *vi=vd->vi; codec_setup_info *ci=vi->codec_setup; oggpack_buffer *opb=&vb->opb; int type,mode,i; /* first things first. Make sure decode is ready */ _vorbis_block_ripcord(vb); oggpack_readinit(opb,op->packet,op->bytes); /* Check the packet type */ if(oggpack_re...
2004 Aug 24
5
MMX/mmxext optimisations
quite some speed improvement indeed. attached the updated patch to apply to svn/trunk. j -------------- next part -------------- A non-text attachment was scrubbed... Name: theora-mmx.patch.gz Type: application/x-gzip Size: 8648 bytes Desc: not available Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040824/5a5f2731/theora-mmx.patch-0001.bin