diff options
Diffstat (limited to 'common/arm/ihevc_inter_pred_chroma_copy.s')
-rw-r--r-- | common/arm/ihevc_inter_pred_chroma_copy.s | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/arm/ihevc_inter_pred_chroma_copy.s b/common/arm/ihevc_inter_pred_chroma_copy.s index 0da34cc..1b38dbb 100644 --- a/common/arm/ihevc_inter_pred_chroma_copy.s +++ b/common/arm/ihevc_inter_pred_chroma_copy.s @@ -92,6 +92,9 @@ @ r5 => ht @ r6 => wd +.equ ht_offset, 44 +.equ wd_offset, 48 + .text .align 4 @@ -104,9 +107,9 @@ ihevc_inter_pred_chroma_copy_a9q: stmfd sp!, {r4-r12, r14} @stack stores the values of the arguments - ldr r12,[sp,#48] @loads wd + ldr r12,[sp,#wd_offset] @loads wd lsl r12,r12,#1 - ldr r7,[sp,#44] @loads ht + ldr r7,[sp,#ht_offset] @loads ht cmp r7,#0 @checks ht == 0 ble end_loops and r8,r7,#3 @check ht for mul of 2 |