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/neon/variance_neon.asm:3 | ;sum is in [-255x256, 255x256]. sumxsum is 32-bit. Shift to right should
;have sign-bit exension, which is vshr.s. Have to use s32 to make it right.
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.s32 d10, d10, #8
vsub.s32 d0, d1, d10
vmov.32... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/variance_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:4 | vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/variance_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:5 | ; int recon_stride,
; unsigned int *sse)
|vp9_variance8x16_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10, #0
mov r12, #8
variance8x16_neon_loop
vld1.8 {d0}, [r0], r1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/variance_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:6 | vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.s32 d10, d10, #7
vsub.s32 d0, d1, d10
vmov.32 r0, d0[0] ;return
bx lr
ENDP
;==================================
; r0 unsigned char *src_ptr
; r1 int... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/variance_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:7 | vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/variance_neon.asm | 241 | 276 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_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/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:2 | vsubl.u8 q11, d0, d4 ;calculate diff
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
;VPADAL adds adjacent pairs of elements of a vector, and accumulates
;the results into the elements of the destination vector. The explanation
;in ARM ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:3 | ; while sum is signed, sum * sum is always positive and must be treated as
; unsigned to avoid propagating the sign bit.
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.u32 d10, d10, #8
vsub.u32 d0, d1, d10
vmov.32 r0, d0[0] ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:4 | vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:5 | ; int recon_stride,
; unsigned int *sse)
|vp8_variance8x16_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10, #0
mov r12, #8
variance8x16_neon_loop
vld1.8 {d0}, [r0], r1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:6 | vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.u32 d10, d10, #7
vsub.u32 d0, d1, d10
vmov.32 r0, d0[0] ;return
bx lr
ENDP
;==================================
; r0 unsigned char *src_ptr
; r1 int... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:7 | vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | fea3556e20f63ed1a03daa45804f724e70705aa0 | github | media | https://github.com/webmproject/libvpx/blob/fea3556e20f63ed1a03daa45804f724e70705aa0/vp8/encoder/arm/neon/variance_neon.asm | 241 | 276 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:2 | vsubl.u8 q11, d0, d4 ;calculate diff
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
;VPADAL adds adjacent pairs of elements of a vector, and accumulates
;the results into the elements of the destination vector. The explanation
;in ARM ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/variance_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:3 | ;sum is in [-255x256, 255x256]. sumxsum is 32-bit. Shift to right should
;have sign-bit exension, which is vshr.s. Have to use s32 to make it right.
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.s32 d10, d10, #8
vsub.s32 d0, d1, d10
vmov.32... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/variance_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:4 | vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/variance_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:5 | ; int recon_stride,
; unsigned int *sse)
|vp8_variance8x16_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10, #0
mov r12, #8
variance8x16_neon_loop
vld1.8 {d0}, [r0], r1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/variance_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:6 | vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.s32 d10, d10, #7
vsub.s32 d0, d1, d10
vmov.32 r0, d0[0] ;return
bx lr
ENDP
;==================================
; r0 unsigned char *src_ptr
; r1 int... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/variance_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_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/variance_neon.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/variance_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_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/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:2 | vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
;VPADAL adds adjacent pairs of elements of a vector, and accumulates
;the results into the elements of the destination vector. The explanation
;in ARM guide is wrong.
vpadal.s16 q8, q11 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:4 | subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
vmlal.s16 q10, d29, d29
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:5 | ; unsigned int *sse)
|vp8_variance8x16_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10, #0
mov r12, #8
variance8x16_neon_loop
vld1.8 {d0}, [r0], r1 ;Load up source a... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:6 | vst1.32 {d1[0]}, [r12] ;store sse
vshr.s32 d10, d10, #7
vsub.s32 d0, d1, d10
vmov.32 r0, d0[0] ;return
bx lr
ENDP
;==================================
; r0 unsigned char *src_ptr
; r1 int source_stride
; r2 unsigned... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/variance_neon.asm:7 | subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
vmlal.s16 q10, d25, d25
vpadal.s16 q8, q13
vmlal.s16 q9, d26, d26
vmlal.s16 q10, d27, d27
vpadal.s16 q8, q14
vmlal.s16 q9, d28, d28
vmlal.s16 q10, d29, d29
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/variance_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/variance_neon.asm | 241 | 275 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_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/vp8_memcpy_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_neon.asm:2 | vld1.8 {q8, q9}, [r1]!
vst1.8 {q6, q7}, [r0]!
vld1.8 {q10, q11}, [r1]!
vst1.8 {q8, q9}, [r0]!
vld1.8 {q12, q13}, [r1]!
vst1.8 {q10, q11}, [r0]!
vld1.8 {q14, q15}, [r1]!
vst1.8 {q12, q13}, [r0]!
vst1.8 {q14, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_memcpy_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 41 | 72 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_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/vp8_memcpy_neon.asm | BSD-3-Clause | de8280944449db88e96f9f4909f383a542c35de0 | github | media | https://github.com/webmproject/libvpx/blob/de8280944449db88e96f9f4909f383a542c35de0/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_neon.asm:2 | vst1.8 {q6, q7}, [r0]!
vld1.8 {q10, q11}, [r1]!
vst1.8 {q8, q9}, [r0]!
vld1.8 {q12, q13}, [r1]!
vst1.8 {q10, q11}, [r0]!
vld1.8 {q14, q15}, [r1]!
vst1.8 {q12, q13}, [r0]!
vst1.8 {q14, q15}, [r0]!
;pld ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_memcpy_neon.asm | BSD-3-Clause | de8280944449db88e96f9f4909f383a542c35de0 | github | media | https://github.com/webmproject/libvpx/blob/de8280944449db88e96f9f4909f383a542c35de0/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 41 | 70 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_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/vp8_memcpy_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_neon.asm:2 | vst1.8 {q8, q9}, [r0]!
vld1.8 {q12, q13}, [r1]!
vst1.8 {q10, q11}, [r0]!
vld1.8 {q14, q15}, [r1]!
vst1.8 {q12, q13}, [r0]!
vst1.8 {q14, q15}, [r0]!
;pld [r1] ;preload pred data -- need to adjust for real... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_memcpy_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 41 | 68 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_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/vp8_memcpy_neon.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_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/vp8_memcpy_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_memcpy_neon.asm:2 | vld1.8 {q12, q13}, [r1]!
vst1.8 {q10, q11}, [r0]!
vld1.8 {q14, q15}, [r1]!
vst1.8 {q12, q13}, [r0]!
vst1.8 {q14, q15}, [r0]!
;pld [r1] ;preload pred data -- need to adjust for real device
;pld [r1,... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_memcpy_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_memcpy_neon.asm | 41 | 67 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:2 | vld1.8 {q2}, [r2], r3
vld1.8 {q1}, [r0], r1
vld1.8 {q3}, [r2], r3
vsubl.u8 q11, d0, d4
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
vmlal.s16 q7, d22, d22
vmlal.s16 q8, d23, d23
subs r1... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:3 | ;=============================
; r0 unsigned char *src_ptr,
; r1 int source_stride,
; r2 unsigned char *ref_ptr,
; r3 int recon_stride
|vp8_get4x4sse_cs_neon| PROC
vpush {q7}
vld1.8 {d0}, [r0], r1 ;Load up source and reference
vld1.8 {d4}, [r2], r3
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 81 | 123 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:2 | vld1.8 {q3}, [r2], r3
vsubl.u8 q11, d0, d4
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
vmlal.s16 q7, d22, d22
vmlal.s16 q8, d23, d23
subs r12, r12, #1
vmlal.s16 q9, d24, d24
vmlal.s16 q10, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:3 | ; r1 int source_stride,
; r2 unsigned char *ref_ptr,
; r3 int recon_stride
|vp8_get4x4sse_cs_neon| PROC
vld1.8 {d0}, [r0], r1 ;Load up source and reference
vld1.8 {d4}, [r2], r3
vld1.8 {d1}, [r0], r1
vld1.8 {d5}, [r2], r3
vld1.8 {d... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 6a4b1e59588fa40fec301a5c14680ae66b4afba2 | github | media | https://github.com/webmproject/libvpx/blob/6a4b1e59588fa40fec301a5c14680ae66b4afba2/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 81 | 116 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | 361717d2beaf6c2b745fe99b4cadce3f8517ffde | github | media | https://github.com/webmproject/libvpx/blob/361717d2beaf6c2b745fe99b4cadce3f8517ffde/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:2 | vld1.8 {q1}, [r0], r1
vld1.8 {q3}, [r2], r3
vsubl.u8 q11, d0, d4
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
vmlal.s16 q7, d22, d22
vmlal.s16 q8, d23, d23
subs r12, r12, #1
vmlal.s16 q9,... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:3 | ; r1 int src_stride
; r2 unsigned char *ref_ptr
; r3 int ref_stride
|vp8_get16x16pred_error_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - pred_error
vmov.i8 q10, #0
mov r12, #8
get16x16pred_error_neo... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:4 | vpaddl.s32 q0, q8
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vshr.s32 d10, d10, #8
vsub.s32 d0, d1, d10
vmov.32 r0, d0[0]
bx lr
ENDP
;=============================
; r0 unsig... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 121 | 173 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:5 | vadd.u32 q7, q7, q8
vadd.u32 q9, q9, q10
vadd.u32 q9, q7, q9
vpaddl.u32 q1, q9
vadd.u64 d0, d2, d3
vmov.32 r0, d0[0]
bx lr
ENDP
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 161 | 173 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_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/vp8_mse16x16_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:2 | vld1.8 {q3}, [r2], r3
vsubl.u8 q11, d0, d4
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
vmlal.s16 q7, d22, d22
vmlal.s16 q8, d23, d23
subs r12, r12, #1
vmlal.s16 q9, d24, d24
vmlal.s16 q10, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:3 | ; r2 unsigned char *ref_ptr
; r3 int ref_stride
|vp8_get16x16pred_error_neon| PROC
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - pred_error
vmov.i8 q10, #0
mov r12, #8
get16x16pred_error_neon_loop
vld1.8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:4 | vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vshr.s32 d10, d10, #8
vsub.s32 d0, d1, d10
vmov.32 r0, d0[0]
bx lr
ENDP
;=============================
; r0 unsigned char *src_ptr,
; r1 i... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 121 | 172 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_mse16x16_neon.asm:5 | vadd.u32 q9, q9, q10
vadd.u32 q9, q7, q9
vpaddl.u32 q1, q9
vadd.u64 d0, d2, d3
vmov.32 r0, d0[0]
bx lr
ENDP
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm | 161 | 172 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_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/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:2 | b check_p_lt_stop
while_p_lt_stop
ldr r6, [r1, #tokenextra_token] ; t
ldr r4, [sp, #8] ; vp8_coef_encodings
mov lr, #0
add r4, r4, r6, lsl #3 ; a = vp8_coef_encodings + t
ldr r9, [r1, #tokenextra_context_tree] ; pp
ldr r7, [r1, #tokenextr... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:3 | lsrs r12, r12, #1 ; bb = v >> n
mul r4, r4, r7 ; ((range-1) * pp[i>>1]))
; bb can only be 0 or 1. So only execute this statement
; if bb == 1, otherwise it will act like i + 0
addcs lr, lr, #1 ; i + bb
mov r7, #1
ldrsb lr, [r10, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:4 | cmpge r11, #0xff
beq token_zero_while_loop
ldr r7, [r0, #vp8_writer_buffer]
ldrb r10, [r7, r4] ; w->buffer[x]
add r10, r10, #1
strb r10, [r7, r4] ; w->buffer[x] + 1
token_high_bit_not_set
rsb r4, r6, #24 ; 24-offset
ldr ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:5 | beq skip_extra_bits
; if( b->base_val)
ldr r8, [r12, #vp8_extra_bit_struct_len] ; L
ldr lr, [r1, #tokenextra_extra] ; e = p->Extra
cmp r8, #0 ; if( L)
beq no_extra_bits
ldr r9, [r12, #vp8_extra_bit_struct_prob]
asr r7, lr, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:7 | subs r8, r8, #1 ; --n
bne extra_bits_loop ; while (n)
no_extra_bits
ldr lr, [r1, #4] ; e = p->Extra
add r4, r5, #1 ; range + 1
tst lr, #1
lsr r4, r4, #1 ; split = (range + 1) >> 1
addne r2, r2... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 241 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:8 | lsr r6, r2, #24 ; lowvalue >> 24
add r12, r4, #1 ; w->pos++
bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff
str r12, [r0, #0x10]
strb r6, [r7, r4]
end_count_zero
skip_extra_bits
add r1, r1, #TOKENEXTRA_SZ ; ++p
check_p_lt_stop
ld... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 281 | 301 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_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/vp8_packtokens_armv7.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_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/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:2 | while_p_lt_stop
ldr r6, [r1, #tokenextra_token] ; t
ldr r4, [sp, #8] ; vp8_coef_encodings
mov lr, #0
add r4, r4, r6, lsl #3 ; a = vp8_coef_encodings + t
ldr r9, [r1, #tokenextra_context_tree] ; pp
ldr r7, [r1, #tokenextra_skip_eob_node]
ldr... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:3 | mul r4, r4, r7 ; ((range-1) * pp[i>>1]))
; bb can only be 0 or 1. So only execute this statement
; if bb == 1, otherwise it will act like i + 0
addcs lr, lr, #1 ; i + bb
mov r7, #1
ldrsb lr, [r10, lr] ; i = vp8_coef_tree[i+bb]
add ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:4 | beq token_zero_while_loop
ldr r7, [r0, #vp8_writer_buffer]
ldrb r10, [r7, r4] ; w->buffer[x]
add r10, r10, #1
strb r10, [r7, r4] ; w->buffer[x] + 1
token_high_bit_not_set
rsb r4, r6, #24 ; 24-offset
ldr r10, [r0, #vp8_writer_... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:5 | ; if( b->base_val)
ldr r8, [r12, #vp8_extra_bit_struct_len] ; L
ldr lr, [r1, #tokenextra_extra] ; e = p->Extra
cmp r8, #0 ; if( L)
beq no_extra_bits
ldr r9, [r12, #vp8_extra_bit_struct_prob]
asr r7, lr, #1 ; v=e>>1
ldr r10... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:6 | sub r6, r6, r3 ; offset= shift - count
sub r4, r6, #1 ; offset-1
lsls r4, r2, r4 ; if((lowvalue<<(offset-1)) & 0x80000000 )
bpl extra_high_bit_not_set
ldr r4, [r0, #vp8_writer_pos] ; x
sub r4, r4, #1 ; x = ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:7 | bne extra_bits_loop ; while (n)
no_extra_bits
ldr lr, [r1, #4] ; e = p->Extra
add r4, r5, #1 ; range + 1
tst lr, #1
lsr r4, r4, #1 ; split = (range + 1) >> 1
addne r2, r2, r4 ; lowvalue += split
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 241 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_armv7.asm:8 | add r12, r4, #1 ; w->pos++
bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff
str r12, [r0, #0x10]
strb r6, [r7, r4]
end_count_zero
skip_extra_bits
add r1, r1, #TOKENEXTRA_SZ ; ++p
check_p_lt_stop
ldr r4, [sp, #0] ; stop
cmp r1, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_armv7.asm | 281 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_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/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:2 | str r3, [sp, #8] ; save vp8_extra_bits
ldr r4, _VP8_COMP_tplist_
add r4, r0, r4
ldr r7, [r4, #0] ; dereference cpi->tp_list
mov r0, r1 ; keep same as other loops
ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:3 | ; 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
; the ability to set a flag based on the value of the
; bit shifted off the bottom of the register. To make
; that happen the bitstream i... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:4 | ; to determine if count >= 0
adds r3, r3, r6 ; count += shift
lsl r5, r4, r6 ; range <<= shift
bmi token_count_lt_zero ; if(count >= 0)
sub r6, r6, r3 ; offset = shift - count
sub r4, r6, #1 ; offset-1
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:5 | ; r10 is used earlier in the loop, but r10 is used as
; temp variable here. So after r10 is used, reload
; vp8_coef_tree_dcd into r10
ldr r10, [sp, #60] ; vp8_coef_tree
token_count_lt_zero
lsl r2, r2, r6 ; lowvalue <<= shift
subs r8, r8, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:6 | extra_bits_loop
ldrb r4, [r9, lr, asr #1] ; pp[i>>1]
sub r7, r5, #1 ; range-1
lsrs r12, r12, #1 ; v >> n
mul r4, r4, r7 ; (range-1) * pp[i>>1]
addcs lr, lr, #1 ; i + bb
mov r7, #1
ldrsb lr, [r... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:7 | ldr r7, [r0, #vp8_writer_buffer]
ldrb r10, [r7, r4]
add r10, r10, #1
strb r10, [r7, r4]
extra_high_bit_not_set
rsb r4, r6, #24 ; 24-offset
ldr r10, [r0, #vp8_writer_buffer]
lsr r7, r2, r4 ; lowvalue >> (24-offset)
ldr r4, [r0, #v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 241 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:8 | strb r7, [r6, r4]
sub r4, r4, #1 ; x--
end_zero_while_start
cmp r4, #0
ldrge r6, [r0, #vp8_writer_buffer]
ldrb r12, [r6, r4]
cmpge r12, #0xff
beq end_zero_while_loop
ldr r6, [r0, #vp8_writer_buffer]
ldrb r7, [r6, r4]
add r7, r7, #1
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 281 | 336 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:9 | str r2, [r0, #vp8_writer_lowvalue]
str r5, [r0, #vp8_writer_range]
str r3, [r0, #vp8_writer_count]
add sp, sp, #24
pop {r4-r11, pc}
ENDP
_VP8_COMP_common_
DCD vp8_comp_common
_VP8_COMMON_MBrows_
DCD vp8_common_mb_rows
_VP8_COMP_tplist_
DCD vp8_comp_tplist... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 321 | 336 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_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/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_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/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:2 | ldr r4, _VP8_COMP_tplist_
add r4, r0, r4
ldr r7, [r4, #0] ; dereference cpi->tp_list
mov r0, r1 ; keep same as other loops
ldr r2, [r0, #vp8_writer_lowvalue]
ldr r5, [r0, #vp8_writer_range]
ldr r3, [r0, #vp8_writer_count]
mb_row_... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:3 | ; the most significant bit is peeled off and compared
; in the form of (v >> --n) & 1. ARM architecture has
; the ability to set a flag based on the value of the
; bit shifted off the bottom of the register. To make
; that happen the bitstream is reversed.
rbit r12, r6
rsb r4, r8, #32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:4 | adds r3, r3, r6 ; count += shift
lsl r5, r4, r6 ; range <<= shift
bmi token_count_lt_zero ; 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/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:5 | ; r10 is used earlier in the loop, but r10 is used as
; temp variable here. So after r10 is used, reload
; vp8_coef_tree_dcd into r10
ldr r10, [sp, #60] ; vp8_coef_tree
token_count_lt_zero
lsl r2, r2, r6 ; lowvalue <<= shift
subs r8, r8, #1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:7 | ldr r7, [r0, #vp8_writer_buffer]
ldrb r10, [r7, r4]
add r10, r10, #1
strb r10, [r7, r4]
extra_high_bit_not_set
rsb r4, r6, #24 ; 24-offset
ldr r10, [r0, #vp8_writer_buffer]
lsr r7, r2, r4 ; lowvalue >> (24-offset)
ldr r4, [r0, #v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 241 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm:8 | sub r4, r4, #1 ; x--
end_zero_while_start
cmp r4, #0
ldrge r6, [r0, #vp8_writer_buffer]
ldrb r12, [r6, r4]
cmpge r12, #0xff
beq end_zero_while_loop
ldr r6, [r0, #vp8_writer_buffer]
ldrb r7, [r6, r4]
add r7, r7, #1
strb r7, [r6, r4]
e... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_mbrow_armv7.asm | 281 | 335 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_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/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:2 | str r5, [sp, #36] ; save mb_rows
str r1, [sp, #24] ; save cx_data
str r2, [sp, #20] ; save num_part
str r3, [sp, #8] ; save *size
; *size = 3*(num_part -1 );
sub r2, r2, #1 ; num_part - 1
add r2, r... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:3 | mb_row_loop
ldr r1, [r7, #tokenlist_start]
ldr r9, [r7, #tokenlist_stop]
str r9, [sp, #0] ; save stop for later comparison
str r7, [sp, #16] ; tokenlist address for next time
b check_p_lt_stop
; actual work gets done here!
while_p_lt_stop
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 81 | 140 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:4 | ; loop start
token_loop
ldrb r4, [r9, lr, asr #1] ; pp [i>>1]
sub r7, r5, #1 ; range-1
; Decisions are made based on the bit value shifted
; off of v, so set a flag here based on this.
; This value is refered to as "bb"
lsrs r12, r12, #1 ; bb = v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 121 | 180 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:5 | b token_zero_while_start
token_zero_while_loop
mov r10, #0
strb r10, [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 r11, [r7, r4]
cmpge r11, #0... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 161 | 220 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:6 | ldr r6, [r1, #tokenextra_token] ; t
ldr r7, [sp, #84] ; vp8_extra_bits
; Add t * sizeof (vp8_extra_bit_struct) to get the desired
; element. Here vp8_extra_bit_struct == 20
add r6, r6, r6, lsl #2 ; b = vp8_extra_bits + t
add r12, r7, r6, lsl #2 ; b =... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 201 | 260 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:7 | addcs r2, r2, r4 ; if (bb) lowvalue += split
subcs r4, r5, r4 ; if (bb) range = range-split
clz r6, r4
sub r6, r6, #24
adds r3, r3, r6 ; count += shift
lsl r5, r4, r6 ; range <<= shift
bmi extra_count_... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 241 | 300 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:8 | add r11, r4, #1 ; w->pos++
bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff
str r11, [r0, #vp8_writer_pos]
sub r3, r3, #8 ; count -= 8
strb r7, [r10, r4] ; w->buffer[w->pos++]=(lowvalue >> (24-offset))
ldr r10, [sp, #4] ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 281 | 340 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:9 | strb r7, [r6, r4]
end_high_bit_not_set
adds r3, r3, #1 ; ++count
lsl r2, r2, #1 ; lowvalue <<= 1
bne end_count_zero
ldr r4, [r0, #vp8_writer_pos]
mvn r3, #7
ldr r7, [r0, #vp8_writer_buffer]
lsr r6, r2, #24 ; lo... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 321 | 380 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:10 | mov r7, #1
add r4, r7, r4, lsr #8 ; 1 + (((range-1) * 128) >> 8)
; Counting the leading zeros is used to normalize range.
clz r6, r4
sub r6, r6, #24 ; shift
; Flag is set on the sum of count. This flag is used later
; to determine if count >= 0
add... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 361 | 420 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:11 | ldr r4, [r0, #vp8_writer_pos] ; w->pos
lsl r2, r2, r6 ; lowvalue <<= offset
mov r6, r3 ; shift = count
add r11, r4, #1 ; w->pos++
bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff
str r11, [r0, #vp8_writer_pos]
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 401 | 460 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:12 | skip_write_partition
ldr r11, [sp, #28] ; i
ldr r10, [sp, #20] ; num_parts
add r11, r11, #1 ; i++
str r11, [sp, #28]
ldr r7, [sp, #32] ; cpi->tp_list[i]
mov r1, #TOKENLIST_SZ
add r7, r7, r1 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 441 | 472 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_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/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_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/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 1 | 60 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:2 | str r1, [sp, #24] ; save cx_data
str r2, [sp, #20] ; save num_part
str r3, [sp, #8] ; save *size
; *size = 3*(num_part -1 );
sub r2, r2, #1 ; num_part - 1
add r2, r2, r2, lsl #1 ; 3*(num_part - 1)
str r... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 41 | 100 |
webmproject/libvpx:vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm:3 | ldr r1, [r7, #tokenlist_start]
ldr r9, [r7, #tokenlist_stop]
str r9, [sp, #0] ; save stop for later comparison
str r7, [sp, #16] ; tokenlist address for next time
b check_p_lt_stop
; actual work gets done here!
while_p_lt_stop
ldr r6, [r1... | arm | masm-like | handwritten | webmproject/libvpx | vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/encoder/arm/neon/vp8_packtokens_partitions_armv7.asm | 81 | 140 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.