mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Add intra modes to CU visualization.
This commit is contained in:
parent
d74d4e4ef1
commit
61cef4eef4
|
@ -98,10 +98,12 @@ unsigned render_cu_file(encoder_control *encoder, picture *pic,
|
||||||
fprintf(fp,
|
fprintf(fp,
|
||||||
"\n<table class='d%u' bgcolor='#%02x%02x%02x'><tr><td colspan='2'>"
|
"\n<table class='d%u' bgcolor='#%02x%02x%02x'><tr><td colspan='2'>"
|
||||||
"%u (%u, %u), %c, "
|
"%u (%u, %u), %c, "
|
||||||
"c=%u, mv=(%d, %d)</td></tr>\n",
|
"c=%u, mv=(%d, %d), intra_cost=%d, intra_mode=%d"
|
||||||
|
"</td></tr>\n",
|
||||||
depth, rgb[0], rgb[1], rgb[2],
|
depth, rgb[0], rgb[1], rgb[2],
|
||||||
depth, xCtb, yCtb, (cu->type == CU_INTRA ? 'I' : 'P'),
|
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)
|
if(depth != MAX_INTER_SEARCH_DEPTH)
|
||||||
|
|
Loading…
Reference in a new issue