aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-07-20 16:12:31 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-07-20 18:59:35 +0200
commitb4bb9593834460bbbe0e70823f2c503cb01ad052 (patch)
tree7dcb3d92af672718079d4477cf43db44b1c51590 /libavcodec/ratecontrol.c
parentd06dfaa5cbdd20acfd2364b16c0f4ae4ddb30a65 (diff)
downloadffmpeg-b4bb9593834460bbbe0e70823f2c503cb01ad052.tar.gz
ratecontrol: Drop commented out cruft
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index 47a1490d02..c483628607 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -103,12 +103,6 @@ av_cold int ff_rate_control_init(MpegEncContext *s)
"isB",
"avgQP",
"qComp",
-#if 0
- "lastIQP",
- "lastPQP",
- "lastBQP",
- "nextNonBQP",
-#endif
"avgIITex",
"avgPITex",
"avgPPTex",
@@ -380,12 +374,6 @@ static double get_qscale(MpegEncContext *s, RateControlEntry *rce,
rce->pict_type == AV_PICTURE_TYPE_B,
rcc->qscale_sum[pict_type] / (double)rcc->frame_count[pict_type],
a->qcompress,
-#if 0
- rcc->last_qscale_for[AV_PICTURE_TYPE_I],
- rcc->last_qscale_for[AV_PICTURE_TYPE_P],
- rcc->last_qscale_for[AV_PICTURE_TYPE_B],
- rcc->next_non_b_qscale,
-#endif
rcc->i_cplx_sum[AV_PICTURE_TYPE_I] / (double)rcc->frame_count[AV_PICTURE_TYPE_I],
rcc->i_cplx_sum[AV_PICTURE_TYPE_P] / (double)rcc->frame_count[AV_PICTURE_TYPE_P],
rcc->p_cplx_sum[AV_PICTURE_TYPE_P] / (double)rcc->frame_count[AV_PICTURE_TYPE_P],