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
54b2ce74
Commit
54b2ce74
authored
Jan 29, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg: Drop unused parameters from ff_draw_horiz_band()
parent
b7d0d10a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
mpegvideo.c
libavcodec/mpegvideo.c
+4
-6
mpegvideo.h
libavcodec/mpegvideo.h
+3
-4
svq3.c
libavcodec/svq3.c
+3
-2
No files found.
libavcodec/mpegvideo.c
View file @
54b2ce74
...
...
@@ -2313,10 +2313,9 @@ void ff_MPV_decode_mb(MpegEncContext *s, int16_t block[12][64]){
/**
* @param h is the normal height, this will be reduced automatically if needed for the last row
*/
void
ff_draw_horiz_band
(
AVCodecContext
*
avctx
,
DSPContext
*
dsp
,
Picture
*
cur
,
void
ff_draw_horiz_band
(
AVCodecContext
*
avctx
,
Picture
*
cur
,
Picture
*
last
,
int
y
,
int
h
,
int
picture_structure
,
int
first_field
,
int
low_delay
,
int
v_edge_pos
,
int
h_edge_pos
)
int
first_field
,
int
low_delay
)
{
const
AVPixFmtDescriptor
*
desc
=
av_pix_fmt_desc_get
(
avctx
->
pix_fmt
);
int
vshift
=
desc
->
log2_chroma_h
;
...
...
@@ -2365,10 +2364,9 @@ void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur,
void
ff_mpeg_draw_horiz_band
(
MpegEncContext
*
s
,
int
y
,
int
h
)
{
ff_draw_horiz_band
(
s
->
avctx
,
&
s
->
dsp
,
&
s
->
current_picture
,
ff_draw_horiz_band
(
s
->
avctx
,
&
s
->
current_picture
,
&
s
->
last_picture
,
y
,
h
,
s
->
picture_structure
,
s
->
first_field
,
s
->
low_delay
,
s
->
v_edge_pos
,
s
->
h_edge_pos
);
s
->
first_field
,
s
->
low_delay
);
}
void
ff_init_block_index
(
MpegEncContext
*
s
){
//FIXME maybe rename
...
...
libavcodec/mpegvideo.h
View file @
54b2ce74
...
...
@@ -784,10 +784,9 @@ void ff_MPV_common_init_x86(MpegEncContext *s);
void
ff_MPV_common_init_arm
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_ppc
(
MpegEncContext
*
s
);
void
ff_clean_intra_table_entries
(
MpegEncContext
*
s
);
void
ff_draw_horiz_band
(
AVCodecContext
*
avctx
,
DSPContext
*
dsp
,
Picture
*
cur
,
Picture
*
last
,
int
y
,
int
h
,
int
picture_structure
,
int
first_field
,
int
low_delay
,
int
v_edge_pos
,
int
h_edge_pos
);
void
ff_draw_horiz_band
(
AVCodecContext
*
avctx
,
Picture
*
cur
,
Picture
*
last
,
int
y
,
int
h
,
int
picture_structure
,
int
first_field
,
int
low_delay
);
void
ff_mpeg_draw_horiz_band
(
MpegEncContext
*
s
,
int
y
,
int
h
);
void
ff_mpeg_flush
(
AVCodecContext
*
avctx
);
void
ff_print_debug_info
(
MpegEncContext
*
s
,
Picture
*
p
);
...
...
libavcodec/svq3.c
View file @
54b2ce74
...
...
@@ -1267,9 +1267,10 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
(
h
->
pict_type
==
AV_PICTURE_TYPE_P
&&
mb_type
<
8
)
?
(
mb_type
-
1
)
:
-
1
;
}
ff_draw_horiz_band
(
avctx
,
NULL
,
s
->
cur_pic
,
s
->
last_pic
->
f
.
data
[
0
]
?
s
->
last_pic
:
NULL
,
ff_draw_horiz_band
(
avctx
,
s
->
cur_pic
,
s
->
last_pic
->
f
.
data
[
0
]
?
s
->
last_pic
:
NULL
,
16
*
h
->
mb_y
,
16
,
h
->
picture_structure
,
0
,
h
->
low_delay
,
h
->
mb_height
*
16
,
h
->
mb_width
*
16
);
h
->
low_delay
);
}
if
(
h
->
pict_type
==
AV_PICTURE_TYPE_B
||
h
->
low_delay
)
...
...
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