Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: source/libvpx/vp9/common/mips/dspr2/vp9_convolve8_dspr2.c

Issue 1124333011: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: only update to last nights LKGR Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 src += src_stride; 943 src += src_stride;
944 dst += 1; 944 dst += 1;
945 } 945 }
946 } 946 }
947 947
948 void vp9_convolve8_dspr2(const uint8_t *src, ptrdiff_t src_stride, 948 void vp9_convolve8_dspr2(const uint8_t *src, ptrdiff_t src_stride,
949 uint8_t *dst, ptrdiff_t dst_stride, 949 uint8_t *dst, ptrdiff_t dst_stride,
950 const int16_t *filter_x, int x_step_q4, 950 const int16_t *filter_x, int x_step_q4,
951 const int16_t *filter_y, int y_step_q4, 951 const int16_t *filter_y, int y_step_q4,
952 int w, int h) { 952 int w, int h) {
953 DECLARE_ALIGNED_ARRAY(32, uint8_t, temp, 64 * 135); 953 DECLARE_ALIGNED(32, uint8_t, temp[64 * 135]);
954 int32_t intermediate_height = ((h * y_step_q4) >> 4) + 7; 954 int32_t intermediate_height = ((h * y_step_q4) >> 4) + 7;
955 uint32_t pos = 38; 955 uint32_t pos = 38;
956 956
957 /* bit positon for extract from acc */ 957 /* bit positon for extract from acc */
958 __asm__ __volatile__ ( 958 __asm__ __volatile__ (
959 "wrdsp %[pos], 1 \n\t" 959 "wrdsp %[pos], 1 \n\t"
960 : 960 :
961 : [pos] "r" (pos) 961 : [pos] "r" (pos)
962 ); 962 );
963 963
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 dst[x] = src[x]; 1275 dst[x] = src[x];
1276 } 1276 }
1277 1277
1278 src += src_stride; 1278 src += src_stride;
1279 dst += dst_stride; 1279 dst += dst_stride;
1280 } 1280 }
1281 break; 1281 break;
1282 } 1282 }
1283 } 1283 }
1284 #endif 1284 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698