annotate armv4l/mpegvideo_arm.c @ 4340:268811f3f1ef libavcodec

Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te) patch by Siarhei Siamashka % siarhei P siamashka A gmail P com % Original thread: Date: Jan 6, 2007 5:07 PM Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te) (try2) and Date: Jan 2, 2007 6:13 PM Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
author gpoirier
date Sun, 07 Jan 2007 23:24:14 +0000
parents c8c591fe26f8
children 47ee459ce964
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
1 /*
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
2 * Copyright (c) 2002 Michael Niedermayer
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
3 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
4 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
5 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
10 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
14 * Lesser General Public License for more details.
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
15 *
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
3036
0b546eab515d Update licensing information: The FSF changed postal address.
diego
parents: 2735
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
19 *
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
20 */
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
21
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
22 #include "../dsputil.h"
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
23 #include "../mpegvideo.h"
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
24 #include "../avcodec.h"
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
25
2734
aeea63c97878 Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents: 1092
diff changeset
26 extern void MPV_common_init_iwmmxt(MpegEncContext *s);
4340
268811f3f1ef Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
gpoirier
parents: 3947
diff changeset
27 extern void MPV_common_init_armv5te(MpegEncContext *s);
2734
aeea63c97878 Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents: 1092
diff changeset
28
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
29 void MPV_common_init_armv4l(MpegEncContext *s)
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
30 {
2734
aeea63c97878 Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents: 1092
diff changeset
31 #ifdef HAVE_IWMMXT
aeea63c97878 Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents: 1092
diff changeset
32 MPV_common_init_iwmmxt(s);
4340
268811f3f1ef Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
gpoirier
parents: 3947
diff changeset
33 #elif defined(HAVE_ARMV5TE)
268811f3f1ef Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
gpoirier
parents: 3947
diff changeset
34 MPV_common_init_armv5te(s);
2734
aeea63c97878 Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents: 1092
diff changeset
35 #endif
730
b24ea84b23e2 trying to fix the non-x86 IDCTs (untested)
michaelni
parents:
diff changeset
36 }