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
59b9c75d
Commit
59b9c75d
authored
May 05, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MPEG: support 4:4:4 intra lowres
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
55bfb98f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mpegvideo.c
libavcodec/mpegvideo.c
+5
-5
No files found.
libavcodec/mpegvideo.c
View file @
59b9c75d
...
@@ -2215,17 +2215,17 @@ void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64],
...
@@ -2215,17 +2215,17 @@ void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64],
}
else
{
}
else
{
dct_linesize
=
uvlinesize
<<
s
->
interlaced_dct
;
dct_linesize
=
uvlinesize
<<
s
->
interlaced_dct
;
dct_offset
=
(
s
->
interlaced_dct
)
?
uvlinesize
:
uvlinesize
*
8
;
dct_offset
=
(
s
->
interlaced_dct
)
?
uvlinesize
:
uvlinesize
*
block_size
;
s
->
dsp
.
idct_put
(
dest_cb
,
dct_linesize
,
block
[
4
]);
s
->
dsp
.
idct_put
(
dest_cb
,
dct_linesize
,
block
[
4
]);
s
->
dsp
.
idct_put
(
dest_cr
,
dct_linesize
,
block
[
5
]);
s
->
dsp
.
idct_put
(
dest_cr
,
dct_linesize
,
block
[
5
]);
s
->
dsp
.
idct_put
(
dest_cb
+
dct_offset
,
dct_linesize
,
block
[
6
]);
s
->
dsp
.
idct_put
(
dest_cb
+
dct_offset
,
dct_linesize
,
block
[
6
]);
s
->
dsp
.
idct_put
(
dest_cr
+
dct_offset
,
dct_linesize
,
block
[
7
]);
s
->
dsp
.
idct_put
(
dest_cr
+
dct_offset
,
dct_linesize
,
block
[
7
]);
if
(
!
s
->
chroma_x_shift
){
//Chroma444
if
(
!
s
->
chroma_x_shift
){
//Chroma444
s
->
dsp
.
idct_put
(
dest_cb
+
8
,
dct_linesize
,
block
[
8
]);
s
->
dsp
.
idct_put
(
dest_cb
+
block_size
,
dct_linesize
,
block
[
8
]);
s
->
dsp
.
idct_put
(
dest_cr
+
8
,
dct_linesize
,
block
[
9
]);
s
->
dsp
.
idct_put
(
dest_cr
+
block_size
,
dct_linesize
,
block
[
9
]);
s
->
dsp
.
idct_put
(
dest_cb
+
8
+
dct_offset
,
dct_linesize
,
block
[
10
]);
s
->
dsp
.
idct_put
(
dest_cb
+
block_size
+
dct_offset
,
dct_linesize
,
block
[
10
]);
s
->
dsp
.
idct_put
(
dest_cr
+
8
+
dct_offset
,
dct_linesize
,
block
[
11
]);
s
->
dsp
.
idct_put
(
dest_cr
+
block_size
+
dct_offset
,
dct_linesize
,
block
[
11
]);
}
}
}
}
}
//gray
}
//gray
...
...
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