From c4f5de5230b584189c57db18f68d73f19d653d00 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Wed, 8 Jun 2005 00:38:03 +0000 Subject: [PATCH] typo in cabac tables git-svn-id: svn://svn.videolan.org/x264/trunk@254 df754926-b1dd-0310-bc7b-ec298dee348c --- common/cabac.c | 6 +++--- encoder/encoder.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cabac.c b/common/cabac.c index 7583c741..bd443593 100644 --- a/common/cabac.c +++ b/common/cabac.c @@ -498,15 +498,15 @@ static const int x264_cabac_context_init_PB[3][460][2] = { 11, 83 }, /* 399 -> 435 */ - { 24, 32 }, { 21, 49 }, { 21, 54 }, + { 25, 32 }, { 21, 49 }, { 21, 54 }, { -5, 85 }, { -6, 81 }, { -10, 77 }, { -7, 81 }, - { -17, 80 }, { -18, 73 }, { -4, 74 }, { -10, 8 }, + { -17, 80 }, { -18, 73 }, { -4, 74 }, { -10, 83 }, { -9, 71 }, { -9, 67 }, { -1, 61 }, { -8, 66 }, { -14, 66 }, { 0, 59 }, { 2, 59 }, { 17, -10 }, { 32, -13 }, { 42, -9 }, { 49, -5 }, { 53, 0 }, { 64, 3 }, { 68, 10 }, { 66, 27 }, { 47, 57 }, { -5, 71 }, { 0, 24 }, { -1, 36 }, { -2, 42 }, - { -2, 52 }, { -9, 57 }, { -6, 53 }, { -4, 65 }, + { -2, 52 }, { -9, 57 }, { -6, 63 }, { -4, 65 }, { -4, 67 }, { -7, 82 }, /* 436 -> 459 */ diff --git a/encoder/encoder.c b/encoder/encoder.c index f1e0373f..365cef29 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -1363,7 +1363,7 @@ do_encode: int b; x264_log( h, X264_LOG_DEBUG, "scene cut at %d Icost:%.0f Pcost:%.0f ratio:%.3f bias=%.3f lastIDR:%d (I:%d P:%d S:%d)\n", - h->fenc->i_frame, i_frame_size, + h->fenc->i_frame, (double)i_intra_cost, (double)i_inter_cost, (double)i_inter_cost / i_intra_cost, f_bias, i_gop_size, -- 2.40.0