~ubuntu-branches/ubuntu/edgy/gstreamer0.10-ffmpeg/edgy

« back to all changes in this revision

Viewing changes to gst-libs/ext/ffmpeg/libavcodec/ps2/dsputil_mmi.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-04-01 16:13:43 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20060401161343-n621cgjlujio0otg
Tags: upstream-0.10.1
Import upstream version 0.10.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU Lesser General Public
16
16
 * License along with this library; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 *
19
19
 * MMI optimization by Leon van Stuivenberg
20
20
 * clear_blocks_mmi() by BroadQ
80
80
        "pextlb $10, $0, $10    \n\t"
81
81
        "sq     $10, 80(%1)     \n\t"
82
82
        "pextlb $8, $0, $8      \n\t"
83
 
        "sq     $8, 96(%1)      \n\t"
 
83
        "sq     $8, 96(%1)      \n\t"
84
84
        "pextlb $9, $0, $9      \n\t"
85
85
        "sq     $9, 112(%1)     \n\t"
86
86
        ".set   pop             \n\t"
112
112
        asm volatile (
113
113
        ".set   push            \n\t"
114
114
        ".set   mips3           \n\t"
115
 
        "1:                     \n\t"
 
115
        "1:                     \n\t"
116
116
        "ldr    $8, 0(%1)       \n\t"
117
117
        "add    $11, %1, %3     \n\t"
118
118
        "ldl    $8, 7(%1)       \n\t"
133
133
        "bgtz   %2, 1b          \n\t"
134
134
        ".set   pop             \n\t"
135
135
        : "+r" (block), "+r" (pixels), "+r" (h) : "r" (line_size)
136
 
        : "$8", "$9", "$10", "$11", "$12", "$13", "memory" );
 
136
        : "$8", "$9", "$10", "$11", "$12", "$13", "memory" );
137
137
}
138
138
 
139
139
 
150
150
    c->put_no_rnd_pixels_tab[0][0] = put_pixels16_mmi;
151
151
 
152
152
    c->get_pixels = get_pixels_mmi;
153
 
       
 
153
 
154
154
    if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_PS2){
155
155
        c->idct_put= ff_mmi_idct_put;
156
156
        c->idct_add= ff_mmi_idct_add;