20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: mbprediction.c,v 1.18 2005-11-22 10:23:01 suxen_drol Exp $ |
* $Id: mbprediction.c,v 1.19 2010-08-10 15:00:21 Isibaar Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
226 |
|
|
227 |
dct_codes[0] += predictors[0]; /* dc prediction */ |
dct_codes[0] += predictors[0]; /* dc prediction */ |
228 |
pCurrent[0] = dct_codes[0]*iDcScaler; |
pCurrent[0] = dct_codes[0]*iDcScaler; |
229 |
if (!bsversion || bsversion > BS_VERSION_BUGGY_DC_CLIPPING) { |
if (bsversion > BS_VERSION_BUGGY_DC_CLIPPING) { |
230 |
pCurrent[0] = CLIP(pCurrent[0], -2048, 2047); |
pCurrent[0] = CLIP(pCurrent[0], -2048, 2047); |
231 |
} |
} |
232 |
|
|