提交 1c3a2382 编写于 作者: M Michael Niedermayer

correct quantizer bias

Originally committed as revision 438 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 0f9400b4
......@@ -245,6 +245,7 @@ int mjpeg_init(MpegEncContext *s)
s->min_qcoeff=-1023;
s->max_qcoeff= 1023;
s->intra_quant_bias= 1<<(QUANT_BIAS_SHIFT-1); //(a + x/2)/x
/* build all the huffman tables */
build_huffman_codes(m->huff_size_dc_luminance,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册