[x264-devel] commit: Fix regression in r1716 (Anton Mitrofanov )
git at videolan.org
git at videolan.org
Sun Sep 19 17:21:42 CEST 2010
x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Sun Sep 19 19:11:06 2010 +0400| [b02df7b3b3b8616078851aab65d77ca435e2ff93] | committer: Jason Garrett-Glaser
Fix regression in r1716
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b02df7b3b3b8616078851aab65d77ca435e2ff93
---
encoder/analyse.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/encoder/analyse.c b/encoder/analyse.c
index f8af4a3..c4162e9 100644
--- a/encoder/analyse.c
+++ b/encoder/analyse.c
@@ -378,6 +378,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
a->i_satd_pcm = !h->mb.i_psy_rd && a->i_mbrd ? ((uint64_t)X264_PCM_COST*a->i_lambda2 + 128) >> 8 : COST_MAX;
a->b_fast_intra = 0;
+ a->b_avoid_topright = 0;
h->mb.i_skip_intra =
h->mb.b_lossless ? 0 :
a->i_mbrd ? 2 :
@@ -507,10 +508,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
a->b_avoid_topright = h->mb.i_mb_x == h->fdec->i_pir_end_col;
}
else
- {
a->b_force_intra = 0;
- a->b_avoid_topright = 0;
- }
}
}
@@ -669,7 +667,7 @@ static void x264_mb_analyse_intra( x264_t *h, x264_mb_analysis_t *a, int i_satd_
{I_PRED_4x4_DDL, I_PRED_4x4_VL, -1, -1, -1}},
{{I_PRED_4x4_DDR, I_PRED_4x4_HD, I_PRED_4x4_HU, -1, -1},
{I_PRED_4x4_DDL, I_PRED_4x4_DDR, I_PRED_4x4_VR, I_PRED_4x4_VL, -1}}},
- {{{I_PRED_4x4_HU, -1, -1, -1, -1},
+ {{{I_PRED_4x4_HU, -1, -1, -1, -1},
{-1, -1, -1, -1, -1}},
{{I_PRED_4x4_DDR, I_PRED_4x4_HD, I_PRED_4x4_HU, -1, -1},
{I_PRED_4x4_DDR, I_PRED_4x4_VR, -1, -1, -1}}},
More information about the x264-devel
mailing list