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
78998bf2
Commit
78998bf2
authored
Feb 13, 2010
by
Alexander Strange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: Remove unused variables.
Originally committed as revision 21815 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
677dab59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
h264.c
libavcodec/h264.c
+1
-3
h264.h
libavcodec/h264.h
+0
-1
h264_loopfilter.c
libavcodec/h264_loopfilter.c
+2
-3
No files found.
libavcodec/h264.c
View file @
78998bf2
...
...
@@ -979,8 +979,6 @@ static inline void backup_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src
static
inline
void
xchg_mb_border
(
H264Context
*
h
,
uint8_t
*
src_y
,
uint8_t
*
src_cb
,
uint8_t
*
src_cr
,
int
linesize
,
int
uvlinesize
,
int
xchg
,
int
simple
){
MpegEncContext
*
const
s
=
&
h
->
s
;
int
temp8
,
i
;
uint64_t
temp64
;
int
deblock_left
;
int
deblock_top
;
int
mb_xy
;
...
...
@@ -2165,7 +2163,7 @@ static void loop_filter(H264Context *h){
if
(
h
->
deblocking_filter
)
{
for
(
mb_x
=
0
;
mb_x
<
s
->
mb_width
;
mb_x
++
){
for
(
mb_y
=
end_mb_y
-
FRAME_MBAFF
;
mb_y
<=
end_mb_y
;
mb_y
++
){
int
list
,
mb_xy
,
mb_type
;
int
mb_xy
,
mb_type
;
mb_xy
=
h
->
mb_xy
=
mb_x
+
mb_y
*
s
->
mb_stride
;
h
->
slice_num
=
h
->
slice_table
[
mb_xy
];
mb_type
=
s
->
current_picture
.
mb_type
[
mb_xy
];
...
...
libavcodec/h264.h
View file @
78998bf2
...
...
@@ -1136,7 +1136,6 @@ static int fill_filter_caches(H264Context *h, int mb_type){
const
int
mb_xy
=
h
->
mb_xy
;
int
top_xy
,
left_xy
[
2
];
int
top_type
,
left_type
[
2
];
int
i
;
top_xy
=
mb_xy
-
(
s
->
mb_stride
<<
MB_FIELD
);
...
...
libavcodec/h264_loopfilter.c
View file @
78998bf2
...
...
@@ -514,7 +514,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
)
*
(
uint64_t
*
)
bS
=
0x0004000400040004ULL
;
}
else
{
int
i
,
l
;
int
i
;
int
mv_done
;
if
(
dir
&&
FRAME_MBAFF
&&
IS_INTERLACED
(
mb_type
^
mbm_type
))
{
...
...
@@ -590,7 +590,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
if
(
IS_INTRA
(
mb_type
))
{
*
(
uint64_t
*
)
bS
=
0x0003000300030003ULL
;
}
else
{
int
i
,
l
;
int
i
;
int
mv_done
;
if
(
edge
&
mask_edge
)
{
...
...
@@ -657,7 +657,6 @@ void ff_h264_filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint
const
int
mvy_limit
=
IS_INTERLACED
(
mb_type
)
?
2
:
4
;
int
first_vertical_edge_done
=
0
;
av_unused
int
dir
;
int
list
;
if
(
FRAME_MBAFF
// and current and left pair do not have the same interlaced type
...
...
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