Home | History | Annotate | Download | only in src_gcc
      1 /*
      2  * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved.
      3  *
      4  */
      5 
      6     .eabi_attribute 24, 1
      7     .eabi_attribute 25, 1
      8 
      9     .arm
     10     .fpu neon
     11     .text
     12 
     13     .global omxVCM4P10_DeblockLuma_I
     14     .func   omxVCM4P10_DeblockLuma_I
     15 omxVCM4P10_DeblockLuma_I:
     16     PUSH     {r4-r9,lr}
     17     MOVS     r6,r0
     18     SUB      sp,sp,#0xc
     19     MOV      r9,r1
     20     MOV      r7,r2
     21     MOV      r8,r3
     22     LDR      r4,[sp,#0x28]
     23     LDR      r5,[sp,#0x2c]
     24     BEQ      L0x58
     25     TST      r6,#7
     26     TSTEQ    r9,#7
     27     BNE      L0x58
     28     CMP      r7,#0
     29     CMPNE    r8,#0
     30     CMPNE    r4,#0
     31     BEQ      L0x58
     32     TST      r4,#3
     33     BNE      L0x58
     34     CMP      r5,#0
     35     BEQ      L0x58
     36     TST      r5,#3
     37     BEQ      L0x64
     38 L0x58:
     39     MVN      r0,#4
     40 L0x5c:
     41     ADD      sp,sp,#0xc
     42     POP      {r4-r9,pc}
     43 L0x64:
     44     STR      r4,[sp,#0]
     45     MOV      r3,r8
     46     STR      r5,[sp,#4]
     47     MOV      r2,r7
     48     MOV      r1,r9
     49     MOV      r0,r6
     50     BL       omxVCM4P10_FilterDeblockingLuma_VerEdge_I
     51     CMP      r0,#0
     52     BNE      L0x5c
     53     ADD      r3,r5,#0x10
     54     ADD      r2,r4,#0x10
     55     STR      r3,[sp,#4]
     56     STR      r2,[sp,#0]
     57     ADD      r3,r8,#2
     58     ADD      r2,r7,#2
     59     MOV      r1,r9
     60     MOV      r0,r6
     61     BL       omxVCM4P10_FilterDeblockingLuma_HorEdge_I
     62     ADD      sp,sp,#0xc
     63     POP      {r4-r9,pc}
     64     .endfunc
     65 
     66     .end
     67 
     68