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
a2eae0ff
Commit
a2eae0ff
authored
Sep 25, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amvenc: another quant table fix
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2aaf32f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+6
-2
No files found.
libavcodec/mpegvideo_enc.c
View file @
a2eae0ff
...
...
@@ -2955,13 +2955,17 @@ static int encode_picture(MpegEncContext *s, int picture_number)
for
(
i
=
1
;
i
<
64
;
i
++
){
int
j
=
s
->
dsp
.
idct_permutation
[
ff_zigzag_direct
[
i
]];
s
->
intra_matrix
[
j
]
=
sp5x_quant_table
[
5
*
2
][
i
];
s
->
intra_matrix
[
j
]
=
sp5x_quant_table
[
5
*
2
+
0
][
i
];
s
->
chroma_intra_matrix
[
j
]
=
sp5x_quant_table
[
5
*
2
+
1
][
i
];
}
s
->
y_dc_scale_table
=
y
;
s
->
c_dc_scale_table
=
c
;
s
->
intra_matrix
[
0
]
=
14
;
s
->
intra_matrix
[
0
]
=
13
;
s
->
chroma_intra_matrix
[
0
]
=
14
;
ff_convert_matrix
(
&
s
->
dsp
,
s
->
q_intra_matrix
,
s
->
q_intra_matrix16
,
s
->
intra_matrix
,
s
->
intra_quant_bias
,
8
,
8
,
1
);
ff_convert_matrix
(
&
s
->
dsp
,
s
->
q_chroma_intra_matrix
,
s
->
q_chroma_intra_matrix16
,
s
->
chroma_intra_matrix
,
s
->
intra_quant_bias
,
8
,
8
,
1
);
s
->
qscale
=
8
;
}
...
...
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