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
c0e6b8ca
Commit
c0e6b8ca
authored
Jun 08, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: Mark one function as static
parent
d1dd0d40
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
mpegvideo.c
libavcodec/mpegvideo.c
+3
-3
mpegvideo.h
libavcodec/mpegvideo.h
+0
-2
No files found.
libavcodec/mpegvideo.c
View file @
c0e6b8ca
...
...
@@ -1448,7 +1448,7 @@ void ff_print_debug_info(MpegEncContext *s, Picture *p)
/**
* find the lowest MB row referenced in the MVs
*/
int
ff_mpv_
lowest_referenced_row
(
MpegEncContext
*
s
,
int
dir
)
static
int
lowest_referenced_row
(
MpegEncContext
*
s
,
int
dir
)
{
int
my_max
=
INT_MIN
,
my_min
=
INT_MAX
,
qpel_shift
=
!
s
->
quarter_sample
;
int
my
,
off
,
i
,
mvs
;
...
...
@@ -1646,12 +1646,12 @@ FF_ENABLE_DEPRECATION_WARNINGS
if
(
HAVE_THREADS
&&
s
->
avctx
->
active_thread_type
&
FF_THREAD_FRAME
)
{
if
(
s
->
mv_dir
&
MV_DIR_FORWARD
)
{
ff_thread_await_progress
(
&
s
->
last_picture_ptr
->
tf
,
ff_mpv_
lowest_referenced_row
(
s
,
0
),
lowest_referenced_row
(
s
,
0
),
0
);
}
if
(
s
->
mv_dir
&
MV_DIR_BACKWARD
)
{
ff_thread_await_progress
(
&
s
->
next_picture_ptr
->
tf
,
ff_mpv_
lowest_referenced_row
(
s
,
1
),
lowest_referenced_row
(
s
,
1
),
0
);
}
}
...
...
libavcodec/mpegvideo.h
View file @
c0e6b8ca
...
...
@@ -605,8 +605,6 @@ void ff_mpv_report_decode_progress(MpegEncContext *s);
int
ff_mpv_frame_start
(
MpegEncContext
*
s
,
AVCodecContext
*
avctx
);
void
ff_mpv_frame_end
(
MpegEncContext
*
s
);
int
ff_mpv_lowest_referenced_row
(
MpegEncContext
*
s
,
int
dir
);
int
ff_mpv_encode_init
(
AVCodecContext
*
avctx
);
void
ff_mpv_encode_init_x86
(
MpegEncContext
*
s
);
...
...
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