projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee16a0c
)
lavfi: math typo in interlace filter
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 17 Jun 2013 09:54:26 +0000
(11:54 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 17 Jun 2013 10:25:43 +0000
(12:25 +0200)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavfilter/vf_interlace.c
patch
|
blob
|
blame
|
history
diff --git
a/libavfilter/vf_interlace.c
b/libavfilter/vf_interlace.c
index
d3c3d4d
..
ff54896
100755
(executable)
--- a/
libavfilter/vf_interlace.c
+++ b/
libavfilter/vf_interlace.c
@@
-150,7
+150,7
@@
static void copy_picture_field(AVFrame *src_frame, AVFrame *dst_frame,
srcp_below = srcp; // there is no line below
for (i = 0; i < linesize; i++) {
// this calculation is an integer representation of
- // '0.5 * current + 0.25 * above + 0.25
+
below'
+ // '0.5 * current + 0.25 * above + 0.25
*
below'
// '1 +' is for rounding.
dstp[i] = (1 + srcp[i] + srcp[i] + srcp_above[i] + srcp_below[i]) >> 2;
}