projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d06dfaa
)
ratecontrol: Drop commented out cruft
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 20 Jul 2016 14:12:31 +0000
(16:12 +0200)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 20 Jul 2016 16:59:35 +0000
(18:59 +0200)
libavcodec/ratecontrol.c
patch
|
blob
|
history
diff --git
a/libavcodec/ratecontrol.c
b/libavcodec/ratecontrol.c
index
47a1490
..
c483628
100644
(file)
--- a/
libavcodec/ratecontrol.c
+++ b/
libavcodec/ratecontrol.c
@@
-103,12
+103,6
@@
av_cold int ff_rate_control_init(MpegEncContext *s)
"isB",
"avgQP",
"qComp",
"isB",
"avgQP",
"qComp",
-#if 0
- "lastIQP",
- "lastPQP",
- "lastBQP",
- "nextNonBQP",
-#endif
"avgIITex",
"avgPITex",
"avgPPTex",
"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,
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],
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],