Statistics
| Branch: | Revision:

ffmpeg / libavutil @ 80a07f6e

# Date Author Comment
80a07f6e 01/30/2010 06:50 PM Stefano Sabatini

Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().

Originally committed as revision 21545 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c88973a 01/29/2010 03:26 AM Måns Rullgård

Add AV_COPY32

Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk

788627de 01/29/2010 03:26 AM Måns Rullgård

Define av_alias if supported by compiler

Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk

4ae40685 01/28/2010 01:06 PM Måns Rullgård

Add --malloc-prefix to apply a prefix to malloc, free etc

This makes it easy to use a replacement allocator instead of the
system default one.

Originally committed as revision 21509 to svn://svn.ffmpeg.org/ffmpeg/trunk

87fec35d 01/27/2010 05:38 PM Måns Rullgård

Add macro AV_JOIN() for joining two tokens into one

Originally committed as revision 21482 to svn://svn.ffmpeg.org/ffmpeg/trunk

34e52abb 01/22/2010 03:25 AM Måns Rullgård

DECLARE_ALIGNED macro for TMS470 compiler

This compiler supports gcc-style alignment attributes for struct,
but not for global variables. For the latter, alignment can be
specified with a pragma, which does not work for struct members or
local variables. By using both pragma and attribute, one or the...

d408b77a 01/22/2010 03:25 AM Måns Rullgård

Add an AV_PRAGMA() macro for constructing _Pragma() directives

The seemingly equivalent _Pragma(AV_STRINGIFY(x)) is not accepted
by some compilers.

Originally committed as revision 21378 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6727809 01/22/2010 03:25 AM Måns Rullgård

Move array specifiers outside DECLARE_ALIGNED() invocations

Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a24e98d 01/21/2010 12:59 PM Måns Rullgård

Make DECLARE_ALIGNED macros work with external array specifiers

The macro implementation might need the name of the variable being
declared for compiler-specific syntax. Moving array specifiers outside
the macro invocation allows this to work.

Originally committed as revision 21363 to svn://svn.ffmpeg.org/ffmpeg/trunk

92c6a099 01/20/2010 06:54 PM Laurent Aimar

H264 DXVA2 implementation

It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.
To compile it, you need to have the system header dxva2api.h (either from...
5e7dfb7d 01/20/2010 06:01 AM Måns Rullgård

Move COPY3_IF_LT to lavc/mathops.h

This obscure macro is only used in motion_est.c so having it in lavc
makes more sense. See discussion here:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html

Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk

75fb5c24 01/19/2010 11:25 PM Måns Rullgård

Move FASTDIV macro to intmath.h

Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk

1d52b4b3 01/19/2010 04:40 AM Måns Rullgård

Use avconfig.h in pixfmt.h

Originally committed as revision 21322 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3e02a8c 01/19/2010 04:40 AM Måns Rullgård

Create and install libavutil/avconfig.h

This file contains a safe subset of the config.h settings.
Only bigendian is included for now, more can be added as
need arises.

Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk

f6d03906 01/18/2010 10:24 AM Alexander Strange

Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.

Add x86 implementation using MMX/SSE.

Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk

bdd19e29 01/18/2010 01:35 AM Måns Rullgård

Mark all intreadwrite functions av_always_inline

Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk

3f37ab8e 01/17/2010 02:17 PM Reimar Döffinger

Make sure we do not export incorrect _NE pixformat descriptions by either
including config.h if available or not defining them if it isn't.

Originally committed as revision 21262 to svn://svn.ffmpeg.org/ffmpeg/trunk

c2521027 01/17/2010 12:47 PM Måns Rullgård

Add missing parens in AV_WN macros

Originally committed as revision 21260 to svn://svn.ffmpeg.org/ffmpeg/trunk

a482e61b 01/16/2010 04:49 AM Måns Rullgård

Add symbol versioning for shared libraries

Based on patch by Reinhard Tartler <siretart tauware de>

Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk

06cb7a1c 01/16/2010 01:27 AM Vitor Sessak

Use macros instead of inline functions to replace the following missing C99
functions: exp2, exp2f, log2, log2f.

Should fix compilation in systems where these functions are defined in math.h
but not implemented.

Originally committed as revision 21231 to svn://svn.ffmpeg.org/ffmpeg/trunk

544f5a92 01/14/2010 07:58 PM Måns Rullgård

Optimise av_log2 with clz when available

10% faster flac decoding on x86 and ARM.

Originally committed as revision 21217 to svn://svn.ffmpeg.org/ffmpeg/trunk

6b7c7703 01/12/2010 02:19 AM Vitor Sessak

Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.

Should fix build breakage on some platforms introduced in r21125.

Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk

41600690 01/03/2010 02:31 PM Stefano Sabatini

Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
XXX_license() functions, consistent with the rest of FFmpeg.

Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk

702d0a9e 01/01/2010 12:28 PM Stefano Sabatini

Remove residual use of the doxygen markup which is deprecated,
consistent with r19122.

Originally committed as revision 20989 to svn://svn.ffmpeg.org/ffmpeg/trunk

bac24dd2 12/27/2009 02:40 PM Michael Niedermayer

2nd try on documenting av_gcd().

Originally committed as revision 20939 to svn://svn.ffmpeg.org/ffmpeg/trunk

03703cb3 12/27/2009 12:20 PM Michael Niedermayer

Document av_gcd().

Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3e88ae8 12/14/2009 01:15 AM Michael Niedermayer

Place { of the function where indent -kr wants it.
Also more consistent with the rest of the code.

Originally committed as revision 20851 to svn://svn.ffmpeg.org/ffmpeg/trunk

64b12fc3 12/13/2009 06:42 PM Michael Niedermayer

Move #include where it belongs.
This as a sideeffect fixes the linking failure of ffplay.

Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk

277c7332 12/13/2009 05:09 PM Michael Niedermayer

Add a function to convert a number to a av_malloced string.

Originally committed as revision 20829 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ba69a15 12/12/2009 04:24 PM Stefano Sabatini

Implement av_bmg_next(), a Box-Muller Gaussian random generator.

See the thread:
"[FFmpeg-devel] [PATCH] Box-Muller gaussian generator".

Originally committed as revision 20808 to svn://svn.ffmpeg.org/ffmpeg/trunk

e244f54e 12/03/2009 06:15 PM Ramiro Polla

Make av_log_level static at next lavu major version bump.

Originally committed as revision 20721 to svn://svn.ffmpeg.org/ffmpeg/trunk

382cb115 11/26/2009 08:58 PM Stefano Sabatini

Make av_pix_fmt_descriptors use the same pixel format names as defined
in libavcodec/imgconvert.c.

Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.

Originally committed as revision 20624 to svn://svn.ffmpeg.org/ffmpeg/trunk

74a0059f 11/24/2009 11:33 PM Stefano Sabatini

Make the pixdesc API public.

Originally committed as revision 20603 to svn://svn.ffmpeg.org/ffmpeg/trunk

60fa9568 11/23/2009 08:14 PM Stefano Sabatini

Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.

Originally committed as revision 20592 to svn://svn.ffmpeg.org/ffmpeg/trunk

357561e7 11/18/2009 10:32 PM Stefano Sabatini

Clarify relations between log2_chroma_w, log2_chroma_h and comp.

Originally committed as revision 20550 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1736936 11/18/2009 05:15 PM Diego Biurrun

Add functions to return library license and library configuration.

Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk

b8873c2a 11/18/2009 12:07 AM Stefano Sabatini

Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
is more clear and lexically more consistent with API and
documentation.

Originally committed as revision 20545 to svn://svn.ffmpeg.org/ffmpeg/trunk

b154ed5a 11/14/2009 07:15 PM Michael Niedermayer

Fix indention after last commit.

Originally committed as revision 20538 to svn://svn.ffmpeg.org/ffmpeg/trunk

edabf359 11/14/2009 07:14 PM Michael Niedermayer

Fix crash with av_tree_enumerate(NULL).

Originally committed as revision 20537 to svn://svn.ffmpeg.org/ffmpeg/trunk

1bf83b95 11/14/2009 11:19 AM Michael Niedermayer

Make sure av_tree_enumerate() enumerates left->right.

Originally committed as revision 20535 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd6308ad 11/11/2009 12:02 AM Carl Eugen Hoyos

Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.

Originally committed as revision 20509 to svn://svn.ffmpeg.org/ffmpeg/trunk

70e0c871 11/10/2009 06:52 PM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fc58b1e 11/10/2009 12:59 PM Reimar Döffinger

Remove code checking for PIC or pic and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk

91cc5d37 11/09/2009 09:11 AM Francesco Lavra

Move ff_reverse in libavcodec to av_reverse in libavutil.

Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fa70a3b 11/05/2009 11:45 PM Stefano Sabatini

Add pixel format descriptors for the HW-accelerated formats.

This completes the list of all descriptors in av_pix_fmt_descriptors.

Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk

d71ad089 11/02/2009 08:23 PM Stefano Sabatini

Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.

Originally committed as revision 20434 to svn://svn.ffmpeg.org/ffmpeg/trunk

51135d1d 10/27/2009 08:56 PM Stefano Sabatini

Move pixdesc.{h,c} from libavcodec to libavutil.

This way pixdescs can be used without requiring a dependency on
libavcodec.

Originally committed as revision 20389 to svn://svn.ffmpeg.org/ffmpeg/trunk

20c68378 09/23/2009 06:22 PM Anton Khirnov

id3v2: Add support for UTF-16 encoding.
patch by Anton Khirnov, wyskas gmail com

Originally committed as revision 20006 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a918c08 09/21/2009 03:01 AM Loren Merritt

extend ff_inverse[], and fix its documentation

Originally committed as revision 19942 to svn://svn.ffmpeg.org/ffmpeg/trunk

46f3b40e 09/09/2009 09:00 PM Reimar Döffinger

Add warnings to av_strlcat and av_strlcpy doxygen that the input strings
already must be properly 0-terminated strings. Unlike strncpy it
cannot be used on raw data read from a file.

Originally committed as revision 19800 to svn://svn.ffmpeg.org/ffmpeg/trunk

d31dbec3 09/06/2009 12:08 AM Ramiro Polla

Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
parameters.

Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk

35f6c154 09/05/2009 11:33 PM Lars Täuber

Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.

Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ce6934e 09/04/2009 04:59 PM Ramiro Polla

Add a newline in error message in CHECKED_ALLOC(Z).

Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk

ee155011 09/01/2009 04:00 PM Diego Biurrun

whitespace cosmetics, prettyprinting

Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6dbbc45 08/30/2009 03:50 PM Thilo Borgmann

Add function to compute ceil(log2(x)).
Patch by Thilo Borgmann <thilo.borgmann at googlemail.com>

Originally committed as revision 19747 to svn://svn.ffmpeg.org/ffmpeg/trunk

e48a0966 08/29/2009 10:38 PM Ramiro Polla

Add CHECKED_ALLOC macro.
It works the same as CHECKED_ALLOCZ except that it does not zero the allocated
memory.

Originally committed as revision 19742 to svn://svn.ffmpeg.org/ffmpeg/trunk

d691da95 08/17/2009 12:15 AM Måns Rullgård

AVR32: optimisations for intreadwrite.h

Originally committed as revision 19665 to svn://svn.ffmpeg.org/ffmpeg/trunk

e482c2e2 08/17/2009 12:15 AM Måns Rullgård

AVR32: inline asm for bswap.h

Originally committed as revision 19664 to svn://svn.ffmpeg.org/ffmpeg/trunk

9dc6bb7b 08/16/2009 06:43 PM Måns Rullgård

MIPS: 100L: fix AV_[RW]N64 on MIPS64

Originally committed as revision 19660 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a051891 08/16/2009 06:06 PM Måns Rullgård

cosmetics: reformat intreadwrite.h

Originally committed as revision 19659 to svn://svn.ffmpeg.org/ffmpeg/trunk

63826ceb 08/16/2009 03:51 PM Måns Rullgård

intreadwrite: ensure arch-specific versions are always used if defined

The per-arch headers can define any combination of B/L/N variants.
This ensures that whatever is defined in an arch header gets used
for all equivalents not defined there. E.g. on a little-endian...

57c36bdc 08/16/2009 03:51 PM Måns Rullgård

intreadwrite: allow arch-specific 24-bit access macros

Originally committed as revision 19657 to svn://svn.ffmpeg.org/ffmpeg/trunk

e6956a6e 08/16/2009 03:51 PM Måns Rullgård

ARM: first value loaded in AV_RN64 needs to be early-clobber

Originally committed as revision 19656 to svn://svn.ffmpeg.org/ffmpeg/trunk

f51fb686 08/13/2009 06:47 PM Ramiro Polla

Introduce av_clip_uint16().

Originally committed as revision 19636 to svn://svn.ffmpeg.org/ffmpeg/trunk

3d7b15e4 08/10/2009 01:42 PM Diego Biurrun

Remove disabled code cruft.

Originally committed as revision 19616 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd41c06f 08/10/2009 01:27 AM Måns Rullgård

Define INFINITIY and NAN in mathematics.h if missing

Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk

75af0749 07/30/2009 09:58 PM Diego Biurrun

Revert addition of '#undef av_always_inline' to config.h in the small case.
Instead, #include config.h at the top of common.h so that av_always_inline
does not get doubly defined.

Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk

8b4e7c28 07/30/2009 09:21 PM Diego Biurrun

Mark conditionally used variable T2 as av_unused; avoids the warning:
libavutil/sha.c:183: warning: unused variable `T2'

Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk

b6ec1f47 07/29/2009 07:06 PM Måns Rullgård

PPC: fix asm operand constraints in AV_RL64

The target register of first word loaded must be marked early-clobber.

Originally committed as revision 19536 to svn://svn.ffmpeg.org/ffmpeg/trunk

63613fe6 07/26/2009 12:20 PM Måns Rullgård

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk

e7ea5e3d 07/17/2009 08:21 AM Måns Rullgård

Check for attribute((packed)) support

Not all compilers claiming to be gcc support this attribute.

Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk

87d718ae 07/17/2009 04:30 AM Kostya Shishkov

cosmetics: reindent after last commit

Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa5a99ae 07/17/2009 04:30 AM Kostya Shishkov

Add SHA-2 hashing

Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk

68485d27 07/12/2009 11:30 AM Stefano Sabatini

Remove useless definition of struct AVCLASS.

Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk

291fd18a 07/10/2009 07:20 PM Alex Converse

Add a log2 replacement for systems that haven't quite caught up with the C99
standard library.

Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk

451ae257 07/10/2009 03:50 PM Kostya Shishkov

Prepare SHA code to handle SHA-2 as well. For now rename files and functions
and leave av_sha1_* functions for compatibility until next major bump.

Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk

0d73abb8 07/09/2009 07:29 AM Kostya Shishkov

Rename function to sha1_transform so it won't be confused with SHA-2 transform
when it's added.

Originally committed as revision 19389 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c6361e0 07/09/2009 07:23 AM Kostya Shishkov

Use pointer to hash transform function to make adding SHA-2 support easier.

Originally committed as revision 19388 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a7c6507 07/09/2009 07:15 AM Kostya Shishkov

cosmetics: vertical align AVSHA1 members

Originally committed as revision 19387 to svn://svn.ffmpeg.org/ffmpeg/trunk

01cc6288 07/09/2009 07:14 AM Kostya Shishkov

Extend AVSHA1 so it can be used in future SHA-2 code as well

Originally committed as revision 19386 to svn://svn.ffmpeg.org/ffmpeg/trunk

4364fc9a 07/09/2009 07:07 AM Kostya Shishkov

Document SHA-1 functions and structures

Originally committed as revision 19385 to svn://svn.ffmpeg.org/ffmpeg/trunk

16c2e214 07/09/2009 02:20 AM Ramiro Polla

Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to
lavu/mem.h.

Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk

4b2be143 07/09/2009 02:18 AM Ramiro Polla

Do not throw compiler error if asm code needs alignment, but we do not know
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.

Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk

300ad6c1 07/01/2009 12:55 AM Måns Rullgård

ARM: use gcc inline asm in bswap.h only when available

Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3a55b78 06/28/2009 06:28 PM Carl Eugen Hoyos

Icc does not support attribute flatten, do not try to use it.

Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk

06be9d9d 06/27/2009 08:34 AM Carl Eugen Hoyos

Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.

Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk

d468ff0f 06/12/2009 02:13 AM Jeff Downs

Fix cast of byte buffer to uint32 that was disregarding alignment
requirements.
Now calculates crc byte at a time until aligned, then continues with uint32
optimized calculation.
This fixes crashes during mlp decoding on sparc (at least, maybe others).

Originally committed as revision 19160 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ef37cd5 06/11/2009 10:16 AM Diego Biurrun

cosmetics: Reformat file to K&R style upon Kostya's request.

Originally committed as revision 19154 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d58d471 06/09/2009 07:18 AM Diego Biurrun

cosmetics: Add missing ending backslash to installed header list.

Originally committed as revision 19135 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf7e799c 06/06/2009 09:35 AM Stefano Sabatini

Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.

See the thread: "[RFC] Should we use doxygen markup?".

Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk

530456bf 05/28/2009 11:19 PM Måns Rullgård

MIPS: inline asm for intreadwrite.h

Originally committed as revision 18980 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d9beec7 05/25/2009 01:50 AM Ramiro Polla

Add LABEL_MANGLE() to export label symbols from inside asm blocks.

Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk

ef516f73 05/22/2009 09:32 PM David Conrad

Move ALIGN macro to libavutil/common.h and use it in various places

Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a79e51c 05/09/2009 11:02 PM Stefano Sabatini

Add @code/@endcode commands to markup C code in av_tree_insert() doxy.

Originally committed as revision 18776 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c5a4ea2 05/09/2009 11:00 PM Stefano Sabatini

Add missing '*' to av_tree_insert() doxy.

Originally committed as revision 18775 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ee51c55 04/22/2009 02:29 AM Michael Niedermayer

Fix 10l typo (usage of PIX_FMT_NE()).
Should fix FATE, i forgot to commit this.

Originally committed as revision 18656 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c2a8608 04/21/2009 01:02 AM Michael Niedermayer

Add 420,422 and 444 planar 16bit per component pix formats.

Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc078b5d 04/18/2009 01:57 PM Måns Rullgård

PPC: check for x-form asm constraint support

Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f5ff83f 04/18/2009 12:00 AM Måns Rullgård

PPC asm for AV_RL*()

PPC is normally big endian but has special little endian load/store
instructions. Using these avoids a separate byteswap. This makes the
vorbis decoder about 5% faster. Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses...

3c55ce03 04/18/2009 12:00 AM Måns Rullgård

ARM asm for AV_RN*()

ARMv6 and later support unaligned loads and stores for single
word/halfword but not double/multiple. GCC is ignorant of this and
will always use bytewise accesses for unaligned data. Casting to an
int32_t pointer is dangerous since a load/store double or multiple...