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
948180e7
Commit
948180e7
authored
Jan 20, 2010
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set bS with 64bits at a time.
Originally committed as revision 21341 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
87df989e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
h264_loopfilter.c
libavcodec/h264_loopfilter.c
+5
-4
No files found.
libavcodec/h264_loopfilter.c
View file @
948180e7
...
...
@@ -459,7 +459,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
for
(
j
=
0
;
j
<
2
;
j
++
,
mbn_xy
+=
s
->
mb_stride
){
if
(
IS_INTRA
(
mb_type
|
s
->
current_picture
.
mb_type
[
mbn_xy
])
)
{
bS
[
0
]
=
bS
[
1
]
=
bS
[
2
]
=
bS
[
3
]
=
3
;
*
(
uint64_t
*
)
bS
=
0x0003000300030003ULL
;
}
else
{
const
uint8_t
*
mbn_nnz
=
h
->
non_zero_count
[
mbn_xy
];
for
(
i
=
0
;
i
<
4
;
i
++
)
{
...
...
@@ -509,11 +509,11 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
int
mv_done
;
if
(
edge
&
mask_edge
)
{
bS
[
0
]
=
bS
[
1
]
=
bS
[
2
]
=
bS
[
3
]
=
0
;
*
(
uint64_t
*
)
bS
=
0
;
mv_done
=
1
;
}
else
if
(
FRAME_MBAFF
&&
IS_INTERLACED
(
mb_type
^
mbn_type
))
{
bS
[
0
]
=
bS
[
1
]
=
bS
[
2
]
=
bS
[
3
]
=
1
;
*
(
uint64_t
*
)
bS
=
0x0001000100010001ULL
;
mv_done
=
1
;
}
else
if
(
mask_par0
&&
(
edge
||
(
mbn_type
&
(
MB_TYPE_16x16
|
(
MB_TYPE_8x16
>>
dir
))))
)
{
...
...
@@ -641,7 +641,8 @@ void ff_h264_filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint
first_vertical_edge_done
=
1
;
if
(
IS_INTRA
(
mb_type
)
)
bS
[
0
]
=
bS
[
1
]
=
bS
[
2
]
=
bS
[
3
]
=
bS
[
4
]
=
bS
[
5
]
=
bS
[
6
]
=
bS
[
7
]
=
4
;
*
(
uint64_t
*
)
&
bS
[
0
]
=
*
(
uint64_t
*
)
&
bS
[
4
]
=
0x0004000400040004ULL
;
else
{
for
(
i
=
0
;
i
<
8
;
i
++
)
{
int
mbn_xy
=
MB_FIELD
?
left_mb_xy
[
i
>>
2
]
:
left_mb_xy
[
i
&
1
];
...
...
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