Browse code

export dnxhd encoded picture quality

Originally committed as revision 13071 to svn://svn.ffmpeg.org/ffmpeg/trunk

Baptiste Coudurier authored on 2008/05/07 02:18:41
Showing 1 changed files
... ...
@@ -805,6 +805,8 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int b
805 805
         goto encode_coding_unit;
806 806
     }
807 807
 
808
+    ctx->frame.quality = ctx->qscale*FF_QP2LAMBDA;
809
+
808 810
     return ctx->cid_table->frame_size;
809 811
 }
810 812