rv: Add ff_ prefix to nonstatic symbols
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d1b357d78b
commit
6c28d65754
@ -465,7 +465,7 @@ static int h263_decode_block(MpegEncContext * s, DCTELEM * block,
|
|||||||
component = (n <= 3 ? 0 : n - 4 + 1);
|
component = (n <= 3 ? 0 : n - 4 + 1);
|
||||||
level = s->last_dc[component];
|
level = s->last_dc[component];
|
||||||
if (s->rv10_first_dc_coded[component]) {
|
if (s->rv10_first_dc_coded[component]) {
|
||||||
diff = rv_decode_dc(s, n);
|
diff = ff_rv_decode_dc(s, n);
|
||||||
if (diff == 0xffff)
|
if (diff == 0xffff)
|
||||||
return -1;
|
return -1;
|
||||||
level += diff;
|
level += diff;
|
||||||
|
@ -813,9 +813,9 @@ int ff_h261_get_picture_format(int width, int height);
|
|||||||
|
|
||||||
|
|
||||||
/* rv10.c */
|
/* rv10.c */
|
||||||
void rv10_encode_picture_header(MpegEncContext *s, int picture_number);
|
void ff_rv10_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||||
int rv_decode_dc(MpegEncContext *s, int n);
|
int ff_rv_decode_dc(MpegEncContext *s, int n);
|
||||||
void rv20_encode_picture_header(MpegEncContext *s, int picture_number);
|
void ff_rv20_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||||
|
|
||||||
|
|
||||||
/* msmpeg4.c */
|
/* msmpeg4.c */
|
||||||
|
@ -3194,9 +3194,9 @@ static int encode_picture(MpegEncContext *s, int picture_number)
|
|||||||
else if (CONFIG_MPEG4_ENCODER && s->h263_pred)
|
else if (CONFIG_MPEG4_ENCODER && s->h263_pred)
|
||||||
ff_mpeg4_encode_picture_header(s, picture_number);
|
ff_mpeg4_encode_picture_header(s, picture_number);
|
||||||
else if (CONFIG_RV10_ENCODER && s->codec_id == CODEC_ID_RV10)
|
else if (CONFIG_RV10_ENCODER && s->codec_id == CODEC_ID_RV10)
|
||||||
rv10_encode_picture_header(s, picture_number);
|
ff_rv10_encode_picture_header(s, picture_number);
|
||||||
else if (CONFIG_RV20_ENCODER && s->codec_id == CODEC_ID_RV20)
|
else if (CONFIG_RV20_ENCODER && s->codec_id == CODEC_ID_RV20)
|
||||||
rv20_encode_picture_header(s, picture_number);
|
ff_rv20_encode_picture_header(s, picture_number);
|
||||||
else if (CONFIG_FLV_ENCODER && s->codec_id == CODEC_ID_FLV1)
|
else if (CONFIG_FLV_ENCODER && s->codec_id == CODEC_ID_FLV1)
|
||||||
ff_flv_encode_picture_header(s, picture_number);
|
ff_flv_encode_picture_header(s, picture_number);
|
||||||
else if (CONFIG_H263_ENCODER)
|
else if (CONFIG_H263_ENCODER)
|
||||||
|
@ -186,7 +186,7 @@ static const uint8_t rv_chrom_bits[256] =
|
|||||||
|
|
||||||
static VLC rv_dc_lum, rv_dc_chrom;
|
static VLC rv_dc_lum, rv_dc_chrom;
|
||||||
|
|
||||||
int rv_decode_dc(MpegEncContext *s, int n)
|
int ff_rv_decode_dc(MpegEncContext *s, int n)
|
||||||
{
|
{
|
||||||
int code;
|
int code;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "mpegvideo.h"
|
#include "mpegvideo.h"
|
||||||
#include "put_bits.h"
|
#include "put_bits.h"
|
||||||
|
|
||||||
void rv10_encode_picture_header(MpegEncContext *s, int picture_number)
|
void ff_rv10_encode_picture_header(MpegEncContext *s, int picture_number)
|
||||||
{
|
{
|
||||||
int full_frame= 0;
|
int full_frame= 0;
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "h263.h"
|
#include "h263.h"
|
||||||
#include "put_bits.h"
|
#include "put_bits.h"
|
||||||
|
|
||||||
void rv20_encode_picture_header(MpegEncContext *s, int picture_number){
|
void ff_rv20_encode_picture_header(MpegEncContext *s, int picture_number){
|
||||||
put_bits(&s->pb, 2, s->pict_type); //I 0 vs. 1 ?
|
put_bits(&s->pb, 2, s->pict_type); //I 0 vs. 1 ?
|
||||||
put_bits(&s->pb, 1, 0); /* unknown bit */
|
put_bits(&s->pb, 1, 0); /* unknown bit */
|
||||||
put_bits(&s->pb, 5, s->qscale);
|
put_bits(&s->pb, 5, s->qscale);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user