diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-06 17:18:41 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-06 17:18:41 +0000 |
commit | 6650c4c3a8c87e1242af18af07d9a0a2b5561d78 (patch) | |
tree | 156cefe8686b32c7cd06557bb999f080ea8d8c04 /libavcodec/dnxhdenc.c | |
parent | a5c0969a33230b1c6c02f288ddc63e22acd1d2f9 (diff) | |
download | ffmpeg-6650c4c3a8c87e1242af18af07d9a0a2b5561d78.tar.gz |
export dnxhd encoded picture quality
Originally committed as revision 13071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index e49fc86023..75cd1c7133 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -805,6 +805,8 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int b goto encode_coding_unit; } + ctx->frame.quality = ctx->qscale*FF_QP2LAMBDA; + return ctx->cid_table->frame_size; } |