id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_subtract_armv6.asm:5 | pkhbt r8, r6, r7, lsl #16 ; [d1 | d0] (B)
pkhtb r9, r7, r6, asr #16 ; [d3 | d2] (B)
str r8, [r0], #4 ; diff (B)
subs r4, r4, #1 ; update loop counter
str r9, [r0], #4 ; diff (B)
bne loop_v
ldmfd sp!, {r4-r12, pc}
ENDP
; r0 short ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | BSD-3-Clause | 6fdc9aa79ff8da51e4fe7f574eda187f0a649b23 | github | media | https://github.com/webmproject/libvpx/blob/6fdc9aa79ff8da51e4fe7f574eda187f0a649b23/vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_subtract_armv6.asm:6 | pkhtb r9, r7, r6, asr #16 ; [d3 | d2] (A)
str r8, [r0], #4 ; diff (A)
uxtb16 r8, r10 ; [s2 | s0] (B)
str r9, [r0], #4 ; diff (A)
uxtb16 r9, r11 ; [p2 | p0] (B)
uxtb16 r10, r10, ror #8 ; [s3 | s1] (B)
uxtb16 r11, r11, ror #8 ; ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | BSD-3-Clause | 6fdc9aa79ff8da51e4fe7f574eda187f0a649b23 | github | media | https://github.com/webmproject/libvpx/blob/6fdc9aa79ff8da51e4fe7f574eda187f0a649b23/vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_subtract_armv6.asm:7 | uxtb16 r9, r11 ; [p2 | p0] (D)
uxtb16 r10, r10, ror #8 ; [s3 | s1] (D)
uxtb16 r11, r11, ror #8 ; [p3 | p1] (D)
usub16 r6, r8, r9 ; [d2 | d0] (D)
usub16 r7, r10, r11 ; [d3 | d1] (D)
add r1, r1, r3 ; update src pointer
pkhbt r8, r6, r7, lsl ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | BSD-3-Clause | 6fdc9aa79ff8da51e4fe7f574eda187f0a649b23 | github | media | https://github.com/webmproject/libvpx/blob/6fdc9aa79ff8da51e4fe7f574eda187f0a649b23/vp8/encoder/arm/armv6/vp8_subtract_armv6.asm | 241 | 264 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:2 | mov lr, #0 ; constant zero
usub8 r6, r4, r5 ; calculate difference
pld [r0, r1, lsl #1]
sel r7, r6, lr ; select bytes with positive difference
usub8 r9, r5, r4 ; calculate difference with reversed operands
pld [r2, r3, lsl #1]
sel ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:3 | ; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r10, r6, ror #8 ; another two pixels to halfwords
smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
; 3rd 4 pixels
ldr r4, [r0, #8] ; load 4 src pixels
ldr r5, [r2, #... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:4 | sel r6, r9, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r7, lr ; calculate sum of positive differences
usad8 r5, r6, lr ; calculate sum of negative differences
orr r6, r6, r7 ; differences of all 4 pixels
; calculate... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 121 | 153 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:4 | sel r6, r9, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r7, lr ; calculate sum of positive differences
usad8 r5, r6, lr ; calculate sum of negative differences
orr r6, r6, r7 ; differences of all 4 pixels
; calculate... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 121 | 153 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:2 | usub8 r9, r5, r4 ; calculate difference with reversed operands
sel r6, r9, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r7, lr ; calculate sum of positive differences
usad8 r5, r6, lr ; calculate sum of negative differences
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:3 | ; 3rd 4 pixels
ldr r4, [r0, #8] ; load 4 src pixels
ldr r5, [r2, #8] ; load 4 ref pixels
smlad r11, r10, r10, r11 ; dual signed multiply, add and accumulate (2)
usub8 r6, r4, r5 ; calculate difference
sel r7, r6, lr ; select bytes with positive diffe... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r10, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 121 | 147 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | cb14764fab88b5b28ba09fa9490bd72c017cb7c2 | github | media | https://github.com/webmproject/libvpx/blob/cb14764fab88b5b28ba09fa9490bd72c017cb7c2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:2 | usub8 r9, r5, r4 ; calculate difference with reversed operands
sel r6, r9, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r7, lr ; calculate sum of positive differences
usad8 r5, r6, lr ; calculate sum of negative differences
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | cb14764fab88b5b28ba09fa9490bd72c017cb7c2 | github | media | https://github.com/webmproject/libvpx/blob/cb14764fab88b5b28ba09fa9490bd72c017cb7c2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:3 | ; 3rd 4 pixels
ldr r4, [r0, #0x8] ; load 4 src pixels
ldr r5, [r2, #0x8] ; load 4 ref pixels
smlad r11, r10, r10, r11 ; dual signed multiply, add and accumulate (2)
usub8 r6, r4, r5 ; calculate difference
sel r7, r6, lr ; select bytes with positive diffe... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | cb14764fab88b5b28ba09fa9490bd72c017cb7c2 | github | media | https://github.com/webmproject/libvpx/blob/cb14764fab88b5b28ba09fa9490bd72c017cb7c2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r10, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | BSD-3-Clause | cb14764fab88b5b28ba09fa9490bd72c017cb7c2 | github | media | https://github.com/webmproject/libvpx/blob/cb14764fab88b5b28ba09fa9490bd72c017cb7c2/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm | 121 | 147 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:2 | usub8 r8, r6, r7 ; calculate difference
pld [r0, r1, lsl #1]
sel r10, r8, lr ; select bytes with positive difference
usub8 r9, r7, r6 ; calculate difference with reversed operands
pld [r2, r3, lsl #1]
sel r8, r9, lr ; select bytes with negative ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 5305e79eae023f5c38745a6b43116fd1f774597d | github | media | https://github.com/webmproject/libvpx/blob/5305e79eae023f5c38745a6b43116fd1f774597d/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 71bcd9f1af91f2dea22f2e71839039d83e5b1d84 | github | media | https://github.com/webmproject/libvpx/blob/71bcd9f1af91f2dea22f2e71839039d83e5b1d84/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:2 | ; calculate partial sums
usad8 r6, r10, lr ; calculate sum of positive differences
usad8 r7, r8, lr ; calculate sum of negative differences
orr r8, r8, r10 ; differences of all 4 pixels
; calculate total sum
add r4, r4, r6 ; add positive differences to s... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 71bcd9f1af91f2dea22f2e71839039d83e5b1d84 | github | media | https://github.com/webmproject/libvpx/blob/71bcd9f1af91f2dea22f2e71839039d83e5b1d84/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 41 | 95 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm:3 | smlad r5, r10, r10, r5 ; dual signed multiply, add and accumulate (2)
bne loop
; return stuff
ldr r8, [sp, #32] ; get address of sse
mul r1, r4, r4 ; sum * sum
str r5, [r8] ; store sse
sub r0, r5, r1, ASR #6 ; return (sse - ((sum * sum) >> 6)... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | BSD-3-Clause | 71bcd9f1af91f2dea22f2e71839039d83e5b1d84 | github | media | https://github.com/webmproject/libvpx/blob/71bcd9f1af91f2dea22f2e71839039d83e5b1d84/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm | 81 | 95 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:2 | ldr r5, [r2, #0] ; load 4 ref pixels
; bilinear interpolation
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
usub8 r6, r4, r5 ; calculate difference
pld [r0, r1, lsl #1]
sel r7, r6, lr ; select bytes with positive difference
usub8 r6, r5,... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:3 | sel r7, r6, lr ; select bytes with positive difference
usub8 r6, r5, r4 ; calculate difference with reversed operands
sel r6, r6, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r7, lr ; calculate sum of positive differences
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:5 | smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
subs r12, r12, #1
bne loop
; return stuff
ldr r6, [sp, #40] ; get address of sse
mul r0, r8, r8 ; sum * sum
s... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 161 | 181 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:2 | uhsub8 r4, r4, r6
eor r4, r4, r10
usub8 r6, r4, r5 ; calculate difference
sel r7, r6, lr ; select bytes with positive difference
usub8 r6, r5, r4 ; calculate difference with reversed operands
sel r6, r6, lr ; select bytes with negative difference... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:3 | usad8 r5, r6, lr ; calculate sum of negative differences
orr r6, r6, r7 ; differences of all 4 pixels
; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:4 | uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
; 4th 4 pixels
ldr r4, [r0, #12] ; load 4 src pixels
ldr r6, [r0, #13] ; load 4 src pixels with 1 byte offset
ldr r5, [r2, #12] ; lo... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 121 | 175 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm:5 | ; return stuff
ldr r6, [sp, #40] ; get address of sse
mul r0, r8, r8 ; sum * sum
str r11, [r6] ; store sse
sub r0, r11, r0, asr #8 ; return (sse - ((sum * sum) >> 8))
ldmfd sp!, {r4-r12, pc}
ENDP
c80808080
DCD 0x80808080
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm | 161 | 175 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:2 | ldr r6, [r0, #1] ; load source pixels b, row N
ldr r5, [r9, #0] ; load source pixels c, row N+1
ldr r7, [r9, #1] ; load source pixels d, row N+1
; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r1... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:3 | ldr r6, [r0, #5] ; load source pixels b, row N
ldr r5, [r9, #4] ; load source pixels c, row N+1
smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
ldr r7, [r9, #5] ; load source pixels d, row N+1
; x = (a + b + 1) >> 1, interpolate pixels horiz... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:4 | ; 3rd 4 pixels
ldr r4, [r0, #8] ; load source pixels a, row N
ldr r6, [r0, #9] ; load source pixels b, row N
ldr r5, [r9, #8] ; load source pixels c, row N+1
smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
ldr r7, [r9, #9] ; lo... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:5 | smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
; 4th 4 pixels
ldr r4, [r0, #12] ; load source pixels a, row N
ldr r6, [r0, #13] ; load source pixels b, row N
ldr r5, [r9, #12] ; load source pixels c, row N+1
smlad r11, r7, r7, r11 ; dua... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:6 | uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
subs r12, r12, #1
smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
bne ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 201 | 222 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:5 | smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
; 4th 4 pixels
ldr r4, [r0, #12] ; load source pixels a, row N
ldr r6, [r0, #13] ; load source pixels b, row N
ldr r5, [r9, #12] ; load source pixels c, row N+1
smlad r11, r7, r7, r11 ; dua... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:2 | ; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
; y = (c + d + 1) >> 1, interpolate pixels horizontally on row N+1
mvn r7, r7
uhsub8 r5, r5, r7
eor r5, r5, r10
; z = (x + y + 1) >> 1, interpolate half pixel v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:3 | ; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
; y = (c + d + 1) >> 1, interpolate pixels horizontally on row N+1
mvn r7, r7
uhsub8 r5, r5, r7
eor r5, r5, r10
; z = (x + y + 1) >> 1, interpolate half pixel v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:4 | ldr r7, [r9, #9] ; load source pixels d, row N+1
; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
; y = (c + d + 1) >> 1, interpolate pixels horizontally on row N+1
mvn r7, r7
uhsub8 r5, r5, r7
eor ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:5 | smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
ldr r7, [r9, #13] ; load source pixels d, row N+1
; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
; y = (c + d + 1) >> 1, interpolate pixel... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 161 | 216 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm:6 | bne loop
; return stuff
ldr r6, [sp, #40] ; get address of sse
mul r0, r8, r8 ; sum * sum
str r11, [r6] ; store sse
sub r0, r11, r0, asr #8 ; return (sse - ((sum * sum) >> 8))
ldmfd sp!, {r4-r12, pc}
ENDP
c80808080
DCD 0x80808080
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 201 | 216 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:2 | ldr r6, [r9, #0] ; load 4 src pixels from next row
ldr r5, [r2, #0] ; load 4 ref pixels
; bilinear interpolation
mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
usub8 r6, r4, r5 ; calculate difference
pld [r0, r1, lsl #1]
sel r7, r6, lr ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:3 | usub8 r6, r4, r5 ; calculate difference
sel r7, r6, lr ; select bytes with positive difference
usub8 r6, r5, r4 ; calculate difference with reversed operands
sel r6, r6, lr ; select bytes with negative difference
; calculate partial sums
usad8 r4, r... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:5 | uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
smlad r11, r7, r7, r11 ; dual signed multiply, add and accumulate (2)
subs r12, r12, #1
bne loop
; return stuff
ldr r6, [sp, #40] ; g... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 161 | 183 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:4 | ; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ; substract negative differences from sum
; calculate sse
uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
sm... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:1 | ;
; Copyright (c) 2011 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:2 | mvn r6, r6
uhsub8 r4, r4, r6
eor r4, r4, r10
usub8 r6, r4, r5 ; calculate difference
sel r7, r6, lr ; select bytes with positive difference
usub8 r6, r5, r4 ; calculate difference with reversed operands
sel r6, r6, lr ; select bytes with ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:3 | usad8 r4, r7, lr ; calculate sum of positive differences
usad8 r5, r6, lr ; calculate sum of negative differences
orr r6, r6, r7 ; differences of all 4 pixels
; calculate total sum
add r8, r8, r4 ; add positive differences to sum
sub r8, r8, r5 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm:4 | uxtb16 r5, r6 ; byte (two pixels) to halfwords
uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
smlad r11, r5, r5, r11 ; dual signed multiply, add and accumulate (1)
; 4th 4 pixels
ldr r4, [r0, #12] ; load 4 src pixels
ldr r6, [r9, #12] ; load 4 s... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | BSD-3-Clause | f5e433464b6a0a79978d966bd666c794415abdce | github | media | https://github.com/webmproject/libvpx/blob/f5e433464b6a0a79978d966bd666c794415abdce/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm | 121 | 177 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:1 | ;
; 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:2 | ; 8-11
qadd16 r7, r8, r9 ; [d1|a1] [9+11 | 8+10]
qsub16 r8, r8, r9 ; [c1|b1] [9-11 | 8-10]
; 12-15
qadd16 r9, r10, r11 ; [d1|a1] [13+15 | 12+14]
qsub16 r10, r10, r11 ; [c1|b1] [13-15 | 12-14]
lsls r2, r3, #16
smuad r11, r... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:3 | add r0, r0, #3 ; += 3
ldr lr, c00040004
mov r0, r0, asr #3 ; >> 3
strh r0, [r1, #24] ; op[12]
adds r2, r11, r12 ; b2 = b1_0 + c1_0
addmi r2, r2, #1 ; += a2 < 0
add r2, r2, #3 ; += 3
subs ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:4 | strh r9, [r1, #14] ; op[7]
addmi r2, r2, #1 ; += a2 < 0
add r2, r2, #3 ; += 3
subs r9, r0, r7 ; d2 = a1_3 - d1_3
mov r2, r2, asr #3 ; >> 3
strh r2, [r1, #22] ; op[11]
addmi r9, r9, #1 ; += a2 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:5 | mov r2, r2, asr #3 ; >> 3
strh r2, [r1, #18] ; op[9]
addmi r9, r9, #1 ; += a2 < 0
add r9, r9, #3 ; += 3
smusd r4, r4, lr ; A2 = b1<<2 - c1<<2
smusd r8, r8, lr ; C2 = b1<<2 - c1<<2
mov r9, r9, asr #3 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 161 | 212 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:6 | add r9, r9, #3 ; += 3
mov r9, r9, asr #3 ; >> 3
strh r9, [r1, #28] ; op[14]
ldmia sp!, {r4 - r11, pc}
ENDP ; |vp8_short_walsh4x4_armv6|
c00040004
DCD 0x00040004
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 4c3ad66b7f63c1e69318941448533a6a7f05c77e | github | media | https://github.com/webmproject/libvpx/blob/4c3ad66b7f63c1e69318941448533a6a7f05c77e/vp8/encoder/arm/armv6/walsh_v6.asm | 201 | 212 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:1 | ;
; 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/armv6/walsh_v6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:2 | qaddsubx r4, r12, lr ; [5 | 6] [c1+d1 | a1-b1]
qaddsubx r5, lr, r12 ; [4 | 7] [b1+a1 | d1-c1]
qsubaddx r10, r6, r7 ; [c1|a1] [9-10 | 8+11]
qaddsubx r11, r6, r7 ; [b1|d1] [9+10 | 8-11]
qsubaddx r12, r8, r9 ; [c1|a1] [13-14 | 12+15]
qadd... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/armv6/walsh_v6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:3 | addpl r11, r11, #1 ; [~1]
lsl r11, r11, #15 ; [1 | x]
pkhtb r10, r11, r10, asr #1; [1 | 0]
str r10, [r1], #4
lsls r11, r2, #16
addpl r11, r11, #0x10000 ; [~2]
lsls r12, r3, #16
addpl r12, r12, #0x10000 ; [~3]
a... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/armv6/walsh_v6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:4 | addpl r3, r3, #0x10000 ; [~11]
asr r3, r3, #1 ; [11 | x]
pkhtb r2, r3, r2, asr #17 ; [11 | 10]
str r2, [r1], #4
asrs r2, r9, #16
addpl r2, r2, #1 ; [~12]
asrs r3, r8, #16
addpl r3, r3, #1 ; [~13]
l... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/armv6/walsh_v6.asm | 121 | 145 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:1 | ;
; Copyright (c) 2010 The VP8 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 projec... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/armv6/walsh_v6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sourc... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/armv6/walsh_v6.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:2 | qaddsubx r5, lr, r12 ; [4 | 7] [b1+a1 | d1-c1]
qsubaddx r10, r6, r7 ; [c1|a1] [9-10 | 8+11]
qaddsubx r11, r6, r7 ; [b1|d1] [9+10 | 8-11]
qsubaddx r12, r8, r9 ; [c1|a1] [13-14 | 12+15]
qaddsubx lr, r8, r9 ; [b1|d1] [13+14 | 12-15]
qad... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/armv6/walsh_v6.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:3 | lsl r11, r11, #15 ; [1 | x]
pkhtb r10, r11, r10, asr #1; [1 | 0]
str r10, [r1], #4
lsls r11, r2, #16
addpl r11, r11, #0x10000 ; [~2]
lsls r12, r3, #16
addpl r12, r12, #0x10000 ; [~3]
asr r12, r12, #1 ; [3 | x]
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/armv6/walsh_v6.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/armv6/walsh_v6.asm:4 | asr r3, r3, #1 ; [11 | x]
pkhtb r2, r3, r2, asr #17 ; [11 | 10]
str r2, [r1], #4
asrs r2, r9, #16
addpl r2, r2, #1 ; [~12]
asrs r3, r8, #16
addpl r3, r3, #1 ; [~13]
lsl r3, r3, #15 ; [13 | x]
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/armv6/walsh_v6.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/armv6/walsh_v6.asm | 121 | 144 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:1 | ;
; 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/boolhuff_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:5 | ldrge r7, [r0, #vp8_writer_buffer]
ldrb r1, [r7, r4]
cmpge r1, #0xff
beq token_zero_while_loop_se
ldr r7, [r0, #vp8_writer_buffer]
ldrb r9, [r7, r4] ; w->buffer[x]
add r9, r9, #1
strb r9, [r7, r4] ; w->buffer[x] + 1
token_high_bit_not_s... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/boolhuff_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:6 | mov r10, r2
ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8_writer_range]
ldr r3, [r0, #vp8_writer_count]
; reverse the stream of bits to be packed. Normally
; the most significant bit is peeled off and compared
; in the form of (v >> --n) & 1. ARM architecture has
;... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/boolhuff_armv7.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:7 | adds r3, r3, r6 ; count += shift
lsl r5, r4, r6 ; range <<= shift
bmi token_count_lt_zero_ev ; if(count >= 0)
sub r6, r6, r3 ; offset = shift - count
sub r4, r6, #1 ; offset-1
lsls r4, r2, r4 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/boolhuff_armv7.asm | 241 | 293 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:8 | token_count_lt_zero_ev
lsl r2, r2, r6 ; lowvalue <<= shift
subs r10, r10, #1
bne encode_value_loop
str r2, [r0, #vp8_writer_lowvalue]
str r5, [r0, #vp8_writer_range]
str r3, [r0, #vp8_writer_count]
pop {r4-r11, pc}
ENDP
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/boolhuff_armv7.asm | 281 | 293 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:1 | ;
; Copyright (c) 2010 The VP8 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 projec... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/boolhuff_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sourc... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:2 | ; r1 int bit
; r2 int probability
|vp8_encode_bool| PROC
push {r4-r9, lr}
mov r4, r2
ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8_writer_range]
ldr r3, [r0, #vp8_writer_count]
sub r7, r5, #1 ; range-1
cmp r1, #0
mul r4, r4, r7 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:3 | token_zero_while_loop
mov r9, #0
strb r9, [r7, r4] ; w->buffer[x] =(unsigned char)0
sub r4, r4, #1 ; x--
token_zero_while_start
cmp r4, #0
ldrge r7, [r0, #vp8_writer_buffer]
ldrb r1, [r7, r4]
cmpge r1, #0xff
beq token_zero_while_l... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:4 | ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8_writer_range]
ldr r3, [r0, #vp8_writer_count]
mov r10, #32
stop_encode_loop
sub r7, r5, #1 ; range-1
mov r4, r7, lsl #7 ; ((range-1) * 128)
mov r7, #1
add r4, r7, r4, lsr #8... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:5 | ldrb r1, [r7, r4]
cmpge r1, #0xff
beq token_zero_while_loop_se
ldr r7, [r0, #vp8_writer_buffer]
ldrb r9, [r7, r4] ; w->buffer[x]
add r9, r9, #1
strb r9, [r7, r4] ; w->buffer[x] + 1
token_high_bit_not_set_se
rsb r4, r6, #24 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:6 | mov r10, r2
ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8_writer_range]
ldr r3, [r0, #vp8_writer_count]
; reverse the stream of bits to be packed. Normally
; the most significant bit is peeled off and compared
; in the form of (v >> --n) & 1. ARM architecture has
;... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:7 | lsl r5, r4, r6 ; range <<= shift
bmi token_count_lt_zero_ev ; if(count >= 0)
sub r6, r6, r3 ; offset = shift - count
sub r4, r6, #1 ; offset-1
lsls r4, r2, r4 ; if((lowvalue<<(offset-1)) & 0x80000000 )
bpl ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 241 | 292 |
webmproject/libvpx:vp8/encoder/arm/neon/boolhuff_armv7.asm:8 | lsl r2, r2, r6 ; lowvalue <<= shift
subs r10, r10, #1
bne encode_value_loop
str r2, [r0, #vp8_writer_lowvalue]
str r5, [r0, #vp8_writer_range]
str r3, [r0, #vp8_writer_count]
pop {r4-r11, pc}
ENDP
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/boolhuff_armv7.asm | 281 | 292 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:1 | ;
; 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:2 | vtrn.32 d3, d5
vtrn.16 d2, d3
vtrn.16 d4, d5
vadd.s16 d6, d2, d5 ;ip[0]+ip[3]
vadd.s16 d7, d3, d4 ;ip[1]+ip[2]
vsub.s16 d8, d3, d4 ;ip[1]-ip[2]
vsub.s16 d9, d2, d5 ;ip[0]-ip[3]
vshl.i16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:3 | vadd.s16 d10, d6, d7 ;temp1 = a1 + b1
vsub.s16 d11, d6, d7 ;temp2 = a1 - b1
vqdmulh.s16 q6, q5, d0[1]
vqdmulh.s16 q8, q4, d0[0]
vqdmulh.s16 q7, q4, d0[2]
vshr.s16 q6, q6, #1
vshr.s16 q8, q8, #1
vshr.s16 q7, q7, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 81 | 124 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:3 | vadd.s16 d10, d6, d7 ;temp1 = a1 + b1
vsub.s16 d11, d6, d7 ;temp2 = a1 - b1
vqdmulh.s16 q6, q5, d0[1]
vqdmulh.s16 q8, q4, d0[0]
vqdmulh.s16 q7, q4, d0[2]
vshr.s16 q6, q6, #1
vshr.s16 q8, q8, #1
vshr.s16 q7, q7, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 81 | 127 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:1 | ;
; Copyright (c) 2010 The VP8 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 projec... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sourc... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:2 | vtrn.16 d2, d3
vtrn.16 d4, d5
vadd.s16 d6, d2, d5 ;ip[0]+ip[3]
vadd.s16 d7, d3, d4 ;ip[1]+ip[2]
vsub.s16 d8, d3, d4 ;ip[1]-ip[2]
vsub.s16 d9, d2, d5 ;ip[0]-ip[3]
vshl.i16 q3, q3, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct4x4_neon.asm:3 | vsub.s16 d11, d6, d7 ;temp2 = a1 - b1
vqdmulh.s16 q6, q5, d0[1]
vqdmulh.s16 q8, q4, d0[0]
vqdmulh.s16 q7, q4, d0[2]
vshr.s16 q6, q6, #1
vshr.s16 q8, q8, #1
vshr.s16 q7, q7, #1 ;d14:temp1 = ( c1 * x_c3)>>16; d15:temp1 = (d1 * x... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct4x4_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/fastfdct4x4_neon.asm | 81 | 126 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:1 | ;
; 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 proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:2 | vtrn.32 d2, d6
vtrn.32 d3, d7
vtrn.32 d4, d8
vtrn.32 d5, d9
vtrn.16 d2, d4
vtrn.16 d3, d5
vtrn.16 d6, d8
vtrn.16 d7, d9
vadd.s16 d10, d2, d8 ;ip[0]+ip[3]
vadd.s16 d11, d4, d6 ;ip[1]... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:3 | vshr.s16 q14, q14, #1 ;d28:temp1 = ( c1 * x_c3)>>16; d29:temp1 = (d1 * x_c3)>>16
vadd.s16 q10, q6, q10 ;d20:temp2 = ((c1 * x_c1)>>16) + c1; d21:temp2 = ((d1 * x_c1)>>16) + d1
vadd.s16 q15, q2, q15 ;d30:temp2 = ((c1 * x_c1)>>16) + c1; d31:temp2 = ((d1 * x... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:4 | vqdmulh.s16 q13, q11, d0[1]
vqdmulh.s16 q10, q6, d0[0]
vqdmulh.s16 q15, q12, d0[0]
vqdmulh.s16 q9, q6, d0[2]
vqdmulh.s16 q14, q12, d0[2]
vshr.s16 q8, q8, #1
vshr.s16 q13, q13, #1
vshr.s16 q10, q10, #1
vshr.s16 q15, q15, #1
vshr.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 121 | 177 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:5 | vst1.16 {q3, q4}, [r1]
bx lr
ENDP
;-----------------
_ffdct8_coeff_
DCD ffdct8_coeff
ffdct8_coeff
; 60547 = 0xEC83
; 46341 = 0xB505
; 25080 = 0x61F8
DCD 0xB505EC83, 0x000061F8
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 | github | media | https://github.com/webmproject/libvpx/blob/11a222f5d963097fb72cec7bf6e06ff8c3d96fa4/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 161 | 177 |
webmproject/libvpx:vp8/encoder/arm/neon/fastfdct8x4_neon.asm:4 | vqdmulh.s16 q13, q11, d0[1]
vqdmulh.s16 q10, q6, d0[0]
vqdmulh.s16 q15, q12, d0[0]
vqdmulh.s16 q9, q6, d0[2]
vqdmulh.s16 q14, q12, d0[2]
vshr.s16 q8, q8, #1
vshr.s16 q13, q13, #1
vshr.s16 q10, q10, #1
vshr.s16 q15, q15, #1
vshr.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/fastfdct8x4_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/fastfdct8x4_neon.asm | 121 | 180 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.