Add encoder/decoder mismatch information to internal stats file.
Change-Id: Ibb6ba26e8718d3af27553ca59443a8c6aec7749d
This commit is contained in:
parent
f39b0f192f
commit
3121497041
18
vpxenc.c
18
vpxenc.c
@ -2103,12 +2103,26 @@ int main(int argc, const char **argv_) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (test_decode) {
|
if (test_decode) {
|
||||||
|
#if CONFIG_INTERNAL_STATS
|
||||||
|
FILE *f = fopen("opsnr.stt", "a");
|
||||||
|
#endif
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
if (enc_dec_match)
|
if (enc_dec_match) {
|
||||||
fprintf(stderr, "No mismatch detected in recon buffers\n");
|
fprintf(stderr, "No mismatch detected in recon buffers\n");
|
||||||
else
|
#if CONFIG_INTERNAL_STATS
|
||||||
|
fprintf(f, "No mismatch detected in recon buffers\n");
|
||||||
|
#endif
|
||||||
|
} else {
|
||||||
fprintf(stderr, "First mismatch occurred in frame %d\n",
|
fprintf(stderr, "First mismatch occurred in frame %d\n",
|
||||||
first_bad_frame);
|
first_bad_frame);
|
||||||
|
#if CONFIG_INTERNAL_STATS
|
||||||
|
fprintf(f, "First mismatch occurred in frame %d\n",
|
||||||
|
first_bad_frame);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
#if CONFIG_INTERNAL_STATS
|
||||||
|
fclose(f);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (show_q_hist_buckets)
|
if (show_q_hist_buckets)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user