Commit d6c8dcb8 authored by Martin Storsjö's avatar Martin Storsjö

mpeg12: Add ff_ prefix to nonstatic symbols

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 6f13a371
...@@ -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);
......
...@@ -788,10 +788,10 @@ int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, ...@@ -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 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);
void ff_mpeg1_encode_slice_header(MpegEncContext *s); void ff_mpeg1_encode_slice_header(MpegEncContext *s);
void ff_mpeg1_clean_buffers(MpegEncContext *s); void ff_mpeg1_clean_buffers(MpegEncContext *s);
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment