| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 | 11 |
| 12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
| 13 #include "vpx_rtcd.h" | 13 #include "vp8_rtcd.h" |
| 14 #include "vpx_ports/x86.h" | 14 #include "vpx_ports/x86.h" |
| 15 #include "vp8/encoder/block.h" | 15 #include "vp8/encoder/block.h" |
| 16 | 16 |
| 17 void vp8_short_fdct4x4_mmx(short *input, short *output, int pitch); | 17 void vp8_short_fdct4x4_mmx(short *input, short *output, int pitch); |
| 18 void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch) | 18 void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch) |
| 19 { | 19 { |
| 20 vp8_short_fdct4x4_mmx(input, output, pitch); | 20 vp8_short_fdct4x4_mmx(input, output, pitch); |
| 21 vp8_short_fdct4x4_mmx(input + 4, output + 16, pitch); | 21 vp8_short_fdct4x4_mmx(input + 4, output + 16, pitch); |
| 22 } | 22 } |
| 23 | 23 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 short *diff, unsigned char *predictor, | 69 short *diff, unsigned char *predictor, |
| 70 int pitch); | 70 int pitch); |
| 71 void vp8_subtract_b_mmx(BLOCK *be, BLOCKD *bd, int pitch) | 71 void vp8_subtract_b_mmx(BLOCK *be, BLOCKD *bd, int pitch) |
| 72 { | 72 { |
| 73 unsigned char *z = *(be->base_src) + be->src; | 73 unsigned char *z = *(be->base_src) + be->src; |
| 74 unsigned int src_stride = be->src_stride; | 74 unsigned int src_stride = be->src_stride; |
| 75 short *diff = &be->src_diff[0]; | 75 short *diff = &be->src_diff[0]; |
| 76 unsigned char *predictor = &bd->predictor[0]; | 76 unsigned char *predictor = &bd->predictor[0]; |
| 77 vp8_subtract_b_mmx_impl(z, src_stride, diff, predictor, pitch); | 77 vp8_subtract_b_mmx_impl(z, src_stride, diff, predictor, pitch); |
| 78 } | 78 } |
| OLD | NEW |