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
c7ea4f19
Commit
c7ea4f19
authored
Oct 28, 2005
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no mixing of code and declarations
Originally committed as revision 4670 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5b0e811a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
h264.c
libavcodec/h264.c
+8
-8
No files found.
libavcodec/h264.c
View file @
c7ea4f19
...
...
@@ -6582,14 +6582,6 @@ static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8
const
int
mbm_type
=
s
->
current_picture
.
mb_type
[
mbm_xy
];
int
start
=
h
->
slice_table
[
mbm_xy
]
==
255
?
1
:
0
;
if
(
first_vertical_edge_done
)
{
start
=
1
;
first_vertical_edge_done
=
0
;
}
if
(
h
->
deblocking_filter
==
2
&&
h
->
slice_table
[
mbm_xy
]
!=
h
->
slice_table
[
mb_xy
])
start
=
1
;
const
int
edges
=
((
mb_type
&
mbm_type
)
&
(
MB_TYPE_16x16
|
MB_TYPE_SKIP
))
==
(
MB_TYPE_16x16
|
MB_TYPE_SKIP
)
?
1
:
4
;
// how often to recheck mv-based bS when iterating between edges
...
...
@@ -6598,6 +6590,14 @@ static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8
// how often to recheck mv-based bS when iterating along each edge
const
int
mask_par0
=
mb_type
&
(
MB_TYPE_16x16
|
(
MB_TYPE_8x16
>>
dir
));
if
(
first_vertical_edge_done
)
{
start
=
1
;
first_vertical_edge_done
=
0
;
}
if
(
h
->
deblocking_filter
==
2
&&
h
->
slice_table
[
mbm_xy
]
!=
h
->
slice_table
[
mb_xy
])
start
=
1
;
/* Calculate bS */
for
(
edge
=
start
;
edge
<
edges
;
edge
++
)
{
/* mbn_xy: neighbor macroblock */
...
...
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