Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bb22e8b1
Commit
bb22e8b1
authored
Aug 14, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (lrintf(a)+b vs. lrintf(a+b))
Originally committed as revision 3391 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9d53d58e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
resample2.c
libavcodec/resample2.c
+1
-1
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+2
-2
libav.regression.ref
tests/libav.regression.ref
+2
-2
rotozoom.regression.ref
tests/rotozoom.regression.ref
+2
-2
No files found.
libavcodec/resample2.c
View file @
bb22e8b1
...
...
@@ -104,7 +104,7 @@ void av_build_filter(int16_t *filter, double factor, int tap_count, int phase_co
/* normalize so that an uniform color remains the same */
for
(
i
=
0
;
i
<
tap_count
;
i
++
)
{
v
=
clip
(
lrintf
(
tab
[
i
]
*
scale
/
norm
)
+
e
,
-
32768
,
32767
);
v
=
clip
(
lrintf
(
tab
[
i
]
*
scale
/
norm
+
e
)
,
-
32768
,
32767
);
filter
[
ph
*
tap_count
+
i
]
=
v
;
e
+=
tab
[
i
]
*
scale
/
norm
-
v
;
}
...
...
tests/ffmpeg.regression.ref
View file @
bb22e8b1
...
...
@@ -117,9 +117,9 @@ stddev: 10.99 PSNR:27.30 bytes:7602176
1055278 ./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
97983 ./data/a-ac3.rm
ca36e726f055dbd45c217db6e240a15c
*./data/a-g726.wav
69526b38166395785eec8ccfb90a105e
*./data/a-g726.wav
24332 ./data/a-g726.wav
0d06dca7464958b5ee7798e6eab3c6cd
*./data/out.wav
20cb2fcffd33573a60c93d4dceacd1d1
*./data/out.wav
97190 ./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
266288 ./data/a-adpcm_ima.wav
...
...
tests/libav.regression.ref
View file @
bb22e8b1
...
...
@@ -25,9 +25,9 @@ b57e3c4e0f27cbd0bf7b7fafb142fe7f *./data/b-libav.ffm
fea20ced22451312dd463110e594eda6 *./data/b-libav.nut
332415 ./data/b-libav.nut
./data/b-libav.nut CRC=001a3415
4e4b45f8f39ee65658c40ccc3e94a2b0
*./data/b-libav.dv
f96648fa4a0968f5386d0c6ed9190d98
*./data/b-libav.dv
3600000 ./data/b-libav.dv
./data/b-libav.dv CRC=
03701687
./data/b-libav.dv CRC=
82e03e76
9a9da315747599f7718cc9a9a09c21ff *./data/b-libav.pbm
317075 ./data/b-libav.pbm
./data/b-libav.pbm CRC=a1057fd1
...
...
tests/rotozoom.regression.ref
View file @
bb22e8b1
...
...
@@ -117,9 +117,9 @@ stddev: 3.43 PSNR:37.39 bytes:7602176
1055278 ./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
97983 ./data/a-ac3.rm
ca36e726f055dbd45c217db6e240a15c
*./data/a-g726.wav
69526b38166395785eec8ccfb90a105e
*./data/a-g726.wav
24332 ./data/a-g726.wav
0d06dca7464958b5ee7798e6eab3c6cd
*./data/out.wav
20cb2fcffd33573a60c93d4dceacd1d1
*./data/out.wav
97190 ./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
266288 ./data/a-adpcm_ima.wav
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment