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
ad31c904
Commit
ad31c904
authored
Jun 05, 2002
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ff_idct_put/add()
Originally committed as revision 670 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ee4b748b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
mpegvideo.c
libavcodec/mpegvideo.c
+2
-4
No files found.
libavcodec/mpegvideo.c
View file @
ad31c904
...
@@ -1103,8 +1103,7 @@ static inline void put_dct(MpegEncContext *s,
...
@@ -1103,8 +1103,7 @@ static inline void put_dct(MpegEncContext *s,
{
{
if
(
!
s
->
mpeg2
)
if
(
!
s
->
mpeg2
)
s
->
dct_unquantize
(
s
,
block
,
i
,
s
->
qscale
);
s
->
dct_unquantize
(
s
,
block
,
i
,
s
->
qscale
);
ff_idct
(
block
);
ff_idct_put
(
dest
,
line_size
,
block
);
put_pixels_clamped
(
block
,
dest
,
line_size
);
}
}
/* add block[] to dest[] */
/* add block[] to dest[] */
...
@@ -1119,8 +1118,7 @@ static inline void add_dct(MpegEncContext *s,
...
@@ -1119,8 +1118,7 @@ static inline void add_dct(MpegEncContext *s,
if
(
s
->
encoding
||
(
!
s
->
h263_msmpeg4
))
if
(
s
->
encoding
||
(
!
s
->
h263_msmpeg4
))
s
->
dct_unquantize
(
s
,
block
,
i
,
s
->
qscale
);
s
->
dct_unquantize
(
s
,
block
,
i
,
s
->
qscale
);
ff_idct
(
block
);
ff_idct_add
(
dest
,
line_size
,
block
);
add_pixels_clamped
(
block
,
dest
,
line_size
);
}
}
}
}
...
...
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