extend the range of encoding time
The commit also corrects unit of encoding from microsecond to milisecond. Change-Id: I030108e90f89f33dfad2d092dc8991db81979715
This commit is contained in:
parent
1bbde82c28
commit
b91219e29e
@ -2038,8 +2038,8 @@ void vp8_remove_compressor(VP8_PTR *ptr) {
|
||||
double total_psnr2 = vp8_mse2psnr(samples, 255.0, cpi->total_sq_error2);
|
||||
double total_ssim = 100 * pow(cpi->summed_quality / cpi->summed_weights, 8.0);
|
||||
|
||||
fprintf(f, "Bitrate\tAVGPsnr\tGLBPsnr\tAVPsnrP\tGLPsnrP\tVPXSSIM\t Time(us)\n");
|
||||
fprintf(f, "%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%8.0f\n",
|
||||
fprintf(f, "Bitrate\tAVGPsnr\tGLBPsnr\tAVPsnrP\tGLPsnrP\tVPXSSIM\t Time(ms)\n");
|
||||
fprintf(f, "%7.2f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%8.0f\n",
|
||||
dr, cpi->total / cpi->count, total_psnr, cpi->totalp / cpi->count, total_psnr2, total_ssim,
|
||||
total_encode_time);
|
||||
// fprintf(f, "%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t%8.0f %10ld\n",
|
||||
@ -2048,8 +2048,8 @@ void vp8_remove_compressor(VP8_PTR *ptr) {
|
||||
}
|
||||
|
||||
if (cpi->b_calculate_ssimg) {
|
||||
fprintf(f, "BitRate\tSSIM_Y\tSSIM_U\tSSIM_V\tSSIM_A\t Time(us)\n");
|
||||
fprintf(f, "%7.3f\t%6.4f\t%6.4f\t%6.4f\t%6.4f\t%8.0f\n", dr,
|
||||
fprintf(f, "BitRate\tSSIM_Y\tSSIM_U\tSSIM_V\tSSIM_A\t Time(ms)\n");
|
||||
fprintf(f, "%7.2f\t%6.4f\t%6.4f\t%6.4f\t%6.4f\t%8.0f\n", dr,
|
||||
cpi->total_ssimg_y / cpi->count, cpi->total_ssimg_u / cpi->count,
|
||||
cpi->total_ssimg_v / cpi->count, cpi->total_ssimg_all / cpi->count, total_encode_time);
|
||||
// fprintf(f, "%7.3f\t%6.4f\t%6.4f\t%6.4f\t%6.4f\t%8.0f %10ld\n", dr,
|
||||
|
@ -629,10 +629,10 @@ typedef struct VP8_COMP {
|
||||
vp8_refining_search_fn_t refining_search_sad;
|
||||
vp8_diamond_search_fn_t diamond_search_sad;
|
||||
vp8_variance_fn_ptr_t fn_ptr[BLOCK_MAX_SEGMENTS];
|
||||
unsigned int time_receive_data;
|
||||
unsigned int time_compress_data;
|
||||
unsigned int time_pick_lpf;
|
||||
unsigned int time_encode_mb_row;
|
||||
uint64_t time_receive_data;
|
||||
uint64_t time_compress_data;
|
||||
uint64_t time_pick_lpf;
|
||||
uint64_t time_encode_mb_row;
|
||||
|
||||
int base_skip_false_prob[QINDEX_RANGE][3];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user