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
f79432a2
Commit
f79432a2
authored
Sep 05, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set a few variables correctly
Originally committed as revision 4560 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1cef211d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
svq1.c
libavcodec/svq1.c
+8
-1
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+3
-3
rotozoom.regression.ref
tests/rotozoom.regression.ref
+4
-4
No files found.
libavcodec/svq1.c
View file @
f79432a2
...
...
@@ -1118,8 +1118,15 @@ static int svq1_encode_plane(SVQ1Context *s, int plane, unsigned char *src_plane
s
->
m
.
b8_stride
=
2
*
s
->
m
.
mb_width
+
1
;
s
->
m
.
f_code
=
1
;
s
->
m
.
pict_type
=
s
->
picture
.
pict_type
;
s
->
m
.
qscale
=
s
->
picture
.
quality
/
FF_QP2LAMBDA
;
s
->
m
.
me_method
=
s
->
avctx
->
me_method
;
s
->
m
.
me
.
scene_change_score
=
0
;
s
->
m
.
flags
=
s
->
avctx
->
flags
;
// s->m.out_format = FMT_H263;
// s->m.unrestricted_mv= 1;
s
->
m
.
lambda
=
s
->
picture
.
quality
;
s
->
m
.
qscale
=
(
s
->
m
.
lambda
*
139
+
FF_LAMBDA_SCALE
*
64
)
>>
(
FF_LAMBDA_SHIFT
+
7
);
s
->
m
.
lambda2
=
(
s
->
m
.
lambda
*
s
->
m
.
lambda
+
FF_LAMBDA_SCALE
/
2
)
>>
FF_LAMBDA_SHIFT
;
if
(
!
s
->
motion_val8
[
plane
]){
s
->
motion_val8
[
plane
]
=
av_mallocz
((
s
->
m
.
b8_stride
*
block_height
*
2
+
2
)
*
2
*
sizeof
(
int16_t
));
...
...
tests/ffmpeg.regression.ref
View file @
f79432a2
...
...
@@ -131,9 +131,9 @@ e1da20e3f52f4d2aa18e9486986161fc *./data/a-dv.dv
7200000 ./data/a-dv.dv
55612d1a7246c82a32414638d601ac95 *./data/out.yuv
stddev: 9.15 PSNR:28.88 bytes:7602176
b5b6275f58f012de73644bbaa9080097
*./data/a-svq1.mov
13
8399
9 ./data/a-svq1.mov
ccc201054669e94717022bb4f2aea4ce
*./data/out.yuv
4e718e1813052765a966b37e42b26014
*./data/a-svq1.mov
13
7981
9 ./data/a-svq1.mov
bbff871d1475e1eee4231a08e075de2c
*./data/out.yuv
stddev: 10.99 PSNR:27.30 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
...
...
tests/rotozoom.regression.ref
View file @
f79432a2
...
...
@@ -131,10 +131,10 @@ a553532dcd54c1c421b52c3b6fece6ef *./data/a-dv.dv
7200000 ./data/a-dv.dv
1a1717b271a7536d641d5e1750d852d9 *./data/out.yuv
stddev: 3.16 PSNR:38.12 bytes:7602176
920c610ec324b772d882b0717e375943
*./data/a-svq1.mov
76
8683
./data/a-svq1.mov
89b1946242e6998e05fc9a6e09668edd
*./data/out.yuv
stddev: 3.4
3 PSNR:37.39
bytes:7602176
102bc57b87c9ab3b25e903a357783a65
*./data/a-svq1.mov
76
9519
./data/a-svq1.mov
44777d1ddbccd0ef7f8d08394465670c
*./data/out.yuv
stddev: 3.4
4 PSNR:37.38
bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
6956f2c5185c4edbae648c614992a14b *./data/out.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