They mess with storing editing and comparing the results
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -733,12 +733,15 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) · 732 unmodified lines | |||
| 733 | av_log(ctx, AV_LOG_INFO, " %08"PRIX32, plane_checksum[plane]); | 733 | av_log(ctx, AV_LOG_INFO, " %08"PRIX32, plane_checksum[plane]); |
| 734 | av_log(ctx, AV_LOG_INFO, "] mean:["); | 734 | av_log(ctx, AV_LOG_INFO, "] mean:["); |
| 735 | for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) | 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]); | 736 | av_log(ctx, AV_LOG_INFO, "%s%"PRId64, |
| 737 | av_log(ctx, AV_LOG_INFO, "\b] stdev:["); | 737 | plane ? " ":"", |
| 738 | (sum[plane] + pixelcount[plane]/2) / pixelcount[plane]); | ||
| 739 | av_log(ctx, AV_LOG_INFO, "] stdev:["); | ||
| 738 | for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) | 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 | sqrt((sum2[plane] - sum[plane]*(double)sum[plane]/pixelcount[plane])/pixelcount[plane])); | 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 | av_log(ctx, AV_LOG_INFO, "\n"); | 746 | av_log(ctx, AV_LOG_INFO, "\n"); |
| 744 | 747 | ||