comparison mdec.c @ 7150:23f0a0b1b4f5 libavcodec

Export qscale so that postprocessing works.
author astrange
date Fri, 27 Jun 2008 18:50:06 +0000
parents 720236bfb40b
children 4b1c14a839a7
comparison
equal deleted inserted replaced
7149:720236bfb40b 7150:23f0a0b1b4f5
201 201
202 idct_put(a, a->mb_x, a->mb_y); 202 idct_put(a, a->mb_x, a->mb_y);
203 } 203 }
204 } 204 }
205 205
206 // p->quality= (32 + a->inv_qscale/2)/a->inv_qscale; 206 p->quality= a->qscale * FF_QP2LAMBDA;
207 // memset(p->qscale_table, p->quality, p->qstride*a->mb_height); 207 memset(p->qscale_table, a->qscale, p->qstride*a->mb_height);
208 208
209 *picture= *(AVFrame*)&a->picture; 209 *picture= *(AVFrame*)&a->picture;
210 *data_size = sizeof(AVPicture); 210 *data_size = sizeof(AVPicture);
211 211
212 emms_c(); 212 emms_c();