~ubuntu-branches/ubuntu/utopic/ffmpeg-debian/utopic

« back to all changes in this revision

Viewing changes to libavcodec/armv4l/jrevdct_arm.S

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-11-15 19:44:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115194429-zwlw86ht1rctd8z9
Tags: 3:0.svn20081115-1ubuntu1
* merge from debian.
* keep myself in the maintainer field. If you are touching this or the
  'ffmpeg' package in multiverse, please get in touch with me. Both
  source packages come from the same packaging branch.
* drop dependency on faad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        add r11, pc, #(const_array-.-8) @ r11 = base pointer to the constants array
69
69
row_loop:
70
70
        ldrsh r0, [lr, # 0]             @ r0 = 'd0'
71
 
        ldrsh r1, [lr, # 8]             @ r1 = 'd1'
 
71
        ldrsh r2, [lr, # 2]             @ r2 = 'd2'
72
72
 
73
73
        @ Optimization for row that have all items except the first set to 0
74
74
        @ (this works as the DCTELEMS are always 4-byte aligned)
75
75
        ldr r5, [lr, # 0]
76
 
        ldr r2, [lr, # 4]
 
76
        ldr r6, [lr, # 4]
77
77
        ldr r3, [lr, # 8]
78
78
        ldr r4, [lr, #12]
79
79
        orr r3, r3, r4
80
 
        orr r3, r3, r2
 
80
        orr r3, r3, r6
81
81
        orrs r5, r3, r5
82
82
        beq end_of_row_loop             @ nothing to be done as ALL of them are '0'
83
 
        orrs r2, r3, r1
 
83
        orrs r3, r3, r2
84
84
        beq empty_row
85
85
 
86
 
        ldrsh r2, [lr, # 2]             @ r2 = 'd2'
 
86
        ldrsh r1, [lr, # 8]             @ r1 = 'd1'
87
87
        ldrsh r4, [lr, # 4]             @ r4 = 'd4'
88
88
        ldrsh r6, [lr, # 6]             @ r6 = 'd6'
89
89