History

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 594d4d5df3c70404168701dd5c90b7e6e5587793 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

Michael Niedermayer committed 13 years ago

Commit 71818062 parents 8ee14aa 9ebd45c4 files · +10 −10Browse files

Unified · Split

4 files
  1. configure +5 −6
  2. libavcodec/arm/fft_fixed_init_arm.c +1 −1
  3. libavcodec/dct-test.c +3 −3
  4. libavcodec/snowenc.c +1 −0
configure+5−6
@@ -2806,10 +2806,7 @@ is_in $arch $ARCH_LIST || warn "unknown architecture $arch" · 2805 unmodified lines
28062806 enable $arch
28072807
28082808 # Add processor-specific flags
2809−if test "$cpu" = generic; then
2810− : do nothing
2811−
2812−elif enabled aarch64; then
2809+if enabled aarch64; then
28132810
28142811 case $cpu in
28152812 armv*)
@@ -2984,8 +2981,10 @@ elif enabled x86; then · 168 unmodified lines
29842981
29852982 fi
29862983
2987−add_cflags $cpuflags
2988−add_asflags $cpuflags
2984+if [ "$cpu" != generic ]; then
2985+ add_cflags $cpuflags
2986+ add_asflags $cpuflags
2987+fi
29892988
29902989 # compiler sanity check
29912990 check_exec <<EOF
libavcodec/arm/fft_fixed_init_arm.c+1−1
@@ -36,7 +36,7 @@ av_cold void ff_fft_fixed_init_arm(FFTContext *s) · 35 unmodified lines
3636 s->fft_calc = ff_fft_fixed_calc_neon;
3737
3838 #if CONFIG_MDCT
39− if (!s->inverse && s->mdct_bits >= 5) {
39+ if (!s->inverse && s->nbits >= 3) {
4040 s->mdct_permutation = FF_MDCT_PERM_INTERLEAVE;
4141 s->mdct_calc = ff_mdct_fixed_calc_neon;
4242 s->mdct_calcw = ff_mdct_fixed_calcw_neon;
libavcodec/dct-test.c+3−3
@@ -147,13 +147,13 @@ static const struct algo idct_tab[] = { · 146 unmodified lines
147147 { "INT-ARM", ff_j_rev_dct_arm, MMX_PERM },
148148 #endif
149149 #if HAVE_ARMV5TE
150− { "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM },
150+ { "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM, AV_CPU_FLAG_ARMV5TE },
151151 #endif
152152 #if HAVE_ARMV6
153− { "SIMPLE-ARMV6", ff_simple_idct_armv6, MMX_PERM },
153+ { "SIMPLE-ARMV6", ff_simple_idct_armv6, MMX_PERM, AV_CPU_FLAG_ARMV6 },
154154 #endif
155155 #if HAVE_NEON
156− { "SIMPLE-NEON", ff_simple_idct_neon, PARTTRANS_PERM },
156+ { "SIMPLE-NEON", ff_simple_idct_neon, PARTTRANS_PERM, AV_CPU_FLAG_NEON },
157157 #endif
158158
159159 #if ARCH_ALPHA
libavcodec/snowenc.c+1−0
@@ -24,6 +24,7 @@ · 23 unmodified lines
2424 #include "avcodec.h"
2525 #include "internal.h"
2626 #include "dsputil.h"
27+#include "internal.h"
2728 #include "dwt.h"
2829 #include "snow.h"
2930

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t