search for: crc_reg

Displaying 4 results from an estimated 4 matches for "crc_reg".

Did you mean: crtc_reg
2002 Jul 12
0
Problem with checksums
...re anything else I have to do? Thanks, Erik ============ code ============= CRC routine in C stolen from framing.c: tatic unsigned int crc_lookup[256]={ 0x00000000,0x04c11db7,0x09823b6e,0x0d4326d9, [...] 0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4}; extern void ChecksumCalc(unsigned int *crc_reg, char *buffer, unsigned int size){ unsigned int i; for(i=0;i<size;i++) *crc_reg=(*crc_reg<<8)^crc_lookup[((*crc_reg >>24)&0xff)^buffer[i]]; } <p>Delphi test code: type TByteArray = packed array of Byte; TCharArray = packed array of Char; TOggPageHeader = pac...
2003 Sep 09
1
Checksum question
I'm trying to simply regenerate the comment header checksum on the ogg file "test.ogg" I ripped the checksum function from libvorbis, and only modified it in that I hard-coded what I think is the comment header (as far as I can tell from the docs). However it seems to generate an invalid checksum (according to ogginfo) Here is a url to the two files, please help :)
2000 Jun 19
2
Compilation error
...LINES -fsigned-char -I. -I../include -c framing.c framing.c:76: parse error before crc_lookup' framing.c:76: warning: data definition has no type or storage class framing.c:79: parse error before _ogg_crc_entry' framing.c: In function _os_checksum': framing.c:173: syntax error before crc_reg' framing.c:177: crc_reg' undeclared (first use this function) framing.c:177: (Each undeclared identifier is reported only once framing.c:177: for each function it appears in.) make[2]: *** [framing.o] Error 1 make[2]: Leaving directory /var/.scratch/cvs/vorbis/lib' make[1]: *** [all] Er...
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
...or before '*' token framing.c: In function `_os_lacing_expand': framing.c:236: `os' undeclared (first use in this function) framing.c:236: `needed' undeclared (first use in this function) framing.c: In function `ogg_page_checksum_set': framing.c:249: parse error before "crc_reg" framing.c:259: `crc_reg' undeclared (first use in this function) framing.c: At top level: framing.c:271: parse error before '*' token framing.c: In function `ogg_stream_packetin': framing.c:272: `op' undeclared (first use in this function) framing.c:274: `os' undeclare...