aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ps2
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-11-11 10:04:45 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-11-11 10:04:45 +0000
commitaf19f78f2fe2b969104d4419efd25fdee90a2814 (patch)
tree2eb293152ccf514d37b27b043f564315a08513f4 /libavcodec/ps2
parent85bd552606ec60eeda76728734f772a8fde27622 (diff)
downloadffmpeg-af19f78f2fe2b969104d4419efd25fdee90a2814.tar.gz
* using DSPContext - so each codec could use its local (sub)set of CPU extension
* these are untested - users/developers please check Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ps2')
-rw-r--r--libavcodec/ps2/dsputil_mmi.c20
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;
}