mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec: rename avpriv_color_frame to ff_color_frame
It is only used inside libavcodec. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
957f92729a
commit
a4680e7170
|
@ -617,7 +617,7 @@ static int h264_frame_start(H264Context *h)
|
||||||
&& !(h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU)
|
&& !(h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU)
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
avpriv_color_frame(pic->f, c);
|
ff_color_frame(pic->f, c);
|
||||||
|
|
||||||
h->cur_pic_ptr = pic;
|
h->cur_pic_ptr = pic;
|
||||||
ff_h264_unref_picture(h, &h->cur_pic);
|
ff_h264_unref_picture(h, &h->cur_pic);
|
||||||
|
|
|
@ -178,7 +178,7 @@ unsigned int avpriv_toupper4(unsigned int x);
|
||||||
int ff_init_buffer_info(AVCodecContext *s, AVFrame *frame);
|
int ff_init_buffer_info(AVCodecContext *s, AVFrame *frame);
|
||||||
|
|
||||||
|
|
||||||
void avpriv_color_frame(AVFrame *frame, const int color[4]);
|
void ff_color_frame(AVFrame *frame, const int color[4]);
|
||||||
|
|
||||||
extern volatile int ff_avcodec_locked;
|
extern volatile int ff_avcodec_locked;
|
||||||
int ff_lock_avcodec(AVCodecContext *log_ctx, const AVCodec *codec);
|
int ff_lock_avcodec(AVCodecContext *log_ctx, const AVCodec *codec);
|
||||||
|
|
|
@ -687,7 +687,7 @@ fail:
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
void avpriv_color_frame(AVFrame *frame, const int c[4])
|
void ff_color_frame(AVFrame *frame, const int c[4])
|
||||||
{
|
{
|
||||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
|
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
|
||||||
int p, y, x;
|
int p, y, x;
|
||||||
|
|
Loading…
Reference in New Issue