They mess with storing editing and comparing the results
Unified · Split
| @@ -733,12 +733,15 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) · 732 unmodified lines | ||
| 733 | 733 | av_log(ctx, AV_LOG_INFO, " %08"PRIX32, plane_checksum[plane]); |
| 734 | 734 | av_log(ctx, AV_LOG_INFO, "] mean:["); |
| 735 | 735 | for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) |
| 736 | − av_log(ctx, AV_LOG_INFO, "%"PRId64" ", (sum[plane] + pixelcount[plane]/2) / pixelcount[plane]); | |
| 737 | − av_log(ctx, AV_LOG_INFO, "\b] stdev:["); | |
| 736 | + av_log(ctx, AV_LOG_INFO, "%s%"PRId64, | |
| 737 | + plane ? " ":"", | |
| 738 | + (sum[plane] + pixelcount[plane]/2) / pixelcount[plane]); | |
| 739 | + av_log(ctx, AV_LOG_INFO, "] stdev:["); | |
| 738 | 740 | for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) |
| 739 | − av_log(ctx, AV_LOG_INFO, "%3.1f ", | |
| 741 | + av_log(ctx, AV_LOG_INFO, "%s%3.1f", | |
| 742 | + plane ? " ":"", | |
| 740 | 743 | sqrt((sum2[plane] - sum[plane]*(double)sum[plane]/pixelcount[plane])/pixelcount[plane])); |
| 741 | − av_log(ctx, AV_LOG_INFO, "\b]"); | |
| 744 | + av_log(ctx, AV_LOG_INFO, "]"); | |
| 742 | 745 | } |
| 743 | 746 | av_log(ctx, AV_LOG_INFO, "\n"); |
| 744 | 747 | |