mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[util]: Add frame checksum calculation function
Add checksum calculation function and file access function for debug. NOTE: checksum for YUV image and for luma only so far. Change-Id: I54509bebd64f5e5143e14824733d9c25af9db204 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -37,6 +37,9 @@ extern "C" {
|
||||
|
||||
void _show_options(int count, OptionInfo *options);
|
||||
void dump_mpp_frame_to_file(MppFrame frame, FILE *fp);
|
||||
void calc_frm_checksum(MppFrame frame, RK_U8 *sum);
|
||||
void write_checksum(FILE *fp, RK_U8 *sum);
|
||||
void read_checksum(FILE *fp, RK_U8 *sum);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user