Enable VP8 & VP9 decoder and add patch related with VP8 & VP9 14/132814/1 accepted/tizen/4.0/unified/20170816.010350 accepted/tizen/unified/20170613.194539 submit/tizen/20170613.070158 submit/tizen_4.0/20170811.094300
authorJiyong Min <jiyong.min@samsung.com>
Tue, 24 Jan 2017 06:23:20 +0000 (15:23 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Wed, 7 Jun 2017 22:36:47 +0000 (22:36 +0000)
[Enable]
--enable-parser=vp8 --enable-decoder=vp8 --enable-decoder=vp9

[Patch]
arm: use a local label instead of the function symbol in ff_prefetch_arm
Avoids a relocation which might end out of range for thumb2.

Reported-By: Ludovic Fauvet <etix@videolan.org>
Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022
CC: libav-stable@libav.org
Change-Id: Id4c2acac8f150f81df654fffccde6433d68869ff
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
(cherry picked from commit cd3ed69efc06591c75a0a3fd62a28092791cd72d)

libavcodec/arm/videodsp_armv5te.S
packaging/libav.spec

index bbd0a61..0510019 100644 (file)
 #include "libavutil/arm/asm.S"
 
 function ff_prefetch_arm, export=1
+1:
         subs            r2,  r2,  #1
         pld             [r0]
         add             r0,  r0,  r1
-        bne             X(ff_prefetch_arm)
+        bne             1b
         bx              lr
 endfunc
index 865c665..ce3af33 100755 (executable)
@@ -141,6 +141,12 @@ export CONFIGURE_OPTIONS="--enable-shared    --disable-static   \
 --enable-fft    --enable-rdft   --enable-mdct   --enable-neon \
 %{?asan:--disable-inline-asm} \
 "
+
+%if 0%{?TIZEN_PRODUCT_TV}
+export CONFIGURE_OPTIONS+="--enable-parser=vp8   --enable-decoder=vp8          --enable-decoder=vp9 "
+%else
+%endif
+
 %ifarch %{arm} aarch64
 export CONFIGURE_OPTIONS+="--disable-mmx "
 %else