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:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 610642c13082179ecaf96c6e56feeb68bfe933ac | github | media | https://github.com/webmproject/libvpx/blob/610642c13082179ecaf96c6e56feeb68bfe933ac/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:5 | ; temp_out[2, 3] = d19, d18 = q9 swapped
; ROUND_POWER_OF_TWO(temp_out[j], 4)
vrshr.s16 q8, q8, #4
vrshr.s16 q9, q9, #4
vld1.32 {d26[0]}, [r1], r2
vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27[1]}, [r1], r2
vld1.32 {d27[0]}, [r1] ; no post-increment
; ROUND_POWER_OF_TWO(temp_out[j], 4) + d... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 610642c13082179ecaf96c6e56feeb68bfe933ac | github | media | https://github.com/webmproject/libvpx/blob/610642c13082179ecaf96c6e56feeb68bfe933ac/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 161 | 190 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:2 | add r0, #0x21
; cospi_16_64 = 11585 = 0x2d41
mov r3, #0x2d00
add r3, #0x41
; cospi_24_64 = 6270 = 0x 187e
mov r12, #0x1800
add r12, #0x7e
; generate constant vectors
vdup.16 d20, r0; ; replicate cospi_8_64
vdu... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:3 | ; input[1] * cospi_8_64 + input[3] * cospi_24_64;
vmull.s16 q15, d17, d22
vmull.s16 q1, d17, d20
vmlsl.s16 q15, d19, d20
vmlal.s16 q1, d19, d22
; dct_const_round_shift
vqrshrn.s32 d26, q13, #14
vqrshrn.s32 d27, q14, #14
vqrshrn.s32 d29, q15, #14
vqrshrn.s32 d28, q1, #14
; s... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:4 | ; stage 1
; (input[0] + input[2]) * cospi_16_64;
; (input[0] - input[2]) * cospi_16_64;
vadd.s16 d23, d16, d18
vsub.s16 d24, d16, d18
vmull.s16 q13, d23, d21
vmull.s16 q14, d24, d21
; input[1] * cospi_24_64 - input[3] * cospi_8_64;
; input[1] * cospi_8_64 + input[3] * cospi_24_64;
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:5 | vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27[1]}, [r1], r2
vld1.32 {d27[0]}, [r1] ; no post-increment
; ROUND_POWER_OF_TWO(temp_out[j], 4) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d26
vaddw.u8 q9, q9, d27
; clip_pixel
vqmovun.s16 d26, q8
vqmovun.s16 d27, q9
; do the stores in reve... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 161 | 183 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | df0715204cccc9d9652bf43eb6fc164cca6a0fe4 | github | media | https://github.com/webmproject/libvpx/blob/df0715204cccc9d9652bf43eb6fc164cca6a0fe4/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:2 | mov r0, #0x3b00
add r0, #0x21
; cospi_16_64 = 11585 = 0x2d41
mov r3, #0x2d00
add r3, #0x41
; cospi_24_64 = 6270 = 0x 187e
mov r12, #0x1800
add r12, #0x7e
; generate constant vectors
vdup.16 d20, r0; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | df0715204cccc9d9652bf43eb6fc164cca6a0fe4 | github | media | https://github.com/webmproject/libvpx/blob/df0715204cccc9d9652bf43eb6fc164cca6a0fe4/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:3 | ; input[1] * cospi_24_64 - input[3] * cospi_8_64;
; input[1] * cospi_8_64 + input[3] * cospi_24_64;
vmull.s16 q15, d17, d22
vmull.s16 q1, d17, d20
vmlsl.s16 q15, d19, d20
vmlal.s16 q1, d19, d22
; dct_const_round_shift
vqrshrn.s32 d26, q13, #14
vqrshrn.s32 d27, q14, #14
vqrshrn.s3... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | df0715204cccc9d9652bf43eb6fc164cca6a0fe4 | github | media | https://github.com/webmproject/libvpx/blob/df0715204cccc9d9652bf43eb6fc164cca6a0fe4/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:4 | ; stage 1
; (input[0] + input[2]) * cospi_16_64;
; (input[0] - input[2]) * cospi_16_64;
vadd.s16 d23, d16, d18
vsub.s16 d24, d16, d18
vmull.s16 q13, d23, d21
vmull.s16 q14, d24, d21
; input[1] * cospi_24_64 - input[3] * cospi_8_64;
; input[1] * cospi_8_64 + input[3] * cospi_24_64;
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | df0715204cccc9d9652bf43eb6fc164cca6a0fe4 | github | media | https://github.com/webmproject/libvpx/blob/df0715204cccc9d9652bf43eb6fc164cca6a0fe4/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:5 | vld1.32 {d26[0]}, [r1], r2
vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27[1]}, [r1], r2
vld1.32 {d27[0]}, [r1] ; no post-increment
; ROUND_POWER_OF_TWO(temp_out[j], 4) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d26
vaddw.u8 q9, q9, d27
; clip_pixel
vqmovun.s16 d26, q8
vqmovun.s16 d27, ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | df0715204cccc9d9652bf43eb6fc164cca6a0fe4 | github | media | https://github.com/webmproject/libvpx/blob/df0715204cccc9d9652bf43eb6fc164cca6a0fe4/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 161 | 184 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:2 | mov r0, #0x3b00
add r0, #0x21
; cospi_16_64 = 11585 = 0x2d41
mov r3, #0x2d00
add r3, #0x41
; cospi_24_64 = 6270 = 0x 187e
mov r12, #0x1800
add r12, #0x7e
; generate constant vectors
vdup.16 d20, r0; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 78182538d64d2e919c2729fd7f10dd77ded27bec | github | media | https://github.com/webmproject/libvpx/blob/78182538d64d2e919c2729fd7f10dd77ded27bec/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:3 | ; input[1] * cospi_24_64 - input[3] * cospi_8_64;
; input[1] * cospi_8_64 + input[3] * cospi_24_64;
vmull.s16 q15, d17, d22
vmull.s16 q0, d19, d20
vmull.s16 q1, d17, d20
vmull.s16 q2, d19, d22
vsub.s32 q3, q15, q0
vadd.s32 q8, q1, q2
; dct_const_round_shift
vqrshrn.s32 d26,... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 78182538d64d2e919c2729fd7f10dd77ded27bec | github | media | https://github.com/webmproject/libvpx/blob/78182538d64d2e919c2729fd7f10dd77ded27bec/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:4 | ; do the transform on columns
; stage 1
; (input[0] + input[2]) * cospi_16_64;
; (input[0] - input[2]) * cospi_16_64;
vadd.s16 d23, d16, d18
vsub.s16 d24, d16, d18
vmull.s16 q13, d23, d21
vmull.s16 q14, d24, d21
; input[1] * cospi_24_64 - input[3] * cospi_8_64;
; input[1] * cospi... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 78182538d64d2e919c2729fd7f10dd77ded27bec | github | media | https://github.com/webmproject/libvpx/blob/78182538d64d2e919c2729fd7f10dd77ded27bec/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm:5 | ; ROUND_POWER_OF_TWO(temp_out[j], 4)
vrshr.s16 q8, q8, #4
vrshr.s16 q9, q9, #4
vld1.32 {d26[0]}, [r1], r2
vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27[1]}, [r1], r2
vld1.32 {d27[0]}, [r1] ; no post-increment
; ROUND_POWER_OF_TWO(temp_out[j], 4) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | BSD-3-Clause | 78182538d64d2e919c2729fd7f10dd77ded27bec | github | media | https://github.com/webmproject/libvpx/blob/78182538d64d2e919c2729fd7f10dd77ded27bec/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 161 | 188 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm:1 | ;
; Copyright (c) 2013 The WebM 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 sour... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | BSD-3-Clause | c6ad70d5f1a79231d177df6323f35b658e45edd0 | github | media | https://github.com/webmproject/libvpx/blob/c6ad70d5f1a79231d177df6323f35b658e45edd0/vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm:2 | asr r0, r0, #14 ; >> DCT_CONST_BITS
; a1 = ROUND_POWER_OF_TWO(out, 5)
add r0, r0, #16 ; + (1 <<((5) - 1))
asr r0, r0, #5 ; >> 5
vdup.s16 q0, r0 ; duplicate a1
; load destination data
v... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | BSD-3-Clause | c6ad70d5f1a79231d177df6323f35b658e45edd0 | github | media | https://github.com/webmproject/libvpx/blob/c6ad70d5f1a79231d177df6323f35b658e45edd0/vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | 41 | 88 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm:1 | ;
; Copyright (c) 2013 The WebM 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 sour... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | BSD-3-Clause | 36e9b82080605f8f015ad1bf388b00cb7f83f325 | github | media | https://github.com/webmproject/libvpx/blob/36e9b82080605f8f015ad1bf388b00cb7f83f325/vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm:2 | asr r0, r0, #14 ; >> DCT_CONST_BITS
; a1 = ROUND_POWER_OF_TWO(out, 5)
add r0, r0, #16 ; + (1 <<((5) - 1))
asr r0, r0, #5 ; >> 5
vdup.s16 q0, r0 ; duplicate a1
; load destination data
v... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | BSD-3-Clause | 36e9b82080605f8f015ad1bf388b00cb7f83f325 | github | media | https://github.com/webmproject/libvpx/blob/36e9b82080605f8f015ad1bf388b00cb7f83f325/vp9/common/arm/neon/vp9_short_idct8x8_1_add_neon.asm | 41 | 88 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | c6ad70d5f1a79231d177df6323f35b658e45edd0 | github | media | https://github.com/webmproject/libvpx/blob/c6ad70d5f1a79231d177df6323f35b658e45edd0/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q13, d5
vaddw.u8 q14, q14, d6
vaddw.u8 q15, q15, d7
; clip_pixel
vqmovun.s16 d0, q8
vqmovun.s16 d1, q9
vqmovun.s16 d2, q10
vqmovun.s16 d3, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | c6ad70d5f1a79231d177df6323f35b658e45edd0 | github | media | https://github.com/webmproject/libvpx/blob/c6ad70d5f1a79231d177df6323f35b658e45edd0/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:13 | vld1.64 {d6}, [r1], r2
vld1.64 {d7}, [r1]
; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | c6ad70d5f1a79231d177df6323f35b658e45edd0 | github | media | https://github.com/webmproject/libvpx/blob/c6ad70d5f1a79231d177df6323f35b658e45edd0/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 481 | 519 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d | github | media | https://github.com/webmproject/libvpx/blob/3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:5 | vmlal.s16 q11, d26, d16
vmlal.s16 q12, d27, d16
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d10, q9, #14 ; >> 14
vqrshrn.s32 d11, q10, #14 ; >> 14
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q11, #14 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d | github | media | https://github.com/webmproject/libvpx/blob/3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:6 | ;void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride)
;
; r0 int16_t input
; r1 uint8_t *dest
; r2 int dest_stride)
|vp9_short_idct8x8_add_neon| PROC
push {r4-r9}
vpush {d8-d15}
vld1.s16 {q8,q9}, [r0]!
vld1.s16 {q10,q11}, [r0]!
vld1.s... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d | github | media | https://github.com/webmproject/libvpx/blob/3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q13, d5
vaddw.u8 q14, q14, d6
vaddw.u8 q15, q15, d7
; clip_pixel
vqmovun.s16 d0, q8
vqmovun.s16 d1, q9
vqmovun.s16 d2, q10
vqmovun.s16 d3, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d | github | media | https://github.com/webmproject/libvpx/blob/3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:13 | vld1.64 {d6}, [r1], r2
vld1.64 {d7}, [r1]
; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d | github | media | https://github.com/webmproject/libvpx/blob/3fab2125ff77c4e67bc28c49a1ab74cf9f56c54d/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 481 | 519 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 01c4e0442448e41da4fc82951f0f2dbaa31c33df | github | media | https://github.com/webmproject/libvpx/blob/01c4e0442448e41da4fc82951f0f2dbaa31c33df/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q13, d5
vaddw.u8 q14, q14, d6
vaddw.u8 q15, q15, d7
; clip_pixel
vqmovun.s16 d0, q8
vqmovun.s16 d1, q9
vqmovun.s16 d2, q10
vqmovun.s16 d3, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 01c4e0442448e41da4fc82951f0f2dbaa31c33df | github | media | https://github.com/webmproject/libvpx/blob/01c4e0442448e41da4fc82951f0f2dbaa31c33df/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:13 | vld1.64 {d6}, [r1], r2
vld1.64 {d7}, [r1]
; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 01c4e0442448e41da4fc82951f0f2dbaa31c33df | github | media | https://github.com/webmproject/libvpx/blob/01c4e0442448e41da4fc82951f0f2dbaa31c33df/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 481 | 519 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:2 | ; input[1] * cospi_4_64
vmull.s16 q2, d18, d1
vmull.s16 q3, d19, d1
; input[1]*cospi_4_64+input[7]*cospi_28_64
vmlal.s16 q2, d30, d0
vmlal.s16 q3, d31, d0
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d14, q2, #14 ; >> 14
vqrshrn.s... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:3 | vdup.16 d0, r7 ; duplicate cospi_16_64
; input[0] * cospi_16_64
vmull.s16 q2, d16, d0
vmull.s16 q3, d17, d0
; (input[0] + input[2]) * cospi_16_64
vmlal.s16 q2, d24, d0
vmlal.s16 q3, d25, d0
; dct_const_round_shift(input_dc * cospi_16_64)... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:4 | vqrshrn.s32 d27, q3, #14 ; >> 14
; input[1] * cospi_8_64
vmull.s16 q2, d20, d1
vmull.s16 q3, d21, d1
; input[1] * cospi_8_64 + input[3] * cospi_24_64
vmlal.s16 q2, d28, d0
vmlal.s16 q3, d29, d0
; dct_const_round_shift(input_dc * cospi_16_64)
vq... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:5 | ; step2[6] * cospi_16_64
vmull.s16 q9, d28, d16
vmull.s16 q10, d29, d16
; (step2[5] + step2[6]) * cospi_16_64
vmlal.s16 q9, d26, d16
vmlal.s16 q10, d27, d16
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:6 | AREA Block, CODE, READONLY ; name this block of code
;void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride)
;
; r0 int16_t input
; r1 uint8_t *dest
; r2 int dest_stride)
|vp9_short_idct8x8_add_neon| PROC
push {r4-r9}
vpush {d8-d15}
vld1.s16 {q8,q9... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:7 | mov r8, #0x1800
add r8, #0x7e
; generate cospi_8_64 = 15137
mov r9, #0x3b00
add r9, #0x21
; First transform rows
IDCT8x8_1D
; Transpose the matrix
TRANSPOSE8X8
; Then transform columns
IDCT8x8_1D
; ROUND_POWER_OF_TWO(temp_o... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q13, d5
vaddw.u8 q14, q14, d6
vaddw.u8 q15, q15, d7
; clip_pixel
vqmovun.s16 d0, q8
vqmovun.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:9 | |vp9_short_idct10_8x8_add_neon| PROC
push {r4-r9}
vpush {d8-d15}
vld1.s16 {q8,q9}, [r0]!
vld1.s16 {q10,q11}, [r0]!
vld1.s16 {q12,q13}, [r0]!
vld1.s16 {q14,q15}, [r0]!
; transpose the input data
TRANSPOSE8X8
; generate cospi_28_64 = ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 321 | 380 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:10 | ; stage 1
; The following instructions use vqrdmulh to do the
; dct_const_round_shift(input[1] * cospi_28_64). vqrdmulh will do doubling
; multiply and shift the result by 16 bits instead of 14 bits. So we need
; to double the constants before multiplying to compensate this.
mov r12, r3,... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 361 | 420 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:11 | vdup.16 q0, r12 ; duplicate cospi_8_64*2
; dct_const_round_shift(input[1] * cospi_24_64)
vqrdmulh.s16 q13, q10, q1
; dct_const_round_shift(input[1] * cospi_8_64)
vqrdmulh.s16 q15, q10, q0
; stage 3 -odd half
vdup.16 d16, r7 ; duplicate... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 401 | 460 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:12 | vmlal.s16 q10, d27, d16
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn.s32 d13, q10, #14 ; >> 14
; stage 4
vadd.s16 q8, q0, q7 ; output[0] = step1[0] + step1[7];
vadd.s16 q9, q1, q6 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 441 | 500 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:13 | vld1.64 {d4}, [r1], r2
vld1.64 {d5}, [r1], r2
vld1.64 {d6}, [r1], r2
vld1.64 {d7}, [r1]
; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 37cda6dc4c1d6e585e5f648b44c473e01bd8ae91 | github | media | https://github.com/webmproject/libvpx/blob/37cda6dc4c1d6e585e5f648b44c473e01bd8ae91/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 481 | 521 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:2 | vmull.s16 q2, d18, d1
vmull.s16 q3, d19, d1
; input[1]*cospi_4_64+input[7]*cospi_28_64
vmlal.s16 q2, d30, d0
vmlal.s16 q3, d31, d0
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d14, q2, #14 ; >> 14
vqrshrn.s32 d15, q3, #14 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:3 | ; input[0] * cospi_16_64
vmull.s16 q2, d16, d0
vmull.s16 q3, d17, d0
; input[2] * cospi_16_64
vmull.s16 q9, d24, d0
vmull.s16 q11, d25, d0
; (input[0] + input[2]) * cospi_16_64
vadd.s32 q9, q2, q9
vadd.s32 q11, q3, q11
; dct_const_round_shift... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:4 | ; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d26, q2, #14 ; >> 14
vqrshrn.s32 d27, q3, #14 ; >> 14
; input[1] * cospi_8_64
vmull.s16 q2, d20, d1
vmull.s16 q3, d21, d1
; input[1] * cospi_8_64 + input[3] * cospi_24_64
vmlal.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:5 | ; (step2[6] - step2[5]) * cospi_16_64
vsub.s32 q9, q9, q11
vsub.s32 q10, q10, q12
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d10, q9, #14 ; >> 14
vqrshrn.s32 d11, q10, #14 ; >> 14
; step2[6] * cospi_16_64
vmull.s16 q9, d... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:6 | vtrn.32 q12, q14
vtrn.32 q13, q15
vtrn.16 q8, q9
vtrn.16 q10, q11
vtrn.16 q12, q13
vtrn.16 q14, q15
MEND
AREA Block, CODE, READONLY ; name this block of code
;void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride)
;... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:7 | add r5, #0x37
; generate cospi_20_64 = 9102
mov r6, #0x2300
add r6, #0x8e
; generate cospi_16_64 = 11585
mov r7, #0x2d00
add r7, #0x41
; generate cospi_24_64 = 6270
mov r8, #0x1800
add r8, #0x7e
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | ; load destination data
vld1.64 {d0}, [r1], r2
vld1.64 {d1}, [r1], r2
vld1.64 {d2}, [r1], r2
vld1.64 {d3}, [r1], r2
vld1.64 {d4}, [r1], r2
vld1.64 {d5}, [r1], r2
vld1.64 {d6}, [r1], r2
vld1.64 {d7}, [r1]
; ROUND_POWER_O... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 60ecd60c9a7f3522f4c6563a430e9ea65ac134ab | github | media | https://github.com/webmproject/libvpx/blob/60ecd60c9a7f3522f4c6563a430e9ea65ac134ab/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 326 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:2 | vqrshrn.s32 d8, q6, #14 ; >> 14
vqrshrn.s32 d9, q7, #14 ; >> 14
; input[1] * cospi_4_64
vmull.s16 q2, d18, d1
vmull.s16 q3, d19, d1
; input[7] * cospi_28_64
vmull.s16 q1, d30, d0
vmull.s16 q5, d31, d0
; input[1]*cospi_4_64+in... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:3 | vmull.s16 q3, d27, d1
; input[3] * cospi_12_64
vmull.s16 q9, d22, d0
vmull.s16 q15, d23, d0
; input[5] * cospi_20_64 + input[3] * cospi_12_64
vadd.s32 q0, q2, q9
vadd.s32 q1, q3, q15
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:4 | ; (input[0] - input[2]) * cospi_16_64
vsub.s32 q2, q2, q13
vsub.s32 q3, q3, q15
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d22, q2, #14 ; >> 14
vqrshrn.s32 d23, q3, #14 ; >> 14
; input[1] * cospi_24_64 - input[3] * cospi_8_64
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:5 | ; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d30, q0, #14 ; >> 14
vqrshrn.s32 d31, q1, #14 ; >> 14
vadd.s16 q0, q9, q15 ; output[0] = step[0] + step[3]
vadd.s16 q1, q11, q13 ; output[1] = step[1] + step[2]
vs... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:6 | ; step2[5] * cospi_16_64
vmull.s16 q11, d26, d16
vmull.s16 q12, d27, d16
; (step2[5] + step2[6]) * cospi_16_64
vadd.s32 q9, q9, q11
vadd.s32 q10, q10, q12
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:7 | AREA Block, CODE, READONLY ; name this block of code
;void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride)
;
; r0 int16_t input
; r1 uint8_t *dest
; r2 int dest_stride)
|vp9_short_idct8x8_add_neon| PROC
push {r4-r9}
vld1.s16 {q8}, [r0]!
vld1.s16 {q9... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | ; generate cospi_24_64 = 6270
mov r8, #0x1800
add r8, #0x7e
; generate cospi_8_64 = 15137
mov r9, #0x3b00
add r9, #0x21
; First transform rows
IDCT8x8_1D
; Transpose the matrix
TRANSPOSE8X8
; Then transform columns
IDCT8x8_1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:9 | ; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
vaddw.u8 q8, q8, d0
vaddw.u8 q9, q9, d1
vaddw.u8 q10, q10, d2
vaddw.u8 q11, q11, d3
vaddw.u8 q12, q12, d4
vaddw.u8 q13, q13, d5
vaddw.u8 q14, q14, d6
vaddw.u8 q15, q15... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | 588b4daf5411ac09e0d17786080ddfa2a3ad3da2 | github | media | https://github.com/webmproject/libvpx/blob/588b4daf5411ac09e0d17786080ddfa2a3ad3da2/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 321 | 356 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:2 | vqrshrn.s32 d8, q6, #14 ; >> 14
vqrshrn.s32 d9, q7, #14 ; >> 14
; input[1] * cospi_4_64
vmull.s16 q2, d18, d1
vmull.s16 q3, d19, d1
; input[7] * cospi_28_64
vmull.s16 q1, d30, d0
vmull.s16 q5, d31, d0
; input[1]*cospi_4_64+in... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:3 | vmull.s16 q3, d27, d1
; input[3] * cospi_12_64
vmull.s16 q9, d22, d0
vmull.s16 q15, d23, d0
; input[5] * cospi_20_64 + input[3] * cospi_12_64
vadd.s32 q0, q2, q9
vadd.s32 q1, q3, q15
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:4 | ; (input[0] - input[2]) * cospi_16_64
vsub.s32 q2, q2, q13
vsub.s32 q3, q3, q15
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d22, q2, #14 ; >> 14
vqrshrn.s32 d23, q3, #14 ; >> 14
; input[1] * cospi_24_64 - input[3] * cospi_8_64
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:5 | ; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d30, q0, #14 ; >> 14
vqrshrn.s32 d31, q1, #14 ; >> 14
vadd.s16 q0, q9, q15 ; output[0] = step[0] + step[3]
vadd.s16 q1, q11, q13 ; output[1] = step[1] + step[2]
vs... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:6 | ; step2[5] * cospi_16_64
vmull.s16 q11, d26, d16
vmull.s16 q12, d27, d16
; (step2[5] + step2[6]) * cospi_16_64
vadd.s32 q9, q9, q11
vadd.s32 q10, q10, q12
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm:8 | ; generate cospi_24_64 = 6270
mov r8, #0x1800
add r8, #0x7e
; generate cospi_8_64 = 15137
mov r9, #0x3b00
add r9, #0x21
; First transform rows
IDCT8x8_1D
; Transpose the matrix
TRANSPOSE8X8
; Then transform columns
IDCT8x8_1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | BSD-3-Clause | d757de744cbdd31c9267a49a87e2cc2488c12535 | github | media | https://github.com/webmproject/libvpx/blob/d757de744cbdd31c9267a49a87e2cc2488c12535/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:2 | ; stage 2
; output[0] = step[0] + step[3];
; output[1] = step[1] + step[2];
; output[3] = step[0] - step[3];
; output[2] = step[1] - step[2];
vadd.s16 q8, q13, q14
vsub.s16 q9, q13, q14
vswp d18, d19
MEND
; Parallel 1D IADST on all the columns of a 4x4 16bits data mat... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:3 | ; dct_const_round_shift
vqrshrn.s32 d16, q13, #14
vqrshrn.s32 d17, q14, #14
vqrshrn.s32 d18, q15, #14
vqrshrn.s32 d19, q10, #14
MEND
; Generate cosine constants in d6 - d8 for the IDCT
MACRO
GENERATE_COSINE_CONSTANTS
; cospi_8_64 = 15137 = 0x3b21
mov r0, #0x3b00
add ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:4 | ; generate constant vectors
vdup.16 d3, r0 ; duplicate sinpi_1_9
; sinpi_3_9 = 13377 = 0x3441
mov r0, #0x3400
add r0, #0x41
vdup.16 d4, r3 ; duplicate sinpi_2_9
vdup.16 d5, r12 ; duplicate sinpi_4_9
vdup.16 q3, r0 ; duplica... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:5 | cmp r3, #3
beq iadst_iadst
iadst_idct
; generate constants
GENERATE_COSINE_CONSTANTS
GENERATE_SINE_CONSTANTS
; first transform rows
IDCT4x4_1D
; transpose the matrix
TRANSPOSE4X4
; then transform columns
IADST4x4_1D
b end_vp9_iht4x4_16_add_neon
idct_iads... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:6 | IADST4x4_1D
; transpose the matrix
TRANSPOSE4X4
; then transform columns
IADST4x4_1D
end_vp9_iht4x4_16_add_neon
; ROUND_POWER_OF_TWO(temp_out[j], 4)
vrshr.s16 q8, q8, #4
vrshr.s16 q9, q9, #4
vld1.32 {d26[0]}, [r1], r2
vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27[0]... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 201 | 237 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 3b8614a8f6833e98e891f19c095f7d9fbc4e4622 | github | media | https://github.com/webmproject/libvpx/blob/3b8614a8f6833e98e891f19c095f7d9fbc4e4622/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:4 | ; generate constant vectors
vdup.16 d3, r0 ; duplicate sinpi_1_9
; sinpi_3_9 = 13377 = 0x3441
mov r0, #0x3400
add r0, #0x41
vdup.16 d4, r3 ; duplicate sinpi_2_9
vdup.16 d5, r12 ; duplicate sinpi_4_9
vdup.16 q3, r0 ; duplica... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 3b8614a8f6833e98e891f19c095f7d9fbc4e4622 | github | media | https://github.com/webmproject/libvpx/blob/3b8614a8f6833e98e891f19c095f7d9fbc4e4622/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:5 | cmp r3, #3
beq iadst_iadst
iadst_idct
; generate constants
GENERATE_COSINE_CONSTANTS
GENERATE_SINE_CONSTANTS
; first transform rows
IDCT4x4_1D
; transpose the matrix
TRANSPOSE4X4
; then transform columns
IADST4x4_1D
b end_vp9_short_iht4x4_add_neon
idct_i... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 3b8614a8f6833e98e891f19c095f7d9fbc4e4622 | github | media | https://github.com/webmproject/libvpx/blob/3b8614a8f6833e98e891f19c095f7d9fbc4e4622/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm:6 | IADST4x4_1D
; transpose the matrix
TRANSPOSE4X4
; then transform columns
IADST4x4_1D
end_vp9_short_iht4x4_add_neon
; ROUND_POWER_OF_TWO(temp_out[j], 4)
vrshr.s16 q8, q8, #4
vrshr.s16 q9, q9, #4
vld1.32 {d26[0]}, [r1], r2
vld1.32 {d26[1]}, [r1], r2
vld1.32 {d27... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | BSD-3-Clause | 3b8614a8f6833e98e891f19c095f7d9fbc4e4622 | github | media | https://github.com/webmproject/libvpx/blob/3b8614a8f6833e98e891f19c095f7d9fbc4e4622/vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | 201 | 237 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:14 | vqrshrn.s32 d4, q2, #14 ; >> 14
vqrshrn.s32 d5, q3, #14 ; >> 14
;x3 = dct_const_round_shift(s3);
vqrshrn.s32 d24, q13, #14 ; >> 14
vqrshrn.s32 d25, q1, #14 ; >> 14
; cospi_16_64 * x6
vmull.s16 q13, d10, d30
vmull.s1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:15 | AREA Block, CODE, READONLY ; name this block of code
;void vp9_iht8x8_64_add_neon(int16_t *input, uint8_t *dest,
; int dest_stride, int tx_type)
;
; r0 int16_t input
; r1 uint8_t *dest
; r2 int dest_stride
; r3 int tx_type)
; This function will only handle tx_type of 1,2,3.
|vp9_ih... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 561 | 620 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:16 | ; then transform columns
IADST8X8_1D
b end_vp9_iht8x8_64_add_neon
idct_iadst
; generate IADST constants
GENERATE_IADST_CONSTANTS
; first transform rows
IADST8X8_1D
; transpose the matrix
TRANSPOSE8X8
; generate IDCT constants
GENERATE_IDCT_CONSTANTS
; then transform col... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 601 | 660 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:17 | ; ROUND_POWER_OF_TWO(temp_out[j], 5)
vrshr.s16 q8, q8, #5
vrshr.s16 q9, q9, #5
vrshr.s16 q10, q10, #5
vrshr.s16 q11, q11, #5
vrshr.s16 q12, q12, #5
vrshr.s16 q13, q13, #5
vrshr.s16 q14, q14, #5
vrshr.s16 q15, q15, #5
; save dest pointe... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 641 | 696 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:18 | vqmovun.s16 d6, q14
vqmovun.s16 d7, q15
; store the data
vst1.64 {d0}, [r0], r2
vst1.64 {d1}, [r0], r2
vst1.64 {d2}, [r0], r2
vst1.64 {d3}, [r0], r2
vst1.64 {d4}, [r0], r2
vst1.64 {d5}, [r0], r2
vst1.64 {d6}, [r0], r2
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 7ef573914dc2a15e9ab6507111c386cde98fd65a | github | media | https://github.com/webmproject/libvpx/blob/7ef573914dc2a15e9ab6507111c386cde98fd65a/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 681 | 696 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:1 | ;
; Copyright (c) 2013 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 | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:14 | vqrshrn.s32 d4, q2, #14 ; >> 14
vqrshrn.s32 d5, q3, #14 ; >> 14
;x3 = dct_const_round_shift(s3);
vqrshrn.s32 d24, q13, #14 ; >> 14
vqrshrn.s32 d25, q1, #14 ; >> 14
; cospi_16_64 * x6
vmull.s16 q13, d10, d30
vmull.s1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:15 | AREA Block, CODE, READONLY ; name this block of code
;void vp9_short_iht8x8_add_neon(int16_t *input, uint8_t *dest,
; int dest_stride, int tx_type)
;
; r0 int16_t input
; r1 uint8_t *dest
; r2 int dest_stride
; r3 int tx_type)
; This function will only handle tx_type of 1,2,3.
|vp9... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 561 | 620 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:16 | ; then transform columns
IADST8X8_1D
b end_vp9_short_iht8x8_add_neon
idct_iadst
; generate IADST constants
GENERATE_IADST_CONSTANTS
; first transform rows
IADST8X8_1D
; transpose the matrix
TRANSPOSE8X8
; generate IDCT constants
GENERATE_IDCT_CONSTANTS
; then transform ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 601 | 660 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:17 | ; ROUND_POWER_OF_TWO(temp_out[j], 5)
vrshr.s16 q8, q8, #5
vrshr.s16 q9, q9, #5
vrshr.s16 q10, q10, #5
vrshr.s16 q11, q11, #5
vrshr.s16 q12, q12, #5
vrshr.s16 q13, q13, #5
vrshr.s16 q14, q14, #5
vrshr.s16 q15, q15, #5
; save dest pointe... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 641 | 696 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:18 | vqmovun.s16 d6, q14
vqmovun.s16 d7, q15
; store the data
vst1.64 {d0}, [r0], r2
vst1.64 {d1}, [r0], r2
vst1.64 {d2}, [r0], r2
vst1.64 {d3}, [r0], r2
vst1.64 {d4}, [r0], r2
vst1.64 {d5}, [r0], r2
vst1.64 {d6}, [r0], r2
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 23e1a29fc79837aa4ce97953d4b8e77dbc4b0761 | github | media | https://github.com/webmproject/libvpx/blob/23e1a29fc79837aa4ce97953d4b8e77dbc4b0761/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 681 | 696 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:7 | vsub.s16 q13, q4, q5 ; step2[5] = step1[4] - step1[5]
vadd.s16 q4, q4, q5 ; step2[4] = step1[4] + step1[5]
vsub.s16 q14, q7, q6 ; step2[6] = -step1[6] + step1[7]
vadd.s16 q7, q7, q6 ; step2[7] = step1[6] + step1[7]
; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:8 | ; Parallel 1D IADST on all the columns of a 8x8 16bits data matrix which
; loaded in q8-q15. IADST constants are loaded in r0 - r12 registers. The
; output will be stored back into q8-q15 registers. This macro will touch
; q0 - q7 registers and use them as buffer during calculation.
MACRO
IADST8X8_1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:9 | ; s5 = cospi_14_64 * x4 - cospi_18_64 * x5
vmlsl.s16 q7, d24, d30
vmlsl.s16 q8, d25, d30
; (s0 + s4)
vadd.s32 q11, q1, q5
vadd.s32 q12, q2, q6
; x0 = dct_const_round_shift(s0 + s4);
vqrshrn.s32 d22, q11, #14 ; >> 14
vqrshrn.s32 d23, q12, #1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 321 | 380 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:10 | vmull.s16 q4, d26, d30
vmull.s16 q5, d27, d30
; s2 = cospi_10_64 * x2 + cospi_22_64 * x3;
vmlal.s16 q4, d20, d31
vmlal.s16 q5, d21, d31
; cospi_22_64 * x2
vmull.s16 q2, d26, d31
vmull.s16 q6, d27, d31
; s3 = cospi_22_64 * x2 - cospi_10_64 * x3;
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 361 | 420 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:11 | vqrshrn.s32 d29, q15, #14 ; >> 14
; (s3 - s7)
vsub.s32 q2, q2, q10
vsub.s32 q6, q6, q9
; x7 = dct_const_round_shift(s3 - s7);
vqrshrn.s32 d4, q2, #14 ; >> 14
vqrshrn.s32 d5, q6, #14 ; >> 14
; (s2 + s6)
vadd.s32 q... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 401 | 460 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:12 | ; s5 = cospi_24_64 * x4 - cospi_8_64 * x5;
vmlsl.s16 q7, d6, d30
vmlsl.s16 q0, d7, d30
; cospi_8_64 * x7
vmull.s16 q1, d4, d30
vmull.s16 q3, d5, d30
; s6 = -cospi_24_64 * x6 + cospi_8_64 * x7;
vmlsl.s16 q1, d8, d31
vmlsl.s16 q3, d9, d31
; co... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 441 | 500 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:13 | ; x6 = dct_const_round_shift(s4 - s6);
vqrshrn.s32 d10, q5, #14 ; >> 14
vqrshrn.s32 d11, q6, #14 ; >> 14
; (s5 + s7)
vadd.s32 q1, q7, q10
vadd.s32 q3, q0, q2
; x5 = dct_const_round_shift(s5 + s7);
vqrshrn.s32 d28, q1, #14 ; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 481 | 540 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm:14 | vmlsl.s16 q13, d24, d30
vmlsl.s16 q1, d25, d30
;x3 = dct_const_round_shift(s3);
vqrshrn.s32 d24, q13, #14 ; >> 14
vqrshrn.s32 d25, q1, #14 ; >> 14
; cospi_16_64 * x6
vmull.s16 q13, d10, d30
vmull.s16 q1, d11, d30
; cospi_16_64 *... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | BSD-3-Clause | 182366c736fe59275efa5048ac2ed527ef90470c | github | media | https://github.com/webmproject/libvpx/blob/182366c736fe59275efa5048ac2ed527ef90470c/vp9/common/arm/neon/vp9_short_iht8x8_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/x86/vp9_copy_sse2.asm:3 | movu m2, [srcq+src_strideq*2]
movu m3, [srcq+r5q]
lea srcq, [srcq+src_strideq*4]
%ifidn %1, avg
pavgb m0, [dstq]
pavgb m1, [dstq+dst_strideq]
pavgb m2, [dstq+dst_strideq*2]
pavgb m... | x86_64 | nasm-like | macro-heavy | webmproject/libvpx | vp9/common/x86/vp9_copy_sse2.asm | BSD-3-Clause | decead7336246aa9f17469ae784c1ba0dc24b210 | github | media | https://github.com/webmproject/libvpx/blob/decead7336246aa9f17469ae784c1ba0dc24b210/vp9/common/x86/vp9_copy_sse2.asm | 81 | 140 |
webmproject/libvpx:vp9/common/x86/vp9_copy_sse2.asm:4 | sub r4d, 4
jnz .loop8
RET
.w4:
mov r4d, dword hm
lea r5q, [src_strideq*3]
lea r6q, [dst_strideq*3]
.loop4:
movh m0, [srcq]
movh m1, [srcq+src_strideq]
movh m2, [srcq+src_... | x86_64 | nasm-like | macro-heavy | webmproject/libvpx | vp9/common/x86/vp9_copy_sse2.asm | BSD-3-Clause | decead7336246aa9f17469ae784c1ba0dc24b210 | github | media | https://github.com/webmproject/libvpx/blob/decead7336246aa9f17469ae784c1ba0dc24b210/vp9/common/x86/vp9_copy_sse2.asm | 121 | 152 |
webmproject/libvpx:vp9/common/x86/vp9_high_intrapred_sse2.asm:9 | psubw m3, m2 ; max possible value
pxor m4, m4 ; min possible value
psubw m0, m1
.loop:
movd m1, [leftq+lineq*4]
movd m2, [leftq+lineq*4+2]
pshuflw m1, m1, 0x0
pshuflw m2, m2, 0x0
punpcklqdq ... | x86_64 | nasm-like | handwritten | webmproject/libvpx | vp9/common/x86/vp9_high_intrapred_sse2.asm | BSD-3-Clause | 1929c9b39198719c9b5a102385b56a0b909e1dfd | github | media | https://github.com/webmproject/libvpx/blob/1929c9b39198719c9b5a102385b56a0b909e1dfd/vp9/common/x86/vp9_high_intrapred_sse2.asm | 321 | 380 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.