Displaying 2 results from an estimated 2 matches for "whichfram".
Did you mean:
whichframe
2006 Oct 09
0
ReconRefFrames() - Possible Bug?
...e we are predicting */
for(k=pcount=wpc=0; k<4; k++) {
int pflag;
pflag=1<<k;
if((bc_mask[WhichCase]&pflag) &&
pbi->display_fragments[fn[k]] &&
(Mode2Frame[pbi->FragCodingMethod[fn[k]]] ==
WhichFrame)){
v[pcount]=pbi->QFragData[fn[k]][0];
wpc|=pflag;
pcount++;
}
}
In the If statement the fn[k] value can be negative and the code tries
to access elements before 0.
Is this supposed to happen?, as the non of t...
2003 Jun 14
6
dead DCSearchPoints code
Dan,
In reviewing the code, derf came across the DCSearchPoints array in
QuadCodeDisplayFragments(), encode.c:696. It looks like it specifies a
search order for nearby coded fragments for prediction if there isn't a
nearest neighbor. However, the upper search bound is defined as *0*, so
the search loop (line 917) is never executed and it always falls back
to the last coded fragment.