mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 12:44:07 +00:00
Checkpoint on frame checksum
This commit is contained in:
parent
22df7cf98b
commit
14df6de0d0
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "checkpoint.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
|
|
||||||
|
@ -665,6 +666,7 @@ static void add_checksum(encoder_state * const encoder_state)
|
||||||
checksum_val = (checksum[i][0] << 24) + (checksum[i][1] << 16) +
|
checksum_val = (checksum[i][0] << 24) + (checksum[i][1] << 16) +
|
||||||
(checksum[i][2] << 8) + (checksum[i][3]);
|
(checksum[i][2] << 8) + (checksum[i][3]);
|
||||||
WRITE_U(stream, checksum_val, 32, "picture_checksum");
|
WRITE_U(stream, checksum_val, 32, "picture_checksum");
|
||||||
|
CHECKPOINT("checksum[%d] = %u", i, checksum_val);
|
||||||
}
|
}
|
||||||
|
|
||||||
bitstream_align(stream);
|
bitstream_align(stream);
|
||||||
|
|
Loading…
Reference in a new issue