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
51454751
Commit
51454751
authored
Aug 11, 2001
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed mpeg2 interlaced DCT
Originally committed as revision 74 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ce675882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mpegvideo.c
libavcodec/mpegvideo.c
+4
-4
No files found.
libavcodec/mpegvideo.c
View file @
51454751
...
@@ -790,8 +790,8 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
...
@@ -790,8 +790,8 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
add_dct
(
s
,
block
[
2
],
2
,
dest_y
+
dct_offset
,
dct_linesize
);
add_dct
(
s
,
block
[
2
],
2
,
dest_y
+
dct_offset
,
dct_linesize
);
add_dct
(
s
,
block
[
3
],
3
,
dest_y
+
dct_offset
+
8
,
dct_linesize
);
add_dct
(
s
,
block
[
3
],
3
,
dest_y
+
dct_offset
+
8
,
dct_linesize
);
add_dct
(
s
,
block
[
4
],
4
,
dest_cb
,
dct_
linesize
>>
1
);
add_dct
(
s
,
block
[
4
],
4
,
dest_cb
,
s
->
linesize
>>
1
);
add_dct
(
s
,
block
[
5
],
5
,
dest_cr
,
dct_
linesize
>>
1
);
add_dct
(
s
,
block
[
5
],
5
,
dest_cr
,
s
->
linesize
>>
1
);
}
else
{
}
else
{
/* dct only in intra block */
/* dct only in intra block */
put_dct
(
s
,
block
[
0
],
0
,
dest_y
,
dct_linesize
);
put_dct
(
s
,
block
[
0
],
0
,
dest_y
,
dct_linesize
);
...
@@ -799,8 +799,8 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
...
@@ -799,8 +799,8 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
put_dct
(
s
,
block
[
2
],
2
,
dest_y
+
dct_offset
,
dct_linesize
);
put_dct
(
s
,
block
[
2
],
2
,
dest_y
+
dct_offset
,
dct_linesize
);
put_dct
(
s
,
block
[
3
],
3
,
dest_y
+
dct_offset
+
8
,
dct_linesize
);
put_dct
(
s
,
block
[
3
],
3
,
dest_y
+
dct_offset
+
8
,
dct_linesize
);
put_dct
(
s
,
block
[
4
],
4
,
dest_cb
,
dct_
linesize
>>
1
);
put_dct
(
s
,
block
[
4
],
4
,
dest_cb
,
s
->
linesize
>>
1
);
put_dct
(
s
,
block
[
5
],
5
,
dest_cr
,
dct_
linesize
>>
1
);
put_dct
(
s
,
block
[
5
],
5
,
dest_cr
,
s
->
linesize
>>
1
);
}
}
}
}
the_end:
the_end:
...
...
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