search for: ogg_uint32_t

Displaying 20 results from an estimated 35 matches for "ogg_uint32_t".

2004 Sep 15
1
Theora mcomp tuning...
...- next part -------------- Index: lib/mcomp.c =================================================================== --- lib/mcomp.c (revision 7715) +++ lib/mcomp.c (working copy) @@ -96,10 +96,10 @@ cpi->MVPixelOffsetY[i] = (cpi->MVOffsetY[i]*LineStepY) + cpi->MVOffsetX[i]; } -static ogg_uint32_t GetInterErr (unsigned char * NewDataPtr, - unsigned char * RefDataPtr1, - unsigned char * RefDataPtr2, - ogg_uint32_t PixelsPerLine ) { +static ogg_uint32_t GetInterErr (const unsigned char * NewDataPtr, +...
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
2004 Jul 26
1
theora_info struct question
...them: If there is some documentation somewhere that I've missed, please direct me to it. ===== Extract from theora.h ===== int quality; int quick_p; /* quick encode/decode */ void *codec_setup; /* encode only */ int dropframes_p; int keyframe_auto_p; ogg_uint32_t keyframe_frequency; ogg_uint32_t keyframe_frequency_force; /* also used for decode init to get granpos shift correct */ ogg_uint32_t keyframe_data_target_bitrate; ogg_int32_t keyframe_auto_threshold; ogg_uint32_t keyframe_mindistance; ogg_int32_t noise_sensitivity; ogg_int32_t sharpness;...
2002 Dec 10
2
mingw compiling problem for libogg
...nd MSVC/Borland but not on mingw... i have attached a patch that will fix this problem (i hope it attaches correctly) thx, Nehal --- os_types.h.old Fri Jul 19 02:25:52 2002 +++ os_types.h Tue Dec 10 14:15:44 2002 @@ -32,6 +32,13 @@ typedef __int32 ogg_int32_t; typedef unsigned __int32 ogg_uint32_t; typedef __int16 ogg_int16_t; +# elif defined(__MINGW32_VERSION) + /* Mingw */ +# include <stdint.h> + typedef int64_t ogg_int64_t; + typedef int32_t ogg_int32_t; + typedef uint32_t ogg_uint32_t; + typedef int16_t ogg_int16_t; # else /* Cygwin */ #include <_G_conf...
2004 Oct 02
2
Theora decode problem
...e the moving vectors are garbage. I'm not sure what I'm doing wrong. Here's my encryption initialization: theora_info_init(&m_ti); m_ti.width=176; m_ti.height=144; m_ti.frame_width=176; m_ti.frame_height=144; m_ti.offset_x=0; m_ti.offset_y=0; m_ti.fps_denominator=(ogg_uint32_t)1000000.0; m_ti.fps_numerator=10 * m_ti.fps_denominator; //10 is 10 frames per second m_ti.aspect_numerator=1; m_ti.aspect_denominator=1; m_ti.colorspace=OC_CS_UNSPECIFIED; m_ti.target_bitrate=0; // 0 if we are specifying quality m_ti.quality=5; // from 0 to 10, 10 is highest qua...
2006 Apr 19
0
making ices under Mac OS X
...error: requisite Ogg Vorbis library not found." I looked through the > config.log file and found this error: > /usr/local/include/ogg/config_types.h:6: error: parse error before > 'ogg_uint16_t' > /usr/local/include/ogg/config_types.h:8: error: parse error before > 'ogg_uint32_t' > > I found /usr/local/include/ogg/config_types.h had the following: > /* these are filled in by configure */ > typedef int16_t ogg_int16_t; > typedef u_int16_t ogg_uint16_t; > INSTEAD OF typedef u_int16_t ogg_uint16_t > typedef int32_t ogg_int32_t; > typedef u_int3...
2006 Mar 19
0
how to arrange the codeword tree into array form
...o know how he is arranging the binary tree into an array form. i think this process is done in _make_words in tremer code. i would be if some one could explain me the exact algorithm or where can i get it? i am attaching the code here for your reference. static int _make_words(char *l,long n,ogg_uint32_t *r,long quantvals, codebook *b, oggpack_buffer *opb,int maptype){ long i,j,count=0; long top=0; ogg_uint32_t marker[33]; if(n<2){ r[0]=0x80000000; }else{ memset(marker,0,sizeof(marker)); for(i=0;i<n;i++){ long length=l[i]; if(length){ ogg_uint...
2004 Apr 30
3
Problems on TI DSP c6701
Hi all: I am a newbie to vorbis, and I want to develop vorbis decoder onto TI c6701 evm board. And I try the tremor code and libvorbis and the code from http://www.xiph.org/archives/tremor/200210/0001.html . But all of them stll work good in MSVC but terrible in c6701. I dont know wher the problem is??Problem of code or problem of memory allocation?? it decodes almost noise,.... When I
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...tate information between the encoder and decoder.*/ @@ -291,10 +306,12 @@ oc_quant_tables dequant_table_data[2][3]; /*Loop filter strength parameters.*/ unsigned char loop_filter_limits[64]; + /*Table for accelerated common functions*/ + oc_base_opt_vtable opt_vtable; + ogg_uint32_t cpu_flags; }oc_theora_state; - /*The function type used to fill in the chroma plane motion vectors for a macro block when 4 different motion vectors are specified in the luma plane. @@ -344,13 +361,20 @@ int oc_dct_token_skip(int _token,int _extra_bits); +/* + +Function conver...
2005 Mar 23
0
[PATCH]
...tate information between the encoder and decoder.*/ @@ -291,10 +306,12 @@ oc_quant_tables dequant_table_data[2][3]; /*Loop filter strength parameters.*/ unsigned char loop_filter_limits[64]; + /*Table for accelerated common functions*/ + oc_base_opt_vtable opt_vtable; + ogg_uint32_t cpu_flags; }oc_theora_state; - /*The function type used to fill in the chroma plane motion vectors for a macro block when 4 different motion vectors are specified in the luma plane. @@ -344,13 +361,20 @@ int oc_dct_token_skip(int _token,int _extra_bits); +/* + +Function conver...
2005 May 31
1
Re: libogg2 branch->trunk (deadline: 5/30)
I have no objection to the API in itself, but could the API and structure only use the ogg fundamental types (like ogg_int32_t) or even better the C99 official types (like int32_t) because at the moment there is a real mix of types used for the occurences of serialno (long, int, ogg_uint32_t), beos, eos, ... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20050531/36e1ada8/attachment.htm
2004 Apr 01
1
Theora MVect not defined in coding mode 0
Just wondering if someone can help me out... I'm testing the core of my decoder filter (win32)... and when i get into this function: tatic void DecodeMVectors ( PB_INSTANCE *pbi,ogg_uint32_t SBRows,ogg_uint32_t SBCols ) The decoding mode is 0. When it attempts to do these lines.... pbi->FragMVect[FragIndex + 1].x = MVect[1].x;pbi->FragMVect[FragIndex + 1].y = MVect[1].y; pbi->FragMVect[FragIndex + pbi->HFragments].x = MVect[2].x; pbi->FragMVect[FragIndex + pbi->HFr...
2001 Jan 19
1
tiny cygwin bug (& solution)
In the file os_types.h (ogg/include/ogg) cygwin (newest version) complains about some error on line 43. Apparently "typedef unsigned _G_int32_t ogg_uint32_t;" is an illegal line .. Anyone have any idea why ? .. Anyway, if "unsigned _G_int32_t" is replaced by "_G_uint32_t", cygwin compiles happily (i attached a cvs diff-file that does this). I still have problems compiling ogg/vorbis though.. The (auto)make-files won't coop...
2017 Mar 09
1
[PATCH] fix minor typo in return type of op_serialno()
Attached small patch fixes a minor typo in return type of op_serialno() i.e. changes ogg_uint32_t to opus_uint32 to match the header. One doesn't usually hit this, but if one actually does (e.g. when using a differently configured config_types.h with a long vs int conflict in int32 typedef) it results in a build failure. -- O.S. -------------- next part -------------- A non-text attachmen...
2004 Aug 02
9
various patches from Mandrakelinux package
I was looking at the libvorbis 1.0 SRPM of Mandrakelinux, and it contained some patches which are not included in vorbis 1.1 svn. I'm attaching these patches here, because it could maybe be interesting to include these upstream. (libvorbis-1.1-aliasing.patch is actually a rediffed patch of Mandrakesoft's one for 1.0 against 1.1 svn). The author of these patches is Gwenole Beachesne,
2000 Sep 13
1
PATCH - mingw compatibility for 9/13/00 build.
I am a mingw coder and I needed to make the following changes to the CVS source from 9/13/00 to get a build: os_types.h L36C16 reads had to change "unsigned _G_int32_t" to "_G_uint32_t" to resolve the compile error: ..\include\vorbis\os_types.h:36:parse error before 'ogg_uint32_t' ..\include\vorbis\os_types.h:36:warning:data definition has no type or storage class ince mingw doesn't have rint I added: "#define rint(x) floor((x) + 0.5) to my math.h this works for all but psytune.c where floor is used as a variable name. An error occurs when using rint (or flo...
2001 Apr 18
3
[Patch] OS/2 port
.../ogg/include/ogg/os_types.h Tue Feb 27 00:28:28 2001 +++ ogg/include/ogg/os_types.h Tue Feb 27 00:29:50 2001 @@ -43,10 +43,7 @@ typedef _G_int16_t ogg_int16_t; # endif -#else - - -# ifdef macintosh +#elif defined(macintosh) #include <sys/types.h> @@ -55,20 +52,24 @@ typedef UInt32 ogg_uint32_t; typedef SInt64 ogg_int64_t; -# else +#elif defined(__EMX__) + +typedef short ogg_int16_t; +typedef int ogg_int32_t; +typedef unsigned int ogg_uint32_t; +typedef long long ogg_int64_t; -# ifdef __BEOS__ +#else + +# ifdef __BEOS__ /* Be */ #include <inttypes.h> -# endif +#...
2008 Nov 04
3
[PATCH] liboggz: Fix Dirac bitstream parsing
...(working copy) @@ -122,6 +122,10 @@ 1, 9, 10, 9, 10, 9, 10, 4, 3, 7, 6, 4, 3, 7, 6, 2, 2, 7, 6, 7, 6, }; + static const int dirac_top_field_first[] = { /* extracted from table C.1 */ + 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + }; + static const struct { ogg_uint32_t width, height; } dirac_fsize_tbl[] = { /* table 10.3 framesize */ @@ -150,11 +154,12 @@ if (dirac_bool( &bs )) { info->chroma_format = dirac_uint( &bs ); /* chroma_format */ } + if (dirac_bool( &bs )) { - info->interlaced = 0; - if (dirac_bool( &bs )) {...
2005 May 26
1
libogg2 branch->trunk (deadline: 5/30)
...nued(ogg2_page *og, int value); extern void ogg2_page_set_bos(ogg2_page *og, int value); extern void ogg2_page_set_eos(ogg2_page *og, int value); extern void ogg2_page_set_granulepos(ogg2_page *og, ogg_int64_t value); extern void ogg2_page_set_serialno(ogg2_page *og, ogg_uint32_t value); extern void ogg2_page_set_pageno(ogg2_page *og, ogg_uint32_t value); C. Added missing function This was simply missing and, thus, added: extern ogg2_buffer_state *ogg2_buffer_create(void); D. Changed name of include To go along with changes in II.A. an ogg/ogg.h would...
2005 May 26
1
libogg2 branch->trunk (deadline: 5/30)
...nued(ogg2_page *og, int value); extern void ogg2_page_set_bos(ogg2_page *og, int value); extern void ogg2_page_set_eos(ogg2_page *og, int value); extern void ogg2_page_set_granulepos(ogg2_page *og, ogg_int64_t value); extern void ogg2_page_set_serialno(ogg2_page *og, ogg_uint32_t value); extern void ogg2_page_set_pageno(ogg2_page *og, ogg_uint32_t value); C. Added missing function This was simply missing and, thus, added: extern ogg2_buffer_state *ogg2_buffer_create(void); D. Changed name of include To go along with changes in II.A. an ogg/ogg.h would...