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
0a8ca22f
Commit
0a8ca22f
authored
Dec 18, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 16208 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2fd1f0e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
h264.c
libavcodec/h264.c
+11
-11
No files found.
libavcodec/h264.c
View file @
0a8ca22f
...
...
@@ -2517,25 +2517,25 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){
if
(
IS_INTRA16x16
(
mb_type
)){
if
(
transform_bypass
){
if
(
h
->
sps
.
profile_idc
==
244
&&
(
h
->
intra16x16_pred_mode
==
VERT_PRED8x8
||
h
->
intra16x16_pred_mode
==
HOR_PRED8x8
)){
h
->
hpc
.
pred16x16_add
[
h
->
intra16x16_pred_mode
](
dest_y
,
block_offset
,
h
->
mb
,
linesize
);
}
else
{
for
(
i
=
0
;
i
<
16
;
i
++
){
if
(
h
->
non_zero_count_cache
[
scan8
[
i
]
]
||
h
->
mb
[
i
*
16
])
idct_add
(
dest_y
+
block_offset
[
i
],
h
->
mb
+
i
*
16
,
linesize
);
}
h
->
hpc
.
pred16x16_add
[
h
->
intra16x16_pred_mode
](
dest_y
,
block_offset
,
h
->
mb
,
linesize
);
}
else
{
for
(
i
=
0
;
i
<
16
;
i
++
){
if
(
h
->
non_zero_count_cache
[
scan8
[
i
]
]
||
h
->
mb
[
i
*
16
])
idct_add
(
dest_y
+
block_offset
[
i
],
h
->
mb
+
i
*
16
,
linesize
);
}
}
}
else
{
s
->
dsp
.
h264_idct_add16intra
(
dest_y
,
block_offset
,
h
->
mb
,
linesize
,
h
->
non_zero_count_cache
);
}
}
else
if
(
h
->
cbp
&
15
){
if
(
transform_bypass
){
const
int
di
=
IS_8x8DCT
(
mb_type
)
?
4
:
1
;
for
(
i
=
0
;
i
<
16
;
i
+=
di
){
int
nnz
=
h
->
non_zero_count_cache
[
scan8
[
i
]
];
if
(
nnz
){
const
int
di
=
IS_8x8DCT
(
mb_type
)
?
4
:
1
;
for
(
i
=
0
;
i
<
16
;
i
+=
di
){
int
nnz
=
h
->
non_zero_count_cache
[
scan8
[
i
]
];
if
(
nnz
){
idct_add
(
dest_y
+
block_offset
[
i
],
h
->
mb
+
i
*
16
,
linesize
);
}
}
}
}
else
{
if
(
IS_8x8DCT
(
mb_type
)){
s
->
dsp
.
h264_idct8_add4
(
dest_y
,
block_offset
,
h
->
mb
,
linesize
,
h
->
non_zero_count_cache
);
...
...
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