Home
last modified time | relevance | path

Searched refs:used_entries (Results 1 – 2 of 2) sorted by relevance

/external/tremor/Tremor/
Dcodebook.c219 if (s->used_entries > INT_MAX/2 || in _make_decode_table()
220 s->used_entries*2 > INT_MAX/((long) sizeof(*work)) - 1) return 1; in _make_decode_table()
225 if (s->used_entries > INT_MAX/(s->dec_leafw+1)) return 1; in _make_decode_table()
226 if (s->dec_nodeb && s->used_entries * (s->dec_leafw+1) > INT_MAX/s->dec_nodeb) return 1; in _make_decode_table()
227 s->dec_table=_ogg_malloc((s->used_entries*(s->dec_leafw+1)-2)* in _make_decode_table()
234 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
239 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
248 long top=s->used_entries*3-2; in _make_decode_table()
252 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
282 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
[all …]
Dcodebook.h26 long used_entries; /* populated codebook entries */ member