Browse Source

Merge commit '9ebd45c2d58ad9241ad09718679f0cf7fb57da52'

* commit '9ebd45c2d58ad9241ad09718679f0cf7fb57da52':
  configure: do not bypass cpuflags section if --cpu not given
  dct-test: arm: indicate required cpu features for optimised funcs
  snow: fix build after 594d4d5df3
  arm: fix use of uninitialised value in ff_fft_fixed_init_arm()
  avpicture: Don't assume a valid pix fmt in avpicture_get_size

Conflicts:
	libavcodec/avpicture.c
	libavcodec/snow.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
7181806dc1
4 changed files with 10 additions and 10 deletions
  1. +5
    -6
      configure
  2. +1
    -1
      libavcodec/arm/fft_fixed_init_arm.c
  3. +3
    -3
      libavcodec/dct-test.c
  4. +1
    -0
      libavcodec/snowenc.c

+ 5
- 6
configure View File

@@ -2806,10 +2806,7 @@ is_in $arch $ARCH_LIST || warn "unknown architecture $arch"
enable $arch

# Add processor-specific flags
if test "$cpu" = generic; then
: do nothing

elif enabled aarch64; then
if enabled aarch64; then

case $cpu in
armv*)
@@ -2984,8 +2981,10 @@ elif enabled x86; then

fi

add_cflags $cpuflags
add_asflags $cpuflags
if [ "$cpu" != generic ]; then
add_cflags $cpuflags
add_asflags $cpuflags
fi

# compiler sanity check
check_exec <<EOF


+ 1
- 1
libavcodec/arm/fft_fixed_init_arm.c View File

@@ -36,7 +36,7 @@ av_cold void ff_fft_fixed_init_arm(FFTContext *s)
s->fft_calc = ff_fft_fixed_calc_neon;

#if CONFIG_MDCT
if (!s->inverse && s->mdct_bits >= 5) {
if (!s->inverse && s->nbits >= 3) {
s->mdct_permutation = FF_MDCT_PERM_INTERLEAVE;
s->mdct_calc = ff_mdct_fixed_calc_neon;
s->mdct_calcw = ff_mdct_fixed_calcw_neon;


+ 3
- 3
libavcodec/dct-test.c View File

@@ -147,13 +147,13 @@ static const struct algo idct_tab[] = {
{ "INT-ARM", ff_j_rev_dct_arm, MMX_PERM },
#endif
#if HAVE_ARMV5TE
{ "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM },
{ "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM, AV_CPU_FLAG_ARMV5TE },
#endif
#if HAVE_ARMV6
{ "SIMPLE-ARMV6", ff_simple_idct_armv6, MMX_PERM },
{ "SIMPLE-ARMV6", ff_simple_idct_armv6, MMX_PERM, AV_CPU_FLAG_ARMV6 },
#endif
#if HAVE_NEON
{ "SIMPLE-NEON", ff_simple_idct_neon, PARTTRANS_PERM },
{ "SIMPLE-NEON", ff_simple_idct_neon, PARTTRANS_PERM, AV_CPU_FLAG_NEON },
#endif

#if ARCH_ALPHA


+ 1
- 0
libavcodec/snowenc.c View File

@@ -24,6 +24,7 @@
#include "avcodec.h"
#include "internal.h"
#include "dsputil.h"
#include "internal.h"
#include "dwt.h"
#include "snow.h"



Loading…
Cancel
Save