|
|
|
@ -39,22 +39,25 @@ void ff_add_pixels_clamped_arm(const int16_t *block, uint8_t *dest, |
|
|
|
|
int line_size); |
|
|
|
|
|
|
|
|
|
/* XXX: those functions should be suppressed ASAP when all IDCTs are
|
|
|
|
|
converted */ |
|
|
|
|
* converted */ |
|
|
|
|
static void j_rev_dct_arm_put(uint8_t *dest, int line_size, int16_t *block) |
|
|
|
|
{ |
|
|
|
|
ff_j_rev_dct_arm(block); |
|
|
|
|
ff_put_pixels_clamped(block, dest, line_size); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void j_rev_dct_arm_add(uint8_t *dest, int line_size, int16_t *block) |
|
|
|
|
{ |
|
|
|
|
ff_j_rev_dct_arm(block); |
|
|
|
|
ff_add_pixels_clamped(block, dest, line_size); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void simple_idct_arm_put(uint8_t *dest, int line_size, int16_t *block) |
|
|
|
|
{ |
|
|
|
|
ff_simple_idct_arm(block); |
|
|
|
|
ff_put_pixels_clamped(block, dest, line_size); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void simple_idct_arm_add(uint8_t *dest, int line_size, int16_t *block) |
|
|
|
|
{ |
|
|
|
|
ff_simple_idct_arm(block); |
|
|
|
@ -85,7 +88,10 @@ av_cold void ff_dsputil_init_arm(DSPContext *c, AVCodecContext *avctx) |
|
|
|
|
|
|
|
|
|
c->add_pixels_clamped = ff_add_pixels_clamped_arm; |
|
|
|
|
|
|
|
|
|
if (have_armv5te(cpu_flags)) ff_dsputil_init_armv5te(c, avctx); |
|
|
|
|
if (have_armv6(cpu_flags)) ff_dsputil_init_armv6(c, avctx); |
|
|
|
|
if (have_neon(cpu_flags)) ff_dsputil_init_neon(c, avctx); |
|
|
|
|
if (have_armv5te(cpu_flags)) |
|
|
|
|
ff_dsputil_init_armv5te(c, avctx); |
|
|
|
|
if (have_armv6(cpu_flags)) |
|
|
|
|
ff_dsputil_init_armv6(c, avctx); |
|
|
|
|
if (have_neon(cpu_flags)) |
|
|
|
|
ff_dsputil_init_neon(c, avctx); |
|
|
|
|
} |
|
|
|
|