Mercurial > libavcodec.hg
comparison dnxhdenc.c @ 6752:b2daf71037be libavcodec
export dnxhd encoded picture quality
author | bcoudurier |
---|---|
date | Tue, 06 May 2008 17:18:41 +0000 |
parents | a4104482ceef |
children | 13191e6b439c |
comparison
equal
deleted
inserted
replaced
6751:1fc844ec6430 | 6752:b2daf71037be |
---|---|
803 buf += ctx->cid_table->coding_unit_size; | 803 buf += ctx->cid_table->coding_unit_size; |
804 buf_size -= ctx->cid_table->coding_unit_size; | 804 buf_size -= ctx->cid_table->coding_unit_size; |
805 goto encode_coding_unit; | 805 goto encode_coding_unit; |
806 } | 806 } |
807 | 807 |
808 ctx->frame.quality = ctx->qscale*FF_QP2LAMBDA; | |
809 | |
808 return ctx->cid_table->frame_size; | 810 return ctx->cid_table->frame_size; |
809 } | 811 } |
810 | 812 |
811 static int dnxhd_encode_end(AVCodecContext *avctx) | 813 static int dnxhd_encode_end(AVCodecContext *avctx) |
812 { | 814 { |