<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2> In this part of the
code.....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>int decode_map(codebook *s, oggpack_buffer *b, ogg_int32_t *v, int
point){<BR> ogg_uint32_t entry =
decode_packed_entry_number(s,b);<BR> int i;<BR>
if(oggpack_eop(b))return(-1);<BR><BR> /* according to decode type
*/<BR> switch(s->dec_type){<BR> case 1:{<BR> /*
packed vector of values */<BR> int
mask=(1<<s->q_bits)-1;<BR>
for(i=0;i<s->dim;i++){<BR>
v[i]=entry&mask;<BR>
entry>>=s->q_bits;<BR> }<BR>
break;<BR> }<BR> case 2:{<BR> /* packed vector of
column offsets */<BR> int
mask=(1<<s->q_pack)-1;<BR>
for(i=0;i<s->dim;i++){<BR>
if(s->q_bits<=8)<BR> v[i]=((unsigned char
*)(s->q_val))[entry&mask];<BR>
else<BR> v[i]=((ogg_uint16_t
*)(s->q_val))[entry&mask];<BR>
entry>>=s->q_pack;<BR> }<BR>
break;<BR> }<BR> case 3:{<BR> /* offset into array
*/<BR> int *ptr=(int
*)s->q_val+entry*s->q_pack;<BR><BR>
if(s->q_bits<=8){<BR>
for(i=0;i<s->dim;i++)<BR> v[i]=((unsigned char
*)ptr)[i];<BR> }else{<BR>
for(i=0;i<s->dim;i++)<BR> v[i]=((ogg_uint16_t
*)ptr)[i];<BR> }<BR> break;<BR>
}<BR> default:<BR> return -1;<BR> }<BR><BR>All the
test vectors pass through case1. Case 2 and 3 are not reached. I<BR>need
clarification regarding this.<BR><BR>Thanks and
Regards<BR>Dhanapal<BR><BR></DIV></BODY></HTML>