Greetings:
There's 3 output formats in the dm365 AEW engine. Such as:
enum aew_output_format {
AEW_OUT_SUM_OF_SQUARES,
AEW_OUT_MIN_MAX,
AEW_OUT_SUM_ONLY
};
While using the AEW_OUT_SUM_ONLY mode, the aew buffer size is the count of the window multiply 16. After reading aew datas by using:
ret = read(fdAew, buff_stat, buff_size);
But what is the exact output details of the aew data or where can I find the related information? Nothing have been found after checking the aew driver document.
And I found some struct definations in Leopard codecs
struct aew_one_win {
unsigned short g1_accu,r_accu,b_accu,g2_accu;
unsigned short g1_sat_accu,r_sat_accu,b_sat_accu,g2_sat_accu;
// unsigned int sum_square[4]; //square mode
};
struct aew_eight_win{
struct aew_one_win win_accu[8];
unsigned short unsat_cnt[8];
};
The struct aew_one_win here means the output of one window? But the size of aew_eight_win is 8*16+8*2 which equals to 144 and is 16 more than 128.
So the output data size is 16 bytes per window doesn't fit the leopard code and I feel confused about these things.
Thanks for any help.
Best regards;