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
5f3ed165
Commit
5f3ed165
authored
Dec 05, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing hq + adaptive quant
Originally committed as revision 1313 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d9cb5429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mpegvideo.c
libavcodec/mpegvideo.c
+2
-0
No files found.
libavcodec/mpegvideo.c
View file @
5f3ed165
...
@@ -2494,6 +2494,7 @@ static inline void copy_context_before_encode(MpegEncContext *d, MpegEncContext
...
@@ -2494,6 +2494,7 @@ static inline void copy_context_before_encode(MpegEncContext *d, MpegEncContext
d
->
last_bits
=
0
;
d
->
last_bits
=
0
;
d
->
mb_skiped
=
s
->
mb_skiped
;
d
->
mb_skiped
=
s
->
mb_skiped
;
d
->
qscale
=
s
->
qscale
;
}
}
static
inline
void
copy_context_after_encode
(
MpegEncContext
*
d
,
MpegEncContext
*
s
,
int
type
){
static
inline
void
copy_context_after_encode
(
MpegEncContext
*
d
,
MpegEncContext
*
s
,
int
type
){
...
@@ -2530,6 +2531,7 @@ static inline void copy_context_after_encode(MpegEncContext *d, MpegEncContext *
...
@@ -2530,6 +2531,7 @@ static inline void copy_context_after_encode(MpegEncContext *d, MpegEncContext *
for
(
i
=
0
;
i
<
6
;
i
++
)
for
(
i
=
0
;
i
<
6
;
i
++
)
d
->
block_last_index
[
i
]
=
s
->
block_last_index
[
i
];
d
->
block_last_index
[
i
]
=
s
->
block_last_index
[
i
];
d
->
interlaced_dct
=
s
->
interlaced_dct
;
d
->
interlaced_dct
=
s
->
interlaced_dct
;
d
->
qscale
=
s
->
qscale
;
}
}
static
inline
void
encode_mb_hq
(
MpegEncContext
*
s
,
MpegEncContext
*
backup
,
MpegEncContext
*
best
,
int
type
,
static
inline
void
encode_mb_hq
(
MpegEncContext
*
s
,
MpegEncContext
*
backup
,
MpegEncContext
*
best
,
int
type
,
...
...
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