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

Unified Diff: libvpx/source/libvpx/vp8/decoder/arm/armv5/dequantize_v5.asm

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: libvpx/source/libvpx/vp8/decoder/arm/armv5/dequantize_v5.asm
diff --git a/libvpx/source/libvpx/vp8/decoder/arm/armv5/dequantize_v5.asm b/libvpx/source/libvpx/vp8/decoder/arm/armv5/dequantize_v5.asm
new file mode 100644
index 0000000000000000000000000000000000000000..de3648ae25fb4a5c1c645be88b2a3dcf1e8369d2
--- /dev/null
+++ b/libvpx/source/libvpx/vp8/decoder/arm/armv5/dequantize_v5.asm
@@ -0,0 +1,52 @@
+;
+; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
+;
+; Use of this source code is governed by a BSD-style license
+; that can be found in the LICENSE file in the root of the source
+; tree. An additional intellectual property rights grant can be found
+; in the file PATENTS. All contributing project authors may
+; be found in the AUTHORS file in the root of the source tree.
+;
+
+
+ EXPORT |vp8_dequantize_b_armv5|
+
+ AREA |.text|, CODE, READONLY ; name this block of code
+
+q RN r0
+dqc RN r1
+cnt RN r2
+
+;void dequantize_b_armv5(short *Q, short *DQC)
+|vp8_dequantize_b_armv5| PROC
+ stmdb sp!, {r4, lr}
+ ldr r3, [q]
+ ldr r4, [dqc], #8
+
+ mov cnt, #4
+dequant_loop
+ smulbb lr, r3, r4
+ smultt r12, r3, r4
+
+ ldr r3, [q, #4]
+ ldr r4, [dqc, #-4]
+
+ strh lr, [q], #2
+ strh r12, [q], #2
+
+ smulbb lr, r3, r4
+ smultt r12, r3, r4
+
+ subs cnt, cnt, #1
+ ldrne r3, [q, #4]
+ ldrne r4, [dqc], #8
+
+ strh lr, [q], #2
+ strh r12, [q], #2
+
+ bne dequant_loop
+
+ ldmia sp!, {r4, pc}
+ ENDP ;|vp8_dequantize_b_arm|
+
+ END
« no previous file with comments | « libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c ('k') | libvpx/source/libvpx/vp8/decoder/arm/dequantize_arm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698