Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-06-20 00:28:26 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-20 00:39:38 +0400
commit05d95c53a70f983c124da112553502f7bcfec640 (patch)
treef42b27b1961a0da23f3ae987999a682590d6bb35 /libavcodec/alpha/dsputil_alpha.c
parent650ef180787d9185c98950017e54285d1026eb0b (diff)
alpha/blockdsp: move clear_blocks out of dsputil
The blockdsp split did not cover Alpha optimizations Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/alpha/dsputil_alpha.c')
-rw-r--r--libavcodec/alpha/dsputil_alpha.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/alpha/dsputil_alpha.c b/libavcodec/alpha/dsputil_alpha.c
index 03ba0a8881..a075c3a99a 100644
--- a/libavcodec/alpha/dsputil_alpha.c
+++ b/libavcodec/alpha/dsputil_alpha.c
@@ -101,32 +101,10 @@ void add_pixels_clamped_mvi(const int16_t *block, uint8_t *pixels,
}
#endif
-static void clear_blocks_axp(int16_t *blocks) {
- uint64_t *p = (uint64_t *) blocks;
- int n = sizeof(int16_t) * 6 * 64;
-
- do {
- p[0] = 0;
- p[1] = 0;
- p[2] = 0;
- p[3] = 0;
- p[4] = 0;
- p[5] = 0;
- p[6] = 0;
- p[7] = 0;
- p += 8;
- n -= 8 * 8;
- } while (n);
-}
-
av_cold void ff_dsputil_init_alpha(DSPContext *c, AVCodecContext *avctx)
{
const int high_bit_depth = avctx->bits_per_raw_sample > 8;
- if (!high_bit_depth) {
- c->clear_blocks = clear_blocks_axp;
- }
-
/* amask clears all bits that correspond to present features. */
if (amask(AMASK_MVI) == 0) {
c->put_pixels_clamped = put_pixels_clamped_mvi_asm;