Lines Matching refs:klass
56 if(info->klass)_ogg_free(info->klass); in floor1_free_info()
122 info->klass= in floor1_info_unpack()
123 (floor1class *)_ogg_malloc((maxclass+1)*sizeof(*info->klass)); in floor1_info_unpack()
125 info->klass[j].class_dim=(char)oggpack_read(opb,3)+1; /* 1 to 8 */ in floor1_info_unpack()
126 info->klass[j].class_subs=(char)oggpack_read(opb,2); /* 0,1,2,3 bits */ in floor1_info_unpack()
128 if(info->klass[j].class_subs) in floor1_info_unpack()
129 info->klass[j].class_book=(unsigned char)oggpack_read(opb,8); in floor1_info_unpack()
131 info->klass[j].class_book=0; in floor1_info_unpack()
132 if(info->klass[j].class_book>=ci->books)goto err_out; in floor1_info_unpack()
133 for(k=0;k<(1<<info->klass[j].class_subs);k++){ in floor1_info_unpack()
134 info->klass[j].class_subbook[k]=(unsigned char)(oggpack_read(opb,8)-1); in floor1_info_unpack()
135 if(info->klass[j].class_subbook[k]>=ci->books && in floor1_info_unpack()
136 info->klass[j].class_subbook[k]!=0xff)goto err_out; in floor1_info_unpack()
145 count+=info->klass[info->partitionclass[j]].class_dim; in floor1_info_unpack()
157 count+=info->klass[info->partitionclass[j]].class_dim; in floor1_info_unpack()
307 int cdim=info->klass[classv].class_dim; in floor1_inverse1()
308 int csubbits=info->klass[classv].class_subs; in floor1_inverse1()
314 cval=vorbis_book_decode(books+info->klass[classv].class_book,&vd->opb); in floor1_inverse1()
320 int book=info->klass[classv].class_subbook[cval&(csub-1)]; in floor1_inverse1()