[FFmpeg-devel] [PATCH 08/10] vp9dsp: Add missing ff_ prefixes

Ganesh Ajjanagadde gajjanag at mit.edu
Sat Aug 22 04:00:25 CEST 2015


On Fri, Aug 21, 2015 at 9:21 PM, Timothy Gu <timothygu99 at gmail.com> wrote:
> ---
>  libavcodec/vp9dsp_template.c | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/libavcodec/vp9dsp_template.c b/libavcodec/vp9dsp_template.c
> index 8f10ccf..5a8578a 100644
> --- a/libavcodec/vp9dsp_template.c
> +++ b/libavcodec/vp9dsp_template.c
> @@ -1078,12 +1078,12 @@ def_hor_up(32)
>  #endif /* BIT_DEPTH != 12 */
>
>  #if BIT_DEPTH != 8
> -void vp9dsp_intrapred_init_10(VP9DSPContext *dsp);
> +void ff_vp9dsp_intrapred_init_10(VP9DSPContext *dsp);
>  #endif
>  #if BIT_DEPTH != 10
>  static
>  #endif
> -av_cold void FUNC(vp9dsp_intrapred_init)(VP9DSPContext *dsp)
> +av_cold void FUNC(ff_vp9dsp_intrapred_init)(VP9DSPContext *dsp)
>  {
>  #define init_intra_pred_bd_aware(tx, sz) \
>      dsp->intra_pred[tx][TM_VP8_PRED]          = tm_##sz##_c; \
> @@ -1092,7 +1092,7 @@ av_cold void FUNC(vp9dsp_intrapred_init)(VP9DSPContext *dsp)
>      dsp->intra_pred[tx][DC_129_PRED]          = dc_129_##sz##_c
>
>  #if BIT_DEPTH == 12
> -    vp9dsp_intrapred_init_10(dsp);
> +    ff_vp9dsp_intrapred_init_10(dsp);
>  #define init_intra_pred(tx, sz) \
>      init_intra_pred_bd_aware(tx, sz)
>  #else
> @@ -2317,15 +2317,15 @@ filter_fn_set(avg)
>  #undef bilinf_fn_2d
>
>  #if BIT_DEPTH != 8
> -void vp9dsp_mc_init_10(VP9DSPContext *dsp);
> +void ff_vp9dsp_mc_init_10(VP9DSPContext *dsp);
>  #endif
>  #if BIT_DEPTH != 10
>  static
>  #endif
> -av_cold void FUNC(vp9dsp_mc_init)(VP9DSPContext *dsp)
> +av_cold void FUNC(ff_vp9dsp_mc_init)(VP9DSPContext *dsp)
>  {
>  #if BIT_DEPTH == 12
> -    vp9dsp_mc_init_10(dsp);
> +    ff_vp9dsp_mc_init_10(dsp);
>  #else /* BIT_DEPTH == 12 */
>
>  #define init_fpel(idx1, idx2, sz, type) \
> @@ -2555,12 +2555,12 @@ scaled_filter_fn_set(avg)
>  #undef scaled_bilinf_fn
>
>  #if BIT_DEPTH != 8
> -void vp9dsp_scaled_mc_init_10(VP9DSPContext *dsp);
> +void ff_vp9dsp_scaled_mc_init_10(VP9DSPContext *dsp);
>  #endif
>  #if BIT_DEPTH != 10
>  static
>  #endif
> -av_cold void FUNC(vp9dsp_scaled_mc_init)(VP9DSPContext *dsp)
> +av_cold void FUNC(ff_vp9dsp_scaled_mc_init)(VP9DSPContext *dsp)
>  {
>  #define init_scaled_bd_aware(idx1, idx2, sz, type) \
>      dsp->smc[idx1][FILTER_8TAP_SMOOTH ][idx2] = type##_scaled_smooth_##sz##_c; \
> @@ -2568,7 +2568,7 @@ av_cold void FUNC(vp9dsp_scaled_mc_init)(VP9DSPContext *dsp)
>      dsp->smc[idx1][FILTER_8TAP_SHARP  ][idx2] = type##_scaled_sharp_##sz##_c
>
>  #if BIT_DEPTH == 12
> -    vp9dsp_scaled_mc_init_10(dsp);
> +    ff_vp9dsp_scaled_mc_init_10(dsp);
>  #define init_scaled(a,b,c,d) init_scaled_bd_aware(a,b,c,d)
>  #else
>  #define init_scaled(idx1, idx2, sz, type) \
> @@ -2593,9 +2593,9 @@ av_cold void FUNC(vp9dsp_scaled_mc_init)(VP9DSPContext *dsp)
>
>  av_cold void FUNC(ff_vp9dsp_init)(VP9DSPContext *dsp)
>  {
> -    FUNC(vp9dsp_intrapred_init)(dsp);
> +    FUNC(ff_vp9dsp_intrapred_init)(dsp);
>      vp9dsp_itxfm_init(dsp);
>      vp9dsp_loopfilter_init(dsp);
> -    FUNC(vp9dsp_mc_init)(dsp);
> -    FUNC(vp9dsp_scaled_mc_init)(dsp);
> +    FUNC(ff_vp9dsp_mc_init)(dsp);
> +    FUNC(ff_vp9dsp_scaled_mc_init)(dsp);
>  }
> --
> 1.9.1

LGTM

>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list