mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/vf_showinfo: remove backspaces
They mess with storing editing and comparing the results Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 31581ae7ee6d007f2f2dcd16de5df991ba7aa1b6) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
51d8a691dd
commit
9f1c9e4879
@ -310,12 +310,15 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
|
|||||||
av_log(ctx, AV_LOG_INFO, " %08"PRIX32, plane_checksum[plane]);
|
av_log(ctx, AV_LOG_INFO, " %08"PRIX32, plane_checksum[plane]);
|
||||||
av_log(ctx, AV_LOG_INFO, "] mean:[");
|
av_log(ctx, AV_LOG_INFO, "] mean:[");
|
||||||
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++)
|
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++)
|
||||||
av_log(ctx, AV_LOG_INFO, "%"PRId64" ", (sum[plane] + pixelcount[plane]/2) / pixelcount[plane]);
|
av_log(ctx, AV_LOG_INFO, "%s%"PRId64,
|
||||||
av_log(ctx, AV_LOG_INFO, "\b] stdev:[");
|
plane ? " ":"",
|
||||||
|
(sum[plane] + pixelcount[plane]/2) / pixelcount[plane]);
|
||||||
|
av_log(ctx, AV_LOG_INFO, "] stdev:[");
|
||||||
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++)
|
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++)
|
||||||
av_log(ctx, AV_LOG_INFO, "%3.1f ",
|
av_log(ctx, AV_LOG_INFO, "%s%3.1f",
|
||||||
|
plane ? " ":"",
|
||||||
sqrt((sum2[plane] - sum[plane]*(double)sum[plane]/pixelcount[plane])/pixelcount[plane]));
|
sqrt((sum2[plane] - sum[plane]*(double)sum[plane]/pixelcount[plane])/pixelcount[plane]));
|
||||||
av_log(ctx, AV_LOG_INFO, "\b]");
|
av_log(ctx, AV_LOG_INFO, "]");
|
||||||
}
|
}
|
||||||
av_log(ctx, AV_LOG_INFO, "\n");
|
av_log(ctx, AV_LOG_INFO, "\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user