From 61cef4eef4373c92aac0aecf455f10fd4e26300a Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Wed, 16 Oct 2013 15:13:11 +0300 Subject: [PATCH] Add intra modes to CU visualization. --- src/debug.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/debug.c b/src/debug.c index 9f06c12b..887501e2 100644 --- a/src/debug.c +++ b/src/debug.c @@ -98,10 +98,12 @@ unsigned render_cu_file(encoder_control *encoder, picture *pic, fprintf(fp, "\n\n", + "c=%u, mv=(%d, %d), intra_cost=%d, intra_mode=%d" + "\n", depth, rgb[0], rgb[1], rgb[2], depth, xCtb, yCtb, (cu->type == CU_INTRA ? 'I' : 'P'), - cu->inter.cost, cu->inter.mv[0], cu->inter.mv[1]); + cu->inter.cost, cu->inter.mv[0], cu->inter.mv[1], + cu->intra.cost, cu->intra.mode); if(depth != MAX_INTER_SEARCH_DEPTH)
" "%u (%u, %u), %c, " - "c=%u, mv=(%d, %d)