diff options
Diffstat (limited to 'libavcodec/ps2')
-rw-r--r-- | libavcodec/ps2/dsputil_mmi.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/ps2/dsputil_mmi.c b/libavcodec/ps2/dsputil_mmi.c index a6a1b99fa3..c9be68de3e 100644 --- a/libavcodec/ps2/dsputil_mmi.c +++ b/libavcodec/ps2/dsputil_mmi.c @@ -103,16 +103,16 @@ static void put_pixels16_mmi(uint8_t *block, const uint8_t *pixels, int line_siz } -void dsputil_init_mmi(void) +void dsputil_init_mmi(DSPContext* c, unsigned mask) { - clear_blocks = clear_blocks_mmi; - - put_pixels_tab[1][0] = put_pixels8_mmi; - put_no_rnd_pixels_tab[1][0] = put_pixels8_mmi; - - put_pixels_tab[0][0] = put_pixels16_mmi; - put_no_rnd_pixels_tab[0][0] = put_pixels16_mmi; - - get_pixels = get_pixels_mmi; + c->clear_blocks = clear_blocks_mmi; + + c->put_pixels_tab[1][0] = put_pixels8_mmi; + c->put_no_rnd_pixels_tab[1][0] = put_pixels8_mmi; + + c->put_pixels_tab[0][0] = put_pixels16_mmi; + c->put_no_rnd_pixels_tab[0][0] = put_pixels16_mmi; + + c->get_pixels = get_pixels_mmi; } |