mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
mpeg12: Add ff_ prefix to nonstatic symbols
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
6f13a371ec
commit
d6c8dcb8ac
@ -331,7 +331,7 @@ void ff_mpeg1_encode_slice_header(MpegEncContext *s){
|
||||
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);
|
||||
|
||||
@ -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);
|
||||
else mpeg1_encode_mb_internal(s, block, motion_x, motion_y, 8);
|
||||
|
@ -788,10 +788,10 @@ 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 * const ff_mpeg2_dc_scale_table[4];
|
||||
|
||||
void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||
void mpeg1_encode_mb(MpegEncContext *s,
|
||||
DCTELEM block[6][64],
|
||||
int motion_x, int motion_y);
|
||||
void ff_mpeg1_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||
void ff_mpeg1_encode_mb(MpegEncContext *s,
|
||||
DCTELEM block[6][64],
|
||||
int motion_x, int motion_y);
|
||||
void ff_mpeg1_encode_init(MpegEncContext *s);
|
||||
void ff_mpeg1_encode_slice_header(MpegEncContext *s);
|
||||
void ff_mpeg1_clean_buffers(MpegEncContext *s);
|
||||
|
@ -1994,7 +1994,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s,
|
||||
case CODEC_ID_MPEG1VIDEO:
|
||||
case CODEC_ID_MPEG2VIDEO:
|
||||
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;
|
||||
case CODEC_ID_MPEG4:
|
||||
if (CONFIG_MPEG4_ENCODER)
|
||||
@ -3204,7 +3204,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
|
||||
break;
|
||||
case FMT_MPEG1:
|
||||
if (CONFIG_MPEG1VIDEO_ENCODER || CONFIG_MPEG2VIDEO_ENCODER)
|
||||
mpeg1_encode_picture_header(s, picture_number);
|
||||
ff_mpeg1_encode_picture_header(s, picture_number);
|
||||
break;
|
||||
case FMT_H264:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user