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
03e93d35
Commit
03e93d35
authored
Oct 22, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvid qpel bug workaround
Originally committed as revision 1063 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3b4b29dc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
avcodec.h
libavcodec/avcodec.h
+1
-0
h263dec.c
libavcodec/h263dec.c
+4
-0
mpegvideo.c
libavcodec/mpegvideo.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
03e93d35
...
...
@@ -426,6 +426,7 @@ typedef struct AVCodecContext {
#define FF_BUG_UMP4 8
#define FF_BUG_NO_PADDING 16
#define FF_BUG_AC_VLC 32
#define FF_BUG_QPEL_CHROMA 64
//#define FF_BUG_FAKE_SCALABILITY 16 //autodetection should work 100%
/**
...
...
libavcodec/h263dec.c
View file @
03e93d35
...
...
@@ -372,6 +372,10 @@ uint64_t time= rdtsc();
s
->
workaround_bugs
|=
FF_BUG_UMP4
;
s
->
workaround_bugs
|=
FF_BUG_AC_VLC
;
}
if
(
s
->
divx_version
){
s
->
workaround_bugs
|=
FF_BUG_QPEL_CHROMA
;
}
//printf("padding_bug_score: %d\n", s->padding_bug_score);
#if 0
if(s->divx_version==500)
...
...
libavcodec/mpegvideo.c
View file @
03e93d35
...
...
@@ -1384,7 +1384,7 @@ static inline void qpel_motion(MpegEncContext *s,
if
(
field_based
){
mx
=
motion_x
/
2
;
my
=
motion_y
>>
1
;
}
else
if
(
s
->
divx_version
){
}
else
if
(
s
->
workaround_bugs
&
FF_BUG_QPEL_CHROMA
){
mx
=
(
motion_x
>>
1
)
|
(
motion_x
&
1
);
my
=
(
motion_y
>>
1
)
|
(
motion_y
&
1
);
}
else
{
...
...
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