Fixed debugmodes.c to incorporate the mi size change in CB4X4.

Change-Id: Id4d44866636a1a0715e03a7a4c9884c51ca7f59d
This commit is contained in:
Yunqing Wang 2017-05-12 09:52:59 -07:00
Родитель f059daa32e
Коммит d097ec148a
1 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -12,6 +12,7 @@
#include <stdio.h>
#include "av1/common/blockd.h"
#include "av1/common/enums.h"
#include "av1/common/onyxc_int.h"
static void log_frame_info(AV1_COMMON *cm, const char *str, FILE *f) {
@ -35,11 +36,12 @@ static void print_mi_data(AV1_COMMON *cm, FILE *file, const char *descriptor,
for (mi_row = 0; mi_row < rows; mi_row++) {
fprintf(file, "%c ", prefix);
for (mi_col = 0; mi_col < cols; mi_col++) {
fprintf(file, "%2d ", *((int *)((char *)(&mi[0]->mbmi) + member_offset)));
fprintf(file, "%2d ",
*((char *)((char *)(&mi[0]->mbmi) + member_offset)));
mi++;
}
fprintf(file, "\n");
mi += 8;
mi += MAX_MIB_SIZE;
}
fprintf(file, "\n");
}
@ -67,7 +69,7 @@ void av1_print_modes_and_motion_vectors(AV1_COMMON *cm, const char *file) {
mi++;
}
fprintf(mvs, "\n");
mi += 8;
mi += MAX_MIB_SIZE;
}
fprintf(mvs, "\n");
@ -82,7 +84,7 @@ void av1_print_modes_and_motion_vectors(AV1_COMMON *cm, const char *file) {
mi++;
}
fprintf(mvs, "\n");
mi += 8;
mi += MAX_MIB_SIZE;
}
fprintf(mvs, "\n");