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_idct16x16_add_neon.asm:27 | ; dct_const_round_shift(temp2)
vqrshrn.s32 d10, q8, #14 ; >> 14
vqrshrn.s32 d11, q9, #14 ; >> 14
; stage 5
vadd.s16 q8, q0, q3 ; step1[8] = step2[8]+step2[11];
vadd.s16 q9, q1, q2 ; step1[9] = step2[9]+step2[10];
vsub... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e | github | media | https://github.com/webmproject/libvpx/blob/15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,041 | 1,100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:28 | vqrshrn.s32 d5, q6, #14 ; >> 14
; dct_const_round_shift(temp2)
vqrshrn.s32 d10, q0, #14 ; >> 14
vqrshrn.s32 d11, q1, #14 ; >> 14
; step1[11] * cospi_16_64
vmull.s16 q0, d22, d14
vmull.s16 q1, d23, d14
; step1[12] * cospi_16_6... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e | github | media | https://github.com/webmproject/libvpx/blob/15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,081 | 1,140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:29 | vadd.s16 q12, q0, q15 ; step2[0] + step2[15]
vadd.s16 q13, q1, q14 ; step2[1] + step2[14]
vld1.s16 {q10}, [r2], r4 ; load data step2[2]
vld1.s16 {q11}, [r2], r4 ; load data step2[3]
vst1.64 {d24}, [r1], r3 ; stor... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e | github | media | https://github.com/webmproject/libvpx/blob/15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,121 | 1,180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:30 | vst1.64 {d16}, [r1], r3
vst1.64 {d17}, [r1], r5
vst1.64 {d18}, [r1], r3
vst1.64 {d19}, [r1], r5
vst1.64 {d4}, [r1], r3
vst1.64 {d5}, [r1], r5
vst1.64 {d6}, [r1], r3
vst1.64 {d7}, [r1], r5
vst1.64 {d8}, [r1], r3
v... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e | github | media | https://github.com/webmproject/libvpx/blob/15a36a0a0ddaa154c6ab3c3c32a86a71f07c640e/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,161 | 1,191 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_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_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:20 | vsub.s16 q3, q0, q3 ; step2[4] - step2[11]
vsub.s16 q8, q11, q8 ; step2[7] - step2[8]
vsub.s16 q9, q10, q9 ; step2[6] - step2[9]
vst1.64 {d24}, [r1], r3 ; store output[6]
vst1.64 {d25}, [r1], r5
vst1.64 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 761 | 820 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:21 | |vp9_short_idct10_16x16_add_neon_pass1| PROC
; TODO(hkuang): Find a better way to load the elements.
; load elements of 0, 2, 4, 6, 8, 10, 12, 14 into q8 - q15
vld2.s16 {q8,q9}, [r0]!
vld2.s16 {q9,q10}, [r0]!
vld2.s16 {q10,q11}, [r0]!
vld2.s16 {q11,q12}, [r0]!
vl... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 801 | 860 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:23 | ; stage 6
vadd.s16 q2, q8, q7 ; step2[0] = step1[0] + step1[7];
vadd.s16 q10, q8, q5 ; step2[2] = step1[2] + step1[5];
vadd.s16 q11, q8, q4 ; step2[3] = step1[3] + step1[4];
vadd.s16 q9, q8, q6 ; step2[1] = step1[1] + ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 881 | 940 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:24 | ; r2 int16_t *pass1Output,
; r3 int16_t skip_adding,
; r4 uint8_t *dest,
; r5 int dest_stride)
; idct16 stage1 - stage7 on all the elements loaded in q8-q15. The output
; will be stored back into q8-q15 registers. This function will touch q0-q7
; registers and use them as buffer during calculation.
|vp9_short_idct... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 921 | 980 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:29 | vadd.s16 q12, q0, q15 ; step2[0] + step2[15]
vadd.s16 q13, q1, q14 ; step2[1] + step2[14]
vld1.s16 {q10}, [r2], r4 ; load data step2[2]
vld1.s16 {q11}, [r2], r4 ; load data step2[3]
vst1.64 {d24}, [r1], r3 ; stor... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,121 | 1,180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:30 | vst1.64 {d16}, [r1], r3
vst1.64 {d17}, [r1], r5
vst1.64 {d18}, [r1], r3
vst1.64 {d19}, [r1], r5
vst1.64 {d4}, [r1], r3
vst1.64 {d5}, [r1], r5
vst1.64 {d6}, [r1], r3
vst1.64 {d7}, [r1], r5
vst1.64 {d8}, [r1], r3
v... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,161 | 1,191 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_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_idct16x16_add_neon.asm | BSD-3-Clause | fc5ec206a7aaa090a442294c6e498879e31f2eb5 | github | media | https://github.com/webmproject/libvpx/blob/fc5ec206a7aaa090a442294c6e498879e31f2eb5/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:30 | vst1.64 {d16}, [r1], r3
vst1.64 {d17}, [r1], r5
vst1.64 {d18}, [r1], r3
vst1.64 {d19}, [r1], r5
vst1.64 {d4}, [r1], r3
vst1.64 {d5}, [r1], r5
vst1.64 {d6}, [r1], r3
vst1.64 {d7}, [r1], r5
vst1.64 {d8}, [r1], r3
v... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | fc5ec206a7aaa090a442294c6e498879e31f2eb5 | github | media | https://github.com/webmproject/libvpx/blob/fc5ec206a7aaa090a442294c6e498879e31f2eb5/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,161 | 1,191 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:2 | ;void |vp9_short_idct16x16_add_neon_pass1|(int16_t *input,
; int16_t *output, int output_stride)
;
; r0 int16_t input
; r1 int16_t *output
; r2 int output_stride)
; idct16 stage1 - stage6 on all the elements loaded in q8-q15. The output
; will be stored back into q8-q15 reg... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:3 | ; generate cospi_12_64 = 13623
mov r3, #0x3500
add r3, #0x37
; generate cospi_20_64 = 9102
mov r12, #0x2300
add r12, #0x8e
; step2[4] * cospi_28_64
vmull.s16 q2, d18, d0
vmull.s16 q3, d19, d0
; temp1 = step2[4] * cospi_28... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:4 | ; generate cospi_24_64 = 6270
mov r12, #0x1800
add r12, #0x7e
; step2[5] * cospi_12_64
vmull.s16 q2, d26, d0
vmull.s16 q3, d27, d0
; temp1 = input[5] * cospi_12_64 - input[3] * cospi_20_64
vmlsl.s16 q2, d22, d1
vmlsl.s16 q3, d23, d1
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:5 | vadd.s32 q3, q2, q0
vadd.s32 q15, q11, q1
; dct_const_round_shift(temp1)
vqrshrn.s32 d16, q3, #14 ; >> 14
vqrshrn.s32 d17, q15, #14 ; >> 14
; temp2 = (step1[0] - step1[1]) * cospi_16_64
vsub.s32 q3, q2, q0
vsub.s32 q15, q11, q1
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:6 | vmlsl.s16 q0, d28, d31
vmlsl.s16 q1, d29, d31
; dct_const_round_shift(temp1)
vqrshrn.s32 d20, q0, #14 ; >> 14
vqrshrn.s32 d21, q1, #14 ; >> 14
vsub.s16 q13, q4, q5 ; step2[5] = step1[4] - step1[5];
vadd.s16 q4, q4, q5 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:7 | vadd.s32 q9, q9, q11
vadd.s32 q10, q10, q12
; dct_const_round_shift(temp2)
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn.s32 d13, q10, #14 ; >> 14
; step1[7] = step2[7];
vmov.s16 q7, q15
; stage 6
vadd.s16 q8, q0, q7 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:8 | ;void vp9_short_idct16x16_add_neon_pass2(int16_t *src,
; int16_t *output,
; int16_t *pass1Output,
; int16_t skip_adding,
; uint8_t *dest,
; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:9 | ; transpose the input data
TRANSPOSE8X8
; stage 3
vdup.16 d12, r3 ; duplicate cospi_30_64
vdup.16 d13, r12 ; duplicate cospi_2_64
; preloading to avoid stall
; generate cospi_14_64 = 12665
mov r3, #0x3100
add r3... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 321 | 380 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:10 | vdup.16 d30, r3 ; duplicate cospi_14_64
vdup.16 d31, r12 ; duplicate cospi_18_64
; preloading to avoid stall
; generate cospi_22_64 = 7723
mov r3, #0x1e00
add r3, #0x2b
; generate cospi_10_64 = 14449
mov ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 361 | 420 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:11 | ; step1[10] * cospi_22_64
vmull.s16 q11, d20, d30
vmull.s16 q12, d21, d30
; temp1 = step1[10] * cospi_22_64 - step1[13] * cospi_10_64
vmlsl.s16 q11, d26, d31
vmlsl.s16 q12, d27, d31
; dct_const_round_shift(temp1)
vqrshrn.s32 d4, q11, #14 ; >> 14
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 401 | 460 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:12 | ; temp1 = step1[11] * cospi_6_64 - step1[12] * cospi_26_64
vmlsl.s16 q10, d18, d31
vmlsl.s16 q11, d19, d31
; dct_const_round_shift(temp1)
vqrshrn.s32 d6, q10, #14 ; >> 14
vqrshrn.s32 d7, q11, #14 ; >> 14
; step1[11] * cospi_26_64
vmull.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 441 | 500 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:13 | vdup.16 d30, r12 ; duplicate cospi_8_64
vdup.16 d31, r3 ; duplicate cospi_24_64
; step1[14] * cospi_24_64
vmull.s16 q4, d28, d31
vmull.s16 q5, d29, d31
; temp1 = -step1[9] * cospi_8_64 + step1[14] * cospi_24_64
vmlsl.s16 q4, ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 481 | 540 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:14 | ; dct_const_round_shift(temp2)
vqrshrn.s32 d4, q11, #14 ; >> 14
vqrshrn.s32 d5, q12, #14 ; >> 14
; -step1[10] * cospi_8_64
vmull.s16 q8, d20, d30
vmull.s16 q9, d21, d30
; temp1 = -step1[10] * cospi_8_64 + step1[13] * cospi_24_64
vmlal.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:15 | vmull.s16 q1, d21, d14
; temp1 = (-step1[10] + step1[13]) * cospi_16_64
vsub.s32 q5, q3, q0
vsub.s32 q6, q4, q1
; dct_const_round_shift(temp1)
vqrshrn.s32 d4, q5, #14 ; >> 14
vqrshrn.s32 d5, q6, #14 ; >> 14
; temp2 = (step1[10] + ste... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 561 | 620 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:16 | vqrshrn.s32 d9, q6, #14 ; >> 14
mov r4, #16 ; pass1Output stride
ldr r3, [sp] ; load skip_adding
cmp r3, #0 ; check if need adding dest data
beq skip_adding_dest
ldr ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 601 | 660 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:17 | vqmovun.s16 d13, q13 ; clip pixel
vst1.64 {d12}, [r9], r8 ; store the data
vst1.64 {d13}, [r9], r8 ; store the data
vsub.s16 q4, q11, q4 ; step2[3] - step2[12]
vsub.s16 q5, q10, q5 ; step2[2] - step2[13]
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 641 | 700 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:18 | ; store the data output 8,9,10,11,12,13,14,15
vrshr.s16 q8, q8, #6 ; ROUND_POWER_OF_TWO
vaddw.u8 q8, q8, d12 ; + dest[j * dest_stride + i]
vqmovun.s16 d12, q8 ; clip pixel
vst1.64 {d12}, [r9], r8 ; store the data
vld1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 681 | 740 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:19 | b end_idct16x16_pass2
skip_adding_dest
; stage 7
; load the data in pass1
mov r5, #24
mov r3, #8
vld1.s16 {q0}, [r2], r4 ; load data step2[0]
vld1.s16 {q1}, [r2], r4 ; load data step2[1]
vadd.s16 q12, q0, q1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 721 | 780 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:20 | vsub.s16 q2, q1, q2 ; step2[5] - step2[10]
vsub.s16 q3, q0, q3 ; step2[4] - step2[11]
vsub.s16 q8, q11, q8 ; step2[7] - step2[8]
vsub.s16 q9, q10, q9 ; step2[6] - step2[9]
vst1.64 {d24}, [r1], r3 ; st... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 761 | 820 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:21 | ; registers and use them as buffer during calculation.
|vp9_short_idct10_16x16_add_neon_pass1| PROC
; TODO(hkuang): Find a better way to load the elements.
; load elements of 0, 2, 4, 6, 8, 10, 12, 14 into q8 - q15
vld2.s16 {q8,q9}, [r0]!
vld2.s16 {q9,q10}, [r0]!
vld2.s16 {q10,... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 801 | 860 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:22 | add r3, #0x82
; dct_const_round_shift(step2[4] * cospi_4_64);
vqrdmulh.s16 q7, q9, q1
; stage 4
vdup.16 q1, r3 ; cospi_16_64*2
; generate cospi_16_64 = 11585
mov r3, #0x2d00
add r3, #0x41
vdup.16 d4, r3; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 841 | 900 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:23 | ; stage 6
vadd.s16 q2, q8, q7 ; step2[0] = step1[0] + step1[7];
vadd.s16 q9, q8, q6 ; step2[1] = step1[1] + step1[6];
vadd.s16 q10, q8, q5 ; step2[2] = step1[2] + step1[5];
vadd.s16 q11, q8, q4 ; step2[3] = step1[3] + s... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 881 | 940 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:24 | ; r1 int16_t *output,
; r2 int16_t *pass1Output,
; r3 int16_t skip_adding,
; r4 uint8_t *dest,
; r5 int dest_stride)
; idct16 stage1 - stage7 on all the elements loaded in q8-q15. The output
; will be stored back into q8-q15 registers. This function will touch q0-q7
; registers and use them as buffer during calcu... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 921 | 980 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:25 | vdup.16 q6, r12 ; duplicate 2*cospi_2_64
; dct_const_round_shift(step1[8] * cospi_2_64)
vqrdmulh.s16 q7, q8, q6
; preloading to avoid stall
; generate 2*cospi_26_64 = 9512
mov r12, #0x2500
add r12, #0x28
rsb r12, #0
vdup.... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 961 | 1,020 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:26 | vmlsl.s16 q12, d0, d30
vmlsl.s16 q5, d1, d30
; dct_const_round_shift(temp1)
vqrshrn.s32 d2, q12, #14 ; >> 14
vqrshrn.s32 d3, q5, #14 ; >> 14
; step1[9] * cospi_24_64
vmull.s16 q2, d0, d31
vmull.s16 q11, d1, d31
; temp2 = step1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,001 | 1,060 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:27 | vmlal.s16 q9, d9, d31
; dct_const_round_shift(temp2)
vqrshrn.s32 d10, q8, #14 ; >> 14
vqrshrn.s32 d11, q9, #14 ; >> 14
; stage 5
vadd.s16 q8, q0, q3 ; step1[8] = step2[8]+step2[11];
vadd.s16 q9, q1, q2 ; step1[... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,041 | 1,100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:28 | vadd.s32 q5, q3, q0
vadd.s32 q6, q4, q1
; dct_const_round_shift(temp2)
vqrshrn.s32 d10, q5, #14 ; >> 14
vqrshrn.s32 d11, q6, #14 ; >> 14
; step1[11] * cospi_16_64
vmull.s16 q0, d22, d14
vmull.s16 q1, d23, d14
; step1[12] * co... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,081 | 1,140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:30 | ; store the data output 8,9,10,11,12,13,14,15
vst1.64 {d16}, [r1], r3
vst1.64 {d17}, [r1], r5
vst1.64 {d18}, [r1], r3
vst1.64 {d19}, [r1], r5
vst1.64 {d4}, [r1], r3
vst1.64 {d5}, [r1], r5
vst1.64 {d6}, [r1], r3
vst1.64 {d7}... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | 4082bf9d7c607c62a1ab8b3573f695de2cd39dd6 | github | media | https://github.com/webmproject/libvpx/blob/4082bf9d7c607c62a1ab8b3573f695de2cd39dd6/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1,161 | 1,192 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_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_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:2 | ;
; r0 int16_t input
; r1 int16_t *output
; r2 int output_stride)
; idct16 stage1 - stage6 on all the elements loaded in q8-q15. The output
; will be stored back into q8-q15 registers. This function will touch q0-q7
; registers and use them as buffer during calculation.
|vp9_short_idct16x16_add_neon_pass1| PROC
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:3 | add r3, #0x37
; generate cospi_20_64 = 9102
mov r12, #0x2300
add r12, #0x8e
; step2[4] * cospi_28_64
vmull.s16 q2, d18, d0
vmull.s16 q3, d19, d0
; step2[4] * cospi_28_64 - step2[7] * cospi_4_64
vmlsl.s16 q2, d30, d1
vmlsl.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:4 | add r12, #0x7e
; step2[5] * cospi_12_64
vmull.s16 q2, d26, d0
vmull.s16 q3, d27, d0
; input[5] * cospi_12_64 - input[3] * cospi_20_64
vmlsl.s16 q2, d22, d1
vmlsl.s16 q3, d23, d1
; dct_const_round_shift(temp1);
vqrshrn.s32 d10, q2, #14 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:5 | ; step2[0] = dct_const_round_shift(temp1)
vqrshrn.s32 d16, q3, #14 ; >> 14
vqrshrn.s32 d17, q15, #14 ; >> 14
; (step1[0] - step1[1]) * cospi_16_64
vsub.s32 q3, q2, q0
vsub.s32 q15, q11, q1
; dct_const_round_shift(input_dc * cospi_16_64)
vqrshr... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:6 | ; dct_const_round_shift(input_dc * cospi_16_64)
vqrshrn.s32 d20, q0, #14 ; >> 14
vqrshrn.s32 d21, q1, #14 ; >> 14
vsub.s16 q13, q4, q5 ; step2[5] = step1[4] - step1[5];
vadd.s16 q4, q4, q5 ; step2[4] = step1[4] + step1[5];
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:7 | ; step1[6] = dct_const_round_shift(temp2);
vqrshrn.s32 d12, q9, #14 ; >> 14
vqrshrn.s32 d13, q10, #14 ; >> 14
; step1[7] = step2[7];
vmov.s16 q7, q15
; stage 6
vadd.s16 q8, q0, q7 ; step2[0] = step1[0] + step1[7];
vadd.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:8 | ; int16_t *output,
; int16_t *pass1Output,
; int16_t skip_adding,
; uint8_t *dest,
; int dest_stride)
;
; r0 int16_t *src
; ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 281 | 340 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:9 | TRANSPOSE8X8
; stage 3
vdup.16 d12, r3 ; duplicate cospi_30_64
vdup.16 d13, r12 ; duplicate cospi_2_64
; preloading to avoid stall
; generate cospi_14_64 = 12665
mov r3, #0x3100
add r3, #0x79
; generate cospi_1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 321 | 380 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:10 | vdup.16 d31, r12 ; duplicate cospi_18_64
; preloading to avoid stall
; generate cospi_22_64 = 7723
mov r3, #0x1e00
add r3, #0x2b
; generate cospi_10_64 = 14449
mov r12, #0x3800
add r12, #0x71
; step1[9] * cospi_1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 361 | 420 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:11 | vmull.s16 q12, d21, d30
; step1[10] * cospi_22_64 - step1[13] * cospi_10_64
vmlsl.s16 q11, d26, d31
vmlsl.s16 q12, d27, d31
; dct_const_round_shift(temp1);
vqrshrn.s32 d4, q11, #14 ; >> 14
vqrshrn.s32 d5, q12, #14 ; >> 14
; step1[10] * c... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 401 | 460 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:12 | vmlsl.s16 q11, d19, d31
; dct_const_round_shift(temp1);
vqrshrn.s32 d6, q10, #14 ; >> 14
vqrshrn.s32 d7, q11, #14 ; >> 14
; step1[11] * cospi_26_64
vmull.s16 q10, d28, d31
vmull.s16 q11, d29, d31
; step1[12] * cospi_6_64
vmlal.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 441 | 500 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:13 | ; step1[14] * cospi_24_64
vmull.s16 q4, d28, d31
vmull.s16 q5, d29, d31
; -step1[9] * cospi_8_64 + step1[14] * cospi_24_64
vmlsl.s16 q4, d18, d30
vmlsl.s16 q5, d19, d30
; dct_const_round_shift(temp1)
vqrshrn.s32 d2, q4, #14 ; >> 14
vqrshrn.s32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 481 | 540 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:14 | ; dct_const_round_shift(temp1)
vqrshrn.s32 d4, q11, #14 ; >> 14
vqrshrn.s32 d5, q12, #14 ; >> 14
; -step1[10] * cospi_8_64
vmull.s16 q8, d20, d30
vmull.s16 q9, d21, d30
; -step1[10] * cospi_8_64 + step1[13] * cospi_24_64
vmlal.s16 q8, d26... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:15 | vmull.s16 q3, d26, d30
vmull.s16 q4, d27, d30
; step1[10] * cospi_16_64
vmull.s16 q8, d20, d30
vmull.s16 q9, d21, d30
; (-step1[10] + step1[13]) * cospi_16_64;
vsub.s32 q5, q3, q8
vsub.s32 q14, q4, q9
; dct_const_round_shift(temp1)
vqrshrn.s32... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 561 | 620 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:16 | ; (step1[11] + step1[12]) * cospi_16_64
vadd.s32 q13, q13, q8
vadd.s32 q14, q14, q9
; dct_const_round_shift(temp2);
vqrshrn.s32 d8, q13, #14 ; >> 14
vqrshrn.s32 d9, q14, #14 ; >> 14
mov r4, #16 ; pass1Output stride
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 601 | 660 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:17 | vadd.s16 q13, q11, q4 ; step2[3] + step2[12]
vrshr.s16 q12, q12, #6 ; ROUND_POWER_OF_TWO
vrshr.s16 q13, q13, #6 ; ROUND_POWER_OF_TWO
vaddw.u8 q12, q12, d28 ; + dest[j * dest_stride + i]
vaddw.u8 q13, q13, d29 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 641 | 700 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:18 | vst1.64 {d29}, [r9], r8 ; store the data
vld1.64 {d28}, [r7], r8 ; load destinatoin data
vld1.64 {d29}, [r7], r8 ; load destinatoin data
vsub.s16 q0, q11, q0 ; step2[7] - step2[8]
vsub.s16 q1, q10, q1 ; step2... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 681 | 740 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:19 | vst1.64 {d28}, [r9], r8 ; store the data
vld1.64 {d28}, [r7], r8 ; load destinatoin data
vrshr.s16 q7, q7, #6
vaddw.u8 q7, q7, d29 ; + dest[j * dest_stride + i]
vqmovun.s16 d29, q7 ; clip pixel
vst1.64 {d29}... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 721 | 780 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm:20 | vst1.64 {d24}, [r1], r3 ; store output[4]
vst1.64 {d25}, [r1], r5
vst1.64 {d26}, [r1], r3 ; store output[5]
vst1.64 {d27}, [r1], r5
vsub.s16 q2, q9, q2 ; step2[5] - step2[10]
vsub.s16 q3, q8, q3 ; step2[4... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | BSD-3-Clause | cf6beea661e8b09580d9dbe77401e4b3ad84a51f | github | media | https://github.com/webmproject/libvpx/blob/cf6beea661e8b09580d9dbe77401e4b3ad84a51f/vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm | 761 | 809 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_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_idct32x32_1_add_neon.asm | BSD-3-Clause | c689a126ed4773297e40a575a046bf0c51a32de4 | github | media | https://github.com/webmproject/libvpx/blob/c689a126ed4773297e40a575a046bf0c51a32de4/vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm:2 | MEND
MACRO
SUB_DIFF_16x8 $diff
vqsub.u8 q8, q8, $diff
vqsub.u8 q9, q9, $diff
vqsub.u8 q10, q10, $diff
vqsub.u8 q11, q11, $diff
vqsub.u8 q12, q12, $diff
vqsub.u8 q13, q13, $diff
vqsub.u8 q14, q14, $diff
vqsub.u8 q... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | BSD-3-Clause | c689a126ed4773297e40a575a046bf0c51a32de4 | github | media | https://github.com/webmproject/libvpx/blob/c689a126ed4773297e40a575a046bf0c51a32de4/vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm:4 | diff_positive_32_32
usat r0, #8, r0
vdup.u8 q0, r0
mov r0, #4
diff_positive_32_32_loop
sub r0, #1
LD_16x8 r1, r2
ADD_DIFF_16x8 q0
ST_16x8 r12, r2
LD_16x8 r1, r2
ADD_DIFF_16x8 q0
ST_16x8 r12... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | BSD-3-Clause | c689a126ed4773297e40a575a046bf0c51a32de4 | github | media | https://github.com/webmproject/libvpx/blob/c689a126ed4773297e40a575a046bf0c51a32de4/vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | 121 | 144 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm:3 | mov r12, #0x2d00
add r12, #0x41
; out = dct_const_round_shift(input[0] * cospi_16_64)
mul r0, r0, r12 ; input[0] * cospi_16_64
add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1))
asr r0, r0, #14 ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | BSD-3-Clause | 6b16f63332b593c82dddd7d1ceb18b46ffe8b381 | github | media | https://github.com/webmproject/libvpx/blob/6b16f63332b593c82dddd7d1ceb18b46ffe8b381/vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_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_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:2 | cospi_29_64 EQU 2404
cospi_30_64 EQU 1606
cospi_31_64 EQU 804
EXPORT |idct32_transpose_and_transform|
EXPORT |idct32_combine_add|
ARM
REQUIRE8
PRESERVE8
AREA ||.text||, CODE, READONLY, ALIGN=2
AREA Block, CODE, READONLY
; ---------------------------------------------------... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 41 | 100 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:3 | add r1, #($first_offset - $prev_offset )*32*2
vld1.s16 {$reg1}, [r1]
add r1, #($second_offset - $first_offset)*32*2
vld1.s16 {$reg2}, [r1]
; (used) two registers ($reg1, $reg2)
MEND
; --------------------------------------------------------------------------
; Store into outpu... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 81 | 140 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:4 | ; do some multiplications (ordered for maximum latency hiding)
vmull.s16 q8, $regC, d30
vmull.s16 q10, $regA, d31
vmull.s16 q9, $regD, d30
vmull.s16 q11, $regB, d31
vmull.s16 q12, $regC, d31
; (used) five for intermediate (q8-q12), one for constants (q15)
; do some addition/substractions (... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 121 | 180 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:5 | ; TODO(cd): have more logical parameter ordering but this issue will disappear
; when functions are combined.
|idct32_transpose_and_transform| PROC
; This function does one pass of idct32x32 transform.
;
; This is done by transposing the input and then doing a 1d transform on
; columns. In th... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 161 | 220 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:6 | vld1.s16 {q4}, [r2]!
add r2, #32
vld1.s16 {q13}, [r2]!
vld1.s16 {q5}, [r2]!
add r2, #32
vld1.s16 {q14}, [r2]!
vld1.s16 {q6}, [r2]!
add r2, #32
vld1.s16 {q15}, [r2]!
vld1.s16 {q7}, [r2]!
; Transpose the two 8x8 16bit data matri... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 201 | 260 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:7 | vst1.16 {q9}, [r0]!
vst1.16 {q10}, [r0]!
vst1.16 {q11}, [r0]!
vst1.16 {q12}, [r0]!
vst1.16 {q13}, [r0]!
vst1.16 {q14}, [r0]!
vst1.16 {q15}, [r0]!
vst1.16 {q0}, [r0]!
vst1.16 {q1}, [r0]!
vst1.16 {q2}, [r0]!
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:9 | ; part of stage 1
;temp1 = input[9 * 32] * cospi_23_64 - input[23 * 32] * cospi_9_64;
;temp2 = input[9 * 32] * cospi_9_64 + input[23 * 32] * cospi_23_64;
;step1b[18][i] = dct_const_round_shift(temp1);
;step1b[29][i] = dct_const_round_shift(temp2);
LOAD_FROM_TRANSPOSED 15, 9, 23
DO_BUTTERFLY_STD... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 321 | 380 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:10 | ;step1[30] = step1b[30][i] + step1b[29][i];
;step1[31] = step1b[31][i] + step1b[28][i];
vadd.s16 q8, q4, q2
vadd.s16 q9, q5, q0
vadd.s16 q10, q7, q1
vadd.s16 q15, q6, q3
vsub.s16 q13, q5, q0
vsub.s16 q14, q7, q1
STORE_IN_OUTPUT 0, 16, 31, q8, q15
STORE_IN_OUTPUT 31, 17, 30,... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 361 | 420 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:11 | ; part of stage 1
;temp1 = input[5 * 32] * cospi_27_64 - input[27 * 32] * cospi_5_64;
;temp2 = input[5 * 32] * cospi_5_64 + input[27 * 32] * cospi_27_64;
;step1b[20][i] = dct_const_round_shift(temp1);
;step1b[27][i] = dct_const_round_shift(temp2);
LOAD_FROM_TRANSPOSED 7, 5, 27
DO_BUTTERFLY_STD ... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 401 | 460 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:12 | LOAD_FROM_TRANSPOSED 11, 13, 19
DO_BUTTERFLY_STD cospi_19_64, cospi_13_64, d10, d11, d14, d15
; --------------------------------------------------------------------------
; part of stage 1
;temp1 = input[29 * 32] * cospi_3_64 - input[3 * 32] * cospi_29_64;
;temp2 = input[29 * 32] * cospi_29_64 + in... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 441 | 500 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:13 | ; part of stage 6
;step3[16] = step1b[16][i] + step1b[23][i];
;step3[17] = step1b[17][i] + step1b[22][i];
;step3[22] = step1b[17][i] - step1b[22][i];
;step3[23] = step1b[16][i] - step1b[23][i];
LOAD_FROM_OUTPUT 28, 16, 17, q14, q13
vadd.s16 q8, q14, q11
vadd.s16 q9, q13, q10
vsub.s16... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 481 | 540 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:14 | ;step1[24] = dct_const_round_shift(temp2);
; TODO(cd) do some register allocation change to remove these push/pop
vpop {q13} ; [23]
vpop {q14} ; [24]
DO_BUTTERFLY_STD cospi_16_64, cospi_16_64, d26, d27, d28, d29
STORE_IN_OUTPUT 22, 24, 23, q14, q13
; -------------------------------------------... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 521 | 580 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:15 | vadd.s16 q9, q13, q6
vsub.s16 q13, q13, q6
vsub.s16 q1, q14, q1
STORE_IN_OUTPUT 19, 18, 19, q8, q9
; --------------------------------------------------------------------------
; part of stage 6
;step3[27] = step1b[28][i] - step1b[27][i];
;step3[28] = step1b[28][i] + step1b[27][i];
;... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 561 | 620 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:16 | ; part of stage 2
;temp1 = input[2 * 32] * cospi_30_64 - input[30 * 32] * cospi_2_64;
;temp2 = input[2 * 32] * cospi_2_64 + input[30 * 32] * cospi_30_64;
;step2[8] = dct_const_round_shift(temp1);
;step2[15] = dct_const_round_shift(temp2);
LOAD_FROM_TRANSPOSED 3, 2, 30
DO_BUTTERFLY_STD cospi_30_6... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 601 | 660 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:17 | LOAD_FROM_TRANSPOSED 14, 10, 22
DO_BUTTERFLY_STD cospi_22_64, cospi_10_64, d10, d11, d14, d15
; --------------------------------------------------------------------------
; part of stage 2
;temp1 = input[26 * 32] * cospi_6_64 - input[6 * 32] * cospi_26_64;
;temp2 = input[26 * 32] * cospi_26_64 + inp... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 641 | 700 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:18 | vsub.s16 q14, q3, q4
vadd.s16 q10, q3, q4
vadd.s16 q15, q2, q6
STORE_IN_OUTPUT 26, 8, 15, q8, q15
STORE_IN_OUTPUT 15, 9, 14, q9, q10
; --------------------------------------------------------------------------
; part of stage 6
;temp1 = (step1b[13][i] - step1b[10][i]) * cospi_16_64;
;... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 681 | 740 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:19 | LOAD_FROM_TRANSPOSED 6, 4, 28
DO_BUTTERFLY_STD cospi_28_64, cospi_4_64, d0, d1, d4, d5
; --------------------------------------------------------------------------
; part of stage 3
;temp1 = input[20 * 32] * cospi_12_64 - input[12 * 32] * cospi_20_64;
;temp2 = input[20 * 32] * cospi_20_64 + input[12... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 721 | 780 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:20 | ;temp2 = input[8 * 32] * cospi_8_64 + input[24 * 32] * cospi_24_64;
;step1[2] = dct_const_round_shift(temp1);
;step1[3] = dct_const_round_shift(temp2);
LOAD_FROM_TRANSPOSED 16, 8, 24
DO_BUTTERFLY_STD cospi_24_64, cospi_8_64, d28, d29, d12, d13
; ------------------------------------------------------... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 761 | 820 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:21 | ;step1[15] = step1b[0][i] - step1b[15][i];
LOAD_FROM_OUTPUT 12, 14, 15, q0, q1
vadd.s16 q2, q8, q1
vadd.s16 q3, q9, q0
vsub.s16 q4, q9, q0
vsub.s16 q5, q8, q1
; --------------------------------------------------------------------------
; part of final stage
;output[14 * 32] = step1b[... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 801 | 860 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:22 | vadd.s16 q3, q11, q0
vsub.s16 q4, q11, q0
vsub.s16 q5, q10, q1
; --------------------------------------------------------------------------
; part of final stage
;output[12 * 32] = step1b[12][i] + step1b[19][i];
;output[13 * 32] = step1b[13][i] + step1b[18][i];
;output[18 * 32] = step1b[1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 841 | 900 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:23 | ; --------------------------------------------------------------------------
; part of final stage
;output[10 * 32] = step1b[10][i] + step1b[21][i];
;output[11 * 32] = step1b[11][i] + step1b[20][i];
;output[20 * 32] = step1b[11][i] - step1b[20][i];
;output[21 * 32] = step1b[10][i] - step1b[21][i];
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 881 | 940 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:24 | ;output[ 9 * 32] = step1b[9][i] + step1b[22][i];
;output[22 * 32] = step1b[9][i] - step1b[22][i];
;output[23 * 32] = step1b[8][i] - step1b[23][i];
LOAD_FROM_OUTPUT 9, 22, 23, q0, q1
vadd.s16 q6, q4, q1
vadd.s16 q7, q5, q0
vsub.s16 q8, q5, q0
vsub.s16 q9, q4, q1
STORE_IN_OUTPUT 23, 23... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 921 | 980 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:25 | ENDP ; |idct32_transpose_and_transform|
;void idct32_combine_add(uint8_t *dest, int16_t *out, int dest_stride);
;
; r0 uint8_t *dest
; r1 int16_t *out
; r2 int dest_stride)
|idct32_combine_add| PROC
mov r12, r0 ; dest pointer used for stores
sub r2, r2, #32 ; adjust the stride (remove the pos... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 961 | 1,013 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:26 | vst1.16 {q7}, [r12]!
; increment pointers by adjusted stride (not necessary for r1/out)
add r0, r0, r2
add r12, r12, r2
; loop processing
add r3, r3, #1
cmp r3, #31
ble idct32_combine_add_loop
bx lr
ENDP ; |idct32_transpose|
END | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | a6a00fc6a39466deeac427a4d581ad910bf110e1 | github | media | https://github.com/webmproject/libvpx/blob/a6a00fc6a39466deeac427a4d581ad910bf110e1/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 1,001 | 1,013 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:7 | vst1.16 {q9}, [r0]!
vst1.16 {q10}, [r0]!
vst1.16 {q11}, [r0]!
vst1.16 {q12}, [r0]!
vst1.16 {q13}, [r0]!
vst1.16 {q14}, [r0]!
vst1.16 {q15}, [r0]!
vst1.16 {q0}, [r0]!
vst1.16 {q1}, [r0]!
vst1.16 {q2}, [r0]!
... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 241 | 300 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:24 | ;output[ 9 * 32] = step1b[9][i] + step1b[22][i];
;output[22 * 32] = step1b[9][i] - step1b[22][i];
;output[23 * 32] = step1b[8][i] - step1b[23][i];
LOAD_FROM_OUTPUT 9, 22, 23, q0, q1
vadd.s16 q6, q4, q1
vadd.s16 q7, q5, q0
vsub.s16 q8, q5, q0
vsub.s16 q9, q4, q1
STORE_IN_OUTPUT 23, 23... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 921 | 980 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:25 | ENDP ; |idct32_transpose_and_transform|
;void idct32_combine_add(uint8_t *dest, int16_t *out, int dest_stride);
;
; r0 uint8_t *dest
; r1 int16_t *out
; r2 int dest_stride)
|idct32_combine_add| PROC
mov r12, r0 ; dest pointer used for stores
sub r2, r2, #32 ; adjust the stride (remove the pos... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 961 | 1,013 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm:26 | vst1.16 {q7}, [r12]!
; increment pointers by adjusted stride (not necessary for r1/out)
add r0, r0, r2
add r12, r12, r2
; loop processing
add r3, r3, #1
cmp r3, #31
BLE idct32_combine_add_loop
bx lr
ENDP ; |idct32_transpose|
END | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | BSD-3-Clause | 6a501462f80ecaef615cddc7de5ee2ddfbeebe6c | github | media | https://github.com/webmproject/libvpx/blob/6a501462f80ecaef615cddc7de5ee2ddfbeebe6c/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 1,001 | 1,013 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_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_idct4x4_1_add_neon.asm | BSD-3-Clause | 3a0602578eb765e046ecb02f2118d0d4241b88d5 | github | media | https://github.com/webmproject/libvpx/blob/3a0602578eb765e046ecb02f2118d0d4241b88d5/vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm:2 | asr r0, r0, #14 ; >> DCT_CONST_BITS
; a1 = ROUND_POWER_OF_TWO(out, 4)
add r0, r0, #8 ; + (1 <<((4) - 1))
asr r0, r0, #4 ; >> 4
vdup.s16 q0, r0 ; duplicate a1
vld1.32 {d2[0]}, [r1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | BSD-3-Clause | 3a0602578eb765e046ecb02f2118d0d4241b88d5 | github | media | https://github.com/webmproject/libvpx/blob/3a0602578eb765e046ecb02f2118d0d4241b88d5/vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | 41 | 68 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_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_idct4x4_1_add_neon.asm | BSD-3-Clause | 69384f4fadf73cb6f2427f91134c9a54a5267140 | github | media | https://github.com/webmproject/libvpx/blob/69384f4fadf73cb6f2427f91134c9a54a5267140/vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | 1 | 60 |
webmproject/libvpx:vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm:2 | asr r0, r0, #14 ; >> DCT_CONST_BITS
; a1 = ROUND_POWER_OF_TWO(out, 4)
add r0, r0, #8 ; + (1 <<((4) - 1))
asr r0, r0, #4 ; >> 4
vdup.s16 q0, r0 ; duplicate a1
vld1.32 {d2[0]}, [r1... | arm | masm-like | handwritten | webmproject/libvpx | vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | BSD-3-Clause | 69384f4fadf73cb6f2427f91134c9a54a5267140 | github | media | https://github.com/webmproject/libvpx/blob/69384f4fadf73cb6f2427f91134c9a54a5267140/vp9/common/arm/neon/vp9_short_idct4x4_1_add_neon.asm | 41 | 68 |
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 | 3a0602578eb765e046ecb02f2118d0d4241b88d5 | github | media | https://github.com/webmproject/libvpx/blob/3a0602578eb765e046ecb02f2118d0d4241b88d5/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 | 3a0602578eb765e046ecb02f2118d0d4241b88d5 | github | media | https://github.com/webmproject/libvpx/blob/3a0602578eb765e046ecb02f2118d0d4241b88d5/vp9/common/arm/neon/vp9_short_idct4x4_add_neon.asm | 161 | 190 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.