; ; 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 project authors may ; be found in the AUTHORS file in the root of the source tree. ;
EXPORT |vpx_idct4x4_16_add_neon|
ARM
REQUIRE8
PRESERVE8
AREA ||.text||, CODE, READONLY, ALIGN=2
INCLUDE vpx_dsp/arm/idct_neon.asm.S
AREA Block, CODE, READONLY ;void vpx_idct4x4_16_add_neon(int16_t *input, uint8_t *dest, int stride) ; ; r0 int16_t input ; r1 uint8_t *dest ; r2 int stride)
|vpx_idct4x4_16_add_neon| PROC
; The 2D transform is done with two passes which are actually pretty ; similar. We first transform the rows. This is done by transposing ; the inputs, doing an SIMD column transform (the columns are the ; transposed rows) and then transpose the results (so that it goes back ; in normal/row positions). Then, we transform the columns by doing ; another SIMD column transform. ; So, two passes of a transpose followed by a column transform.
; load the inputs into q8-q9, d16-d19
LOAD_TRAN_LOW_TO_S16 d16, d17, d18, d19, r0
; The results are in two registers, one of them being swapped. This will ; be taken care of by loading the 'dest' value in a swapped fashion and ; also storing them in the same swapped fashion. ; temp_out[0, 1] = d16, d17 = q8 ; temp_out[2, 3] = d19, d18 = q9 swapped
; do the stores in reverse order with negative post-increment, by changing ; the sign of the stride
rsb r2, r2, #0
vst1.32 {d27[0]}, [r1], r2
vst1.32 {d27[1]}, [r1], r2
vst1.32 {d26[1]}, [r1], r2
vst1.32 {d26[0]}, [r1] ; no post-increment
bx lr ENDP; |vpx_idct4x4_16_add_neon|
END
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.