amvecm: Modified hist and pq_load_table struct define [2/2]

PD#173911: to compatible 64 bit with 32 bit

Change-Id: Ie3da5b63a05a306a99a7844eea7c2918cc15d5a9
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
Bencheng Jing
2018-09-19 15:07:32 +08:00
committed by Jianxin Pan
parent 0829bc253f
commit 9ee63d76e6
2 changed files with 7 additions and 1 deletions

View File

@@ -164,8 +164,14 @@ enum pq_table_name_e {
struct ve_pq_load_s {
enum pq_table_name_e param_id;
unsigned int length;
union {
void *param_ptr;
long long param_ptr_len;
};
union {
void *reserved;
long long reserved_len;
};
};
struct ve_pq_table_s {

View File

@@ -61,7 +61,7 @@ struct ve_dnlp_s {
unsigned int white; /* 0 ~ 16, weak ~ strong */
};
struct ve_hist_s {
ulong sum;
unsigned int sum;
int width;
int height;
int ave;