Mercurial > libavcodec.hg
comparison vp3.c @ 7959:16b5311fd5c7 libavcodec
Missed hunks of last commit
author | conrad |
---|---|
date | Tue, 30 Sep 2008 19:22:20 +0000 |
parents | 83b22813f23a |
children | 050d235f40b6 |
comparison
equal
deleted
inserted
replaced
7958:83b22813f23a | 7959:16b5311fd5c7 |
---|---|
1258 else if (FFABS(predicted_dc - vl) > 128) | 1258 else if (FFABS(predicted_dc - vl) > 128) |
1259 predicted_dc = vl; | 1259 predicted_dc = vl; |
1260 else if (FFABS(predicted_dc - vul) > 128) | 1260 else if (FFABS(predicted_dc - vul) > 128) |
1261 predicted_dc = vul; | 1261 predicted_dc = vul; |
1262 } | 1262 } |
1263 | |
1264 DC_COEFF(i)); | |
1265 } | 1263 } |
1266 | 1264 |
1267 /* at long last, apply the predictor */ | 1265 /* at long last, apply the predictor */ |
1268 if(s->coeffs[i].index){ | 1266 if(s->coeffs[i].index){ |
1269 *s->next_coeff= s->coeffs[i]; | 1267 *s->next_coeff= s->coeffs[i]; |
1296 * The slice number ranges from 0..(macroblock_height - 1). | 1294 * The slice number ranges from 0..(macroblock_height - 1). |
1297 */ | 1295 */ |
1298 static void render_slice(Vp3DecodeContext *s, int slice) | 1296 static void render_slice(Vp3DecodeContext *s, int slice) |
1299 { | 1297 { |
1300 int x; | 1298 int x; |
1301 int m, n; | |
1302 int16_t *dequantizer; | 1299 int16_t *dequantizer; |
1303 DECLARE_ALIGNED_16(DCTELEM, block[64]); | 1300 DECLARE_ALIGNED_16(DCTELEM, block[64]); |
1304 int motion_x = 0xdeadbeef, motion_y = 0xdeadbeef; | 1301 int motion_x = 0xdeadbeef, motion_y = 0xdeadbeef; |
1305 int motion_halfpel_index; | 1302 int motion_halfpel_index; |
1306 uint8_t *motion_source; | 1303 uint8_t *motion_source; |