mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
arm: Drop unnecessary ff_ name prefixes from static functions
This commit is contained in:
parent
088f38a4f9
commit
383fd4d478
@ -68,8 +68,8 @@ void ff_h264_idct8_add4_neon(uint8_t *dst, const int *block_offset,
|
|||||||
int16_t *block, int stride,
|
int16_t *block, int stride,
|
||||||
const uint8_t nnzc[6*8]);
|
const uint8_t nnzc[6*8]);
|
||||||
|
|
||||||
static av_cold void ff_h264dsp_init_neon(H264DSPContext *c, const int bit_depth,
|
static av_cold void h264dsp_init_neon(H264DSPContext *c, const int bit_depth,
|
||||||
const int chroma_format_idc)
|
const int chroma_format_idc)
|
||||||
{
|
{
|
||||||
if (bit_depth == 8) {
|
if (bit_depth == 8) {
|
||||||
c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
|
c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
|
||||||
@ -103,5 +103,5 @@ av_cold void ff_h264dsp_init_arm(H264DSPContext *c, const int bit_depth,
|
|||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
if (have_neon(cpu_flags))
|
if (have_neon(cpu_flags))
|
||||||
ff_h264dsp_init_neon(c, bit_depth, chroma_format_idc);
|
h264dsp_init_neon(c, bit_depth, chroma_format_idc);
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,9 @@ void ff_pred8x8_0lt_dc_neon(uint8_t *src, ptrdiff_t stride);
|
|||||||
void ff_pred8x8_l00_dc_neon(uint8_t *src, ptrdiff_t stride);
|
void ff_pred8x8_l00_dc_neon(uint8_t *src, ptrdiff_t stride);
|
||||||
void ff_pred8x8_0l0_dc_neon(uint8_t *src, ptrdiff_t stride);
|
void ff_pred8x8_0l0_dc_neon(uint8_t *src, ptrdiff_t stride);
|
||||||
|
|
||||||
static av_cold void ff_h264_pred_init_neon(H264PredContext *h, int codec_id,
|
static av_cold void h264_pred_init_neon(H264PredContext *h, int codec_id,
|
||||||
const int bit_depth,
|
const int bit_depth,
|
||||||
const int chroma_format_idc)
|
const int chroma_format_idc)
|
||||||
{
|
{
|
||||||
const int high_depth = bit_depth > 8;
|
const int high_depth = bit_depth > 8;
|
||||||
|
|
||||||
@ -85,5 +85,5 @@ av_cold void ff_h264_pred_init_arm(H264PredContext *h, int codec_id,
|
|||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
if (have_neon(cpu_flags))
|
if (have_neon(cpu_flags))
|
||||||
ff_h264_pred_init_neon(h, codec_id, bit_depth, chroma_format_idc);
|
h264_pred_init_neon(h, codec_id, bit_depth, chroma_format_idc);
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ void ff_rv40_v_weak_loop_filter_neon(uint8_t *src, ptrdiff_t stride, int filter_
|
|||||||
int filter_q1, int alpha, int beta,
|
int filter_q1, int alpha, int beta,
|
||||||
int lim_p0q0, int lim_q1, int lim_p1);
|
int lim_p0q0, int lim_q1, int lim_p1);
|
||||||
|
|
||||||
static av_cold void ff_rv40dsp_init_neon(RV34DSPContext *c)
|
static av_cold void rv40dsp_init_neon(RV34DSPContext *c)
|
||||||
{
|
{
|
||||||
c->put_pixels_tab[0][ 1] = ff_put_rv40_qpel16_mc10_neon;
|
c->put_pixels_tab[0][ 1] = ff_put_rv40_qpel16_mc10_neon;
|
||||||
c->put_pixels_tab[0][ 3] = ff_put_rv40_qpel16_mc30_neon;
|
c->put_pixels_tab[0][ 3] = ff_put_rv40_qpel16_mc30_neon;
|
||||||
@ -144,5 +144,5 @@ av_cold void ff_rv40dsp_init_arm(RV34DSPContext *c)
|
|||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
if (have_neon(cpu_flags))
|
if (have_neon(cpu_flags))
|
||||||
ff_rv40dsp_init_neon(c);
|
rv40dsp_init_neon(c);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user