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
d6c8dcb8
Commit
d6c8dcb8
authored
Feb 15, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg12: Add ff_ prefix to nonstatic symbols
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
6f13a371
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mpeg12enc.c
libavcodec/mpeg12enc.c
+2
-2
mpegvideo.h
libavcodec/mpegvideo.h
+4
-4
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+2
-2
No files found.
libavcodec/mpeg12enc.c
View file @
d6c8dcb8
...
@@ -331,7 +331,7 @@ void ff_mpeg1_encode_slice_header(MpegEncContext *s){
...
@@ -331,7 +331,7 @@ void ff_mpeg1_encode_slice_header(MpegEncContext *s){
put_bits
(
&
s
->
pb
,
1
,
0
);
/* slice extra information */
put_bits
(
&
s
->
pb
,
1
,
0
);
/* slice extra information */
}
}
void
mpeg1_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
)
void
ff_
mpeg1_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
)
{
{
mpeg1_encode_sequence_header
(
s
);
mpeg1_encode_sequence_header
(
s
);
...
@@ -656,7 +656,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
...
@@ -656,7 +656,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
}
}
}
}
void
mpeg1_encode_mb
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
int
motion_x
,
int
motion_y
)
void
ff_
mpeg1_encode_mb
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
int
motion_x
,
int
motion_y
)
{
{
if
(
s
->
chroma_format
==
CHROMA_420
)
mpeg1_encode_mb_internal
(
s
,
block
,
motion_x
,
motion_y
,
6
);
if
(
s
->
chroma_format
==
CHROMA_420
)
mpeg1_encode_mb_internal
(
s
,
block
,
motion_x
,
motion_y
,
6
);
else
mpeg1_encode_mb_internal
(
s
,
block
,
motion_x
,
motion_y
,
8
);
else
mpeg1_encode_mb_internal
(
s
,
block
,
motion_x
,
motion_y
,
8
);
...
...
libavcodec/mpegvideo.h
View file @
d6c8dcb8
...
@@ -788,8 +788,8 @@ int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
...
@@ -788,8 +788,8 @@ int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
extern
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
];
extern
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
];
extern
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
];
extern
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
];
void
mpeg1_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
void
ff_
mpeg1_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
void
mpeg1_encode_mb
(
MpegEncContext
*
s
,
void
ff_
mpeg1_encode_mb
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
DCTELEM
block
[
6
][
64
],
int
motion_x
,
int
motion_y
);
int
motion_x
,
int
motion_y
);
void
ff_mpeg1_encode_init
(
MpegEncContext
*
s
);
void
ff_mpeg1_encode_init
(
MpegEncContext
*
s
);
...
...
libavcodec/mpegvideo_enc.c
View file @
d6c8dcb8
...
@@ -1994,7 +1994,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s,
...
@@ -1994,7 +1994,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s,
case
CODEC_ID_MPEG1VIDEO
:
case
CODEC_ID_MPEG1VIDEO
:
case
CODEC_ID_MPEG2VIDEO
:
case
CODEC_ID_MPEG2VIDEO
:
if
(
CONFIG_MPEG1VIDEO_ENCODER
||
CONFIG_MPEG2VIDEO_ENCODER
)
if
(
CONFIG_MPEG1VIDEO_ENCODER
||
CONFIG_MPEG2VIDEO_ENCODER
)
mpeg1_encode_mb
(
s
,
s
->
block
,
motion_x
,
motion_y
);
ff_
mpeg1_encode_mb
(
s
,
s
->
block
,
motion_x
,
motion_y
);
break
;
break
;
case
CODEC_ID_MPEG4
:
case
CODEC_ID_MPEG4
:
if
(
CONFIG_MPEG4_ENCODER
)
if
(
CONFIG_MPEG4_ENCODER
)
...
@@ -3204,7 +3204,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
...
@@ -3204,7 +3204,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
break
;
break
;
case
FMT_MPEG1
:
case
FMT_MPEG1
:
if
(
CONFIG_MPEG1VIDEO_ENCODER
||
CONFIG_MPEG2VIDEO_ENCODER
)
if
(
CONFIG_MPEG1VIDEO_ENCODER
||
CONFIG_MPEG2VIDEO_ENCODER
)
mpeg1_encode_picture_header
(
s
,
picture_number
);
ff_
mpeg1_encode_picture_header
(
s
,
picture_number
);
break
;
break
;
case
FMT_H264
:
case
FMT_H264
:
break
;
break
;
...
...
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